# 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 = "mcs3" version = "0.1.2" description = "Rust library for working with AWS S3 and compatible object storage APIs" readme = "README.md" license = "MIT OR Apache-2.0" [lib] name = "s3" path = "src/lib.rs" [dependencies.async-std] version = "1" optional = true [dependencies.async-trait] version = "0.1" [dependencies.attohttpc] version = "0.22" optional = true default-features = false [dependencies.aws-creds] version = "0.34.1" default-features = false [dependencies.aws-region] version = "0.25.1" [dependencies.base64] version = "0.13" [dependencies.block_on_proc] version = "0.2" optional = true [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1" [dependencies.futures] version = "0.3" optional = true [dependencies.futures-io] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" features = ["io"] optional = true [dependencies.hex] version = "0.4" [dependencies.hmac] version = "0.12" [dependencies.http] version = "0.2" [dependencies.log] version = "0.4" [dependencies.maybe-async] version = "0.2" [dependencies.md5] version = "0.7" [dependencies.minidom] version = "0.15" optional = true [dependencies.percent-encoding] version = "2" [dependencies.quick-xml] version = "0.26.0" features = ["serialize"] [dependencies.reqwest] version = "0.11" features = [ "json", "stream", ] optional = true default-features = false [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.sha2] version = "0.10" [dependencies.surf] version = "2" features = ["h1-client-rustls"] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.time] version = "^0.3.6" features = [ "formatting", "macros", ] [dependencies.tokio] version = "1" features = ["io-util"] optional = true default-features = false [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.url] version = "2" [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "macros", "fs", ] [dev-dependencies.uuid] version = "1" features = ["v4"] [features] async-std-native-tls = [ "with-async-std", "aws-creds/native-tls", ] blocking = [ "block_on_proc", "tokio/rt", "tokio/rt-multi-thread", ] default = [ "tags", "tokio-native-tls", "fail-on-err", ] fail-on-err = [] no-verify-ssl = [] sync = [ "attohttpc", "maybe-async/is_sync", ] sync-native-tls = [ "sync", "aws-creds/native-tls", "attohttpc/tls", ] sync-native-tls-vendored = [ "sync", "aws-creds/native-tls-vendored", "attohttpc/tls-vendored", ] sync-rustls-tls = [ "sync", "aws-creds/rustls-tls", "attohttpc/tls-rustls", ] tags = ["minidom"] tokio-native-tls = [ "with-tokio", "reqwest/native-tls", "aws-creds/native-tls", ] tokio-rustls-tls = [ "with-tokio", "reqwest/rustls-tls", "aws-creds/rustls-tls", ] with-async-std = [ "async-std", "surf", "futures-io", "futures-util", "futures", ] with-tokio = [ "reqwest", "tokio", "tokio/fs", "tokio-stream", "futures", ]