# 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 = "geckopanda" version = "0.2.0" authors = ["Ariel Horwitz "] description = "Save and load files from local disk, Google Drive, or Amazon S3." documentation = "https://docs.rs/geckopanda/0.2.0/geckopanda" readme = "README.md" license = "Unlicense" repository = "https://github.com/ArielHorwitz/geckopanda" [[example]] name = "localdisk" path = "examples/localdisk.rs" required-features = ["localdisk"] [[example]] name = "google-drive" path = "examples/google_drive.rs" required-features = ["google-drive"] [[example]] name = "amazon-s3" path = "examples/amazon_s3.rs" required-features = ["amazon-s3"] [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1.73" [dependencies.google-drive3] version = "5.0.2" optional = true [dependencies.mime] version = "0.3.17" optional = true [dependencies.rust-s3] version = "0.33" optional = true [dependencies.serde] version = "1.0.188" features = ["derive"] optional = true [dependencies.tempfile] version = "3.7.1" optional = true [dependencies.tokio] version = "1" features = ["full"] [dependencies.toml] version = "0.7.6" optional = true [dependencies.webbrowser] version = "0.8.11" optional = true [features] amazon-s3 = [ "dep:rust-s3", "dep:toml", "dep:serde", ] default = [ "localdisk", "google-drive", "amazon-s3", ] google-drive = [ "dep:google-drive3", "dep:webbrowser", "dep:tempfile", "dep:mime", ] localdisk = []