-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
54 lines (51 loc) · 1.99 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "axoasset"
description = ">o_o<"
version = "1.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/axodotdev/axoasset"
[features]
# Default enable remote support
default = ["remote"]
# Enable SourceFile support for deserializing using the "toml" crate
toml-serde = ["toml", "serde"]
# Enable SourceFile support for deserializing using the "serde_json" crate
json-serde = ["serde_json", "serde"]
# Enable SourceFile support for deserializing using the "toml_edit" crate
toml-edit = ["toml_edit"]
# Enable reqwest-based http file fetching
remote = ["reqwest", "image"]
# On the off-chance native tls roots cause a problem, they can be opted out of
# by only using remote-min
tls-native-roots = ["reqwest/rustls-tls-native-roots"]
# Enable support for reading and writing zips and tarballs
compression = ["compression-tar", "compression-zip"]
# Enable support for reading and writing tarballs
compression-tar = ["flate2", "tar", "xz2", "zstd"]
# Enable support for reading and writing zips
compression-zip = ["zip"]
[dependencies]
image = { version = "0.25.4", default-features = false, optional = true }
mime = "0.3.16"
reqwest = { version = ">=0.11.0", optional = true, default-features = false, features = ["json", "rustls-tls-webpki-roots"] }
thiserror = "1.0.65"
url = "2.5.0"
miette = "7.0.0"
camino = "1.1.9"
toml = { version = "0.8.12", optional = true }
serde_json = { version = "1.0.132", optional = true }
serde = { version = "1.0.214", optional = true, features = ["derive"] }
tar = { version = "0.4.42", optional = true }
zip = { version = "0.6.4", optional = true }
flate2 = { version = "1.0.34", optional = true }
xz2 = { version = "0.1.7", optional = true, features = ["static"] }
zstd = { version = "0.13.0", optional = true }
toml_edit = { version = "0.22.22", optional = true }
walkdir = "2.5.0"
lazy_static = "1.5.0"
[dev-dependencies]
assert_fs = "1"
tokio = {version = "1.24", features = ["macros"]}
wiremock = "0.6"
clap = { version = "4.5.20", features = ["derive"] }