# 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 = "active-storage" version = "0.1.1" authors = ["Kaplan Elad "] description = "Active Storage facilitates uploading files to a cloud storage" documentation = "https://docs.rs/active-storage" readme = "README.md" keywords = [] license = "Apache-2.0" repository = "https://github.com/kaplanelad/active-storage" [[example]] name = "aws_s3" required-features = ["aws_s3"] [dependencies.async-trait] version = "0.1.77" [dependencies.aws-sdk-s3] version = "1.8.0" features = ["behavior-version-latest"] optional = true [dependencies.aws-smithy-runtime-api] version = "1.1.1" optional = true [dependencies.aws-smithy-types] version = "1.1.1" optional = true [dependencies.aws-types] version = "1.1.1" optional = true [dependencies.dyn-clone] version = "1.0.16" [dependencies.thiserror] version = "1.0.56" [dependencies.tokio] version = "1.35.1" features = ["fs"] optional = true default-features = false [dev-dependencies.dockertest-server] version = "0.1.7" features = ["cloud"] [dev-dependencies.insta] version = "1.34.0" features = ["filters"] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.rstest] version = "0.18.2" [dev-dependencies.tokio] version = "1.35.1" features = [ "rt-multi-thread", "rt", "macros", ] [dev-dependencies.tree-fs] version = "0.1.0" [features] aws_s3 = [ "dep:aws-sdk-s3", "dep:aws-types", "dep:aws-smithy-runtime-api", "dep:aws-smithy-types", ] default = [ "disk", "inmem", ] disk = [ "dep:tokio", "tokio/fs", ] inmem = []