@@ -7,19 +7,30 @@ license = "MIT OR Apache-2.0"
77repository = " https://github.com/axodotdev/axoasset"
88
99[features ]
10+ # Default enable remote support
1011default = [" remote" ]
12+ # Enable SourceFile support for deserializing using the "toml" crate
1113toml-serde = [" toml" , " serde" ]
14+ # Enable SourceFile support for deserializing using the "serde_json" crate
1215json-serde = [" serde_json" , " serde" ]
16+ # Enable SourceFile support for deserializing using the "toml_edit" crate
1317toml-edit = [" toml_edit" ]
18+ # Enable reqwest-based http file fetching
1419remote = [" reqwest" , " image" ]
20+ # On the off-chance native tls roots cause a problem, they can be opted out of
21+ # by only using remote-min
22+ tls-native-roots = [" reqwest/rustls-tls-native-roots" ]
23+ # Enable support for reading and writing zips and tarballs
1524compression = [" compression-tar" , " compression-zip" ]
25+ # Enable support for reading and writing tarballs
1626compression-tar = [" flate2" , " tar" , " xz2" , " zstd" ]
27+ # Enable support for reading and writing zips
1728compression-zip = [" zip" ]
1829
1930[dependencies ]
2031image = { version = " 0.25.1" , default-features = false , optional = true }
2132mime = " 0.3.16"
22- reqwest = { version = " >=0.11.0" , optional = true , default-features = false , features = [" json" , " rustls-tls" ] }
33+ reqwest = { version = " >=0.11.0" , optional = true , default-features = false , features = [" json" , " rustls-tls-webpki-roots " ] }
2334thiserror = " 1.0.37"
2435url = " 2.5.0"
2536miette = " 7.0.0"
0 commit comments