# 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 = "oneio" version = "0.17.0" authors = ["Mingwei Zhang "] build = false autobins = false autoexamples = false autotests = false autobenches = false default-run = "oneio" description = """ OneIO is a Rust library that provides unified simple IO interface for reading and writing to and from data files from different sources and compressions. """ documentation = "https://docs.rs/oneio" readme = "README.md" keywords = [ "io", "util", "s3", "ftp", ] license = "MIT" repository = "https://github.com/bgpkit/oneio" [package.metadata.binstall] pkg-fmt = "tgz" pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz" [lib] name = "oneio" path = "src/lib.rs" [[bin]] name = "oneio" path = "src/bin/oneio.rs" required-features = ["cli"] [[example]] name = "read_csv_in_tar" path = "examples/read_csv_in_tar.rs" [[example]] name = "s3_operations" path = "examples/s3_operations.rs" required-features = ["s3"] [[test]] name = "oneio_test" path = "tests/oneio_test.rs" [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.clap] version = "4.4" features = ["derive"] optional = true [dependencies.dotenvy] version = "0.15" [dependencies.flate2] version = "1" optional = true [dependencies.hex] version = "0.4" optional = true [dependencies.lz4] version = "1.24" optional = true [dependencies.reqwest] version = "0.12" features = [ "blocking", "http2", "charset", ] optional = true default-features = false [dependencies.ring] version = "0.17" optional = true [dependencies.rust-s3] version = "0.34.0-rc4" features = ["sync"] optional = true default-features = false [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.suppaftp] version = "6.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" optional = true [dependencies.xz2] version = "0.1" optional = true [dependencies.zstd] version = "0.13.2" optional = true [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tar] version = "0.4" [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" [features] bz = ["bzip2"] cli = [ "lib-core", "rustls", "s3", "digest", "clap", "tracing", ] compressions = [ "gz", "bz", "lz", "xz", "zstd", ] default = [ "lib-core", "rustls", ] digest = [ "ring", "hex", ] gz = ["flate2"] json = [ "serde", "serde_json", ] lib-core = [ "remote", "compressions", "json", ] lz = ["lz4"] native-tls = [ "reqwest?/default-tls", "suppaftp?/native-tls", "rust-s3?/sync-native-tls", ] remote = [ "reqwest", "suppaftp", ] rustls = [ "reqwest?/rustls-tls", "suppaftp?/rustls", "rust-s3?/sync-rustls-tls", ] s3 = ["rust-s3"] xz = ["xz2"] zstd = ["dep:zstd"]