# 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 = "axoasset" version = "1.0.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = ">o_o<" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/axodotdev/axoasset" [lib] name = "axoasset" path = "src/lib.rs" [[example]] name = "compress" path = "examples/compress.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "local_copy" path = "tests/local_copy.rs" [[test]] name = "local_load" path = "tests/local_load.rs" [[test]] name = "local_new" path = "tests/local_new.rs" [[test]] name = "local_remove" path = "tests/local_remove.rs" [[test]] name = "local_write" path = "tests/local_write.rs" [[test]] name = "remote_copy" path = "tests/remote_copy.rs" [[test]] name = "remote_load" path = "tests/remote_load.rs" [[test]] name = "remote_write" path = "tests/remote_write.rs" [[test]] name = "source" path = "tests/source.rs" [dependencies.camino] version = "1.1.9" [dependencies.flate2] version = "1.0.34" optional = true [dependencies.image] version = "0.25.4" optional = true default-features = false [dependencies.lazy_static] version = "1.5.0" [dependencies.miette] version = "7.0.0" [dependencies.mime] version = "0.3.16" [dependencies.reqwest] version = ">=0.11.0" features = [ "json", "rustls-tls-webpki-roots", ] optional = true default-features = false [dependencies.serde] version = "1.0.214" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.132" optional = true [dependencies.tar] version = "0.4.42" optional = true [dependencies.thiserror] version = "1.0.65" [dependencies.toml] version = "0.8.12" optional = true [dependencies.toml_edit] version = "0.22.22" optional = true [dependencies.url] version = "2.5.0" [dependencies.walkdir] version = "2.5.0" [dependencies.xz2] version = "0.1.7" features = ["static"] optional = true [dependencies.zip] version = "0.6.4" optional = true [dependencies.zstd] version = "0.13.0" optional = true [dev-dependencies.assert_fs] version = "1" [dev-dependencies.clap] version = "4.5.20" features = ["derive"] [dev-dependencies.tokio] version = "1.24" features = ["macros"] [dev-dependencies.wiremock] version = "0.6" [features] compression = [ "compression-tar", "compression-zip", ] compression-tar = [ "flate2", "tar", "xz2", "zstd", ] compression-zip = ["zip"] default = ["remote"] json-serde = [ "serde_json", "serde", ] remote = [ "reqwest", "image", ] tls-native-roots = ["reqwest/rustls-tls-native-roots"] toml-edit = ["toml_edit"] toml-serde = [ "toml", "serde", ]