# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "misc_utils" version = "4.2.5" authors = ["Jonas Bushart"] description = "A small collection of convenient and utility functions developed for personal use." documentation = "https://docs.rs/misc_utils/" readme = "README.md" keywords = [ "misc", "utils", "convenience", ] license = "Unlicense" repository = "https://github.com/jonasbb/rust_misc_utils" [package.metadata.docs.rs] all-features = true default-target = "x86_64-unknown-linux-gnu" [lib] name = "misc_utils" path = "src/lib.rs" [dependencies.bzip2] version = "0.4.1" optional = true [dependencies.flate2] version = "1.0" optional = true [dependencies.log] version = "0.4" [dependencies.num-traits] version = "0.2.6" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0.16" [dependencies.tokio] version = "1.17" optional = true default-features = false [dependencies.xz2] version = "0.1" optional = true [dev-dependencies.anyhow] version = "1.0.34" [dev-dependencies.expect-test] version = "1.2.2" [dev-dependencies.pretty_assertions] version = "1.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tempfile] version = "3.0" [dev-dependencies.version-sync] version = "0.9.2" [features] async-fs = [ "tokio", "tokio/fs", "tokio/rt", ] default = [ "file-gz", "file-xz", "jsonl", ] file-bz2 = ["bzip2"] file-gz = ["flate2"] file-xz = ["xz2"] jsonl = [ "serde", "serde_json", ]