diff --git a/Cargo.lock b/Cargo.lock index 428d277e..76801f0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index baa39bef..4359bf2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/libs/gotrue/Cargo.toml b/libs/gotrue/Cargo.toml index c67cdbca..666f68ee 100644 --- a/libs/gotrue/Cargo.toml +++ b/libs/gotrue/Cargo.toml @@ -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" } \ No newline at end of file diff --git a/libs/realtime/Cargo.toml b/libs/realtime/Cargo.toml index 4cdbfacb..b329905a 100644 --- a/libs/realtime/Cargo.toml +++ b/libs/realtime/Cargo.toml @@ -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"