chore: remove unused deps (#29)

* chore: remove unused deps

* tests: fix
This commit is contained in:
Nathan.fooo 2023-09-11 16:21:16 +08:00 committed by GitHub
parent 4e964677b3
commit d0fdde7bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 30 deletions

24
Cargo.lock generated
View File

@ -438,7 +438,6 @@ dependencies = [
"anyhow",
"argon2",
"assert-json-diff",
"bincode",
"bytes",
"chrono",
"client-api",
@ -446,9 +445,7 @@ dependencies = [
"collab-plugins",
"collab-ws",
"config",
"dashmap",
"derive_more",
"dotenv",
"fancy-regex",
"futures-util",
"gotrue",
@ -1115,19 +1112,6 @@ dependencies = [
"cipher",
]
[[package]]
name = "dashmap"
version = "5.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
dependencies = [
"cfg-if",
"hashbrown 0.14.0",
"lock_api",
"once_cell",
"parking_lot_core",
]
[[package]]
name = "data-encoding"
version = "2.4.0"
@ -1201,12 +1185,6 @@ dependencies = [
"syn 2.0.31",
]
[[package]]
name = "dotenv"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "dotenvy"
version = "0.15.7"
@ -2562,13 +2540,11 @@ dependencies = [
"collab-plugins",
"collab-sync-protocol",
"collab-ws",
"dashmap",
"futures-util",
"lib0",
"once_cell",
"parking_lot",
"reqwest",
"secrecy",
"serde",
"serde-aux",
"serde_json",

View File

@ -16,7 +16,6 @@ actix-identity = "0.5.2"
actix-cors = "0.6.4"
actix-session = { version = "0.7", features = ["redis-rs-tls-session"] }
openssl = "0.10.45"
dotenv = "0.15.0"
# serde
serde_json = "1.0"
@ -47,8 +46,6 @@ lazy_static = "1.4.0"
fancy-regex = "0.11.0"
validator = "0.16.0"
bytes = "1.4.0"
bincode = "1.3.3"
dashmap = "5.4"
rcgen = { version = "0.10.0", features = ["pem", "x509-parser"] }
jsonwebtoken = "8.3.0"
@ -78,6 +75,7 @@ collab-plugins = { version = "0.1.0", features = ["sync_plugin"] }
client-api = { path = "libs/client-api" }
tempfile = "3.4.0"
assert-json-diff = "2.0.2"
dotenv = "0.15.0"
[[bin]]
name = "appflowy_cloud"

View File

@ -11,5 +11,5 @@ serde_json = "1.0.105"
futures-util = "0.3.8"
anyhow = "1.0.75"
reqwest = { version = "0.11.20", default-features = false, features = ["json", "rustls-tls", "cookies"] }
tokio = { version = "1.0.1", features = ["sync"] }
tokio = { version = "1.0.1", features = ["sync", "macros"] }
infra = { path = "../infra" }

View File

@ -12,14 +12,12 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0.30"
bytes = "1.0"
secrecy = { version = "0.8", features = ["serde"] }
parking_lot = "0.12.1"
tracing = "0.1.25"
futures-util = "0.3.26"
tokio-util = { version = "0.7", features = ["codec"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tokio = { version = "1.26.0", features = ["net", "sync", "macros"] }
dashmap = "5.4.0"
async-trait = "0.1.73"
anyhow = "1.0.75"