Trim dependency features
This commit is contained in:
parent
12a9f2ec3c
commit
6884548cd0
2 changed files with 14 additions and 49 deletions
51
Cargo.lock
generated
51
Cargo.lock
generated
|
@ -78,7 +78,6 @@ dependencies = [
|
|||
"tokio",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"zstd",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -485,9 +484,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "brotli"
|
||||
version = "3.3.4"
|
||||
version = "3.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68"
|
||||
checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391"
|
||||
dependencies = [
|
||||
"alloc-no-stdlib",
|
||||
"alloc-stdlib",
|
||||
|
@ -496,9 +495,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "brotli-decompressor"
|
||||
version = "2.3.4"
|
||||
version = "2.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744"
|
||||
checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f"
|
||||
dependencies = [
|
||||
"alloc-no-stdlib",
|
||||
"alloc-stdlib",
|
||||
|
@ -543,7 +542,6 @@ version = "1.0.83"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
||||
dependencies = [
|
||||
"jobserver",
|
||||
"libc",
|
||||
]
|
||||
|
||||
|
@ -1264,15 +1262,6 @@ version = "1.0.9"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
|
||||
|
||||
[[package]]
|
||||
name = "jobserver"
|
||||
version = "0.1.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "jpeg-decoder"
|
||||
version = "0.3.0"
|
||||
|
@ -2441,7 +2430,6 @@ dependencies = [
|
|||
"serde_json",
|
||||
"sha2",
|
||||
"sqlx-core",
|
||||
"sqlx-mysql",
|
||||
"sqlx-sqlite",
|
||||
"syn 1.0.109",
|
||||
"tempfile",
|
||||
|
@ -2480,7 +2468,6 @@ dependencies = [
|
|||
"percent-encoding",
|
||||
"rand",
|
||||
"rsa",
|
||||
"serde",
|
||||
"sha1 0.10.5",
|
||||
"sha2",
|
||||
"smallvec",
|
||||
|
@ -3413,33 +3400,3 @@ name = "zeroize"
|
|||
version = "1.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9"
|
||||
|
||||
[[package]]
|
||||
name = "zstd"
|
||||
version = "0.12.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c"
|
||||
dependencies = [
|
||||
"zstd-safe",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zstd-safe"
|
||||
version = "6.0.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"zstd-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zstd-sys"
|
||||
version = "2.0.8+zstd.1.5.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
"pkg-config",
|
||||
]
|
||||
|
|
12
Cargo.toml
12
Cargo.toml
|
@ -10,7 +10,6 @@ ui = ["native-windows-gui", "native-windows-derive"]
|
|||
|
||||
[dependencies]
|
||||
actix-files = { version = "0.6" }
|
||||
actix-web = { version = "4" }
|
||||
actix-web-httpauth = { version = "0.8" }
|
||||
ape = "0.5"
|
||||
base64 = "0.21"
|
||||
|
@ -37,18 +36,27 @@ serde = { version = "1.0.147", features = ["derive"] }
|
|||
serde_derive = "1.0.147"
|
||||
serde_json = "1.0.87"
|
||||
simplelog = "0.12.0"
|
||||
sqlx = { version = "0.7.4", features = ["migrate", "runtime-tokio", "sqlite"] }
|
||||
thiserror = "1.0.37"
|
||||
tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] }
|
||||
toml = "0.7"
|
||||
ureq = "2.7"
|
||||
url = "2.3"
|
||||
|
||||
[dependencies.actix-web]
|
||||
version = "4"
|
||||
default-features = false
|
||||
features = ["macros", "compress-brotli", "compress-gzip"]
|
||||
|
||||
[dependencies.image]
|
||||
version = "0.24.4"
|
||||
default-features = false
|
||||
features = ["bmp", "gif", "jpeg", "png"]
|
||||
|
||||
[dependencies.sqlx]
|
||||
version = "0.7.4"
|
||||
default-features = false
|
||||
features = ["macros", "migrate", "runtime-tokio", "sqlite"]
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
native-windows-gui = { version = "1.0.13", default-features = false, features = [
|
||||
"cursor",
|
||||
|
|
Loading…
Add table
Reference in a new issue