|
|
|
@ -28,7 +28,7 @@ ruma = { git = "https://github.com/ruma/ruma", rev = "d614ad1422d6c4b3437ebc318c
|
|
|
|
|
# Async runtime and utilities
|
|
|
|
|
tokio = { version = "1.11.0", features = ["fs", "macros", "signal", "sync"] }
|
|
|
|
|
# Used for storing data permanently
|
|
|
|
|
sled = { version = "0.34.7", features = ["compression", "no_metrics"], optional = true }
|
|
|
|
|
#sled = { version = "0.34.7", features = ["compression", "no_metrics"], optional = true }
|
|
|
|
|
#sled = { git = "https://github.com/spacejam/sled.git", rev = "e4640e0773595229f398438886f19bca6f7326a2", features = ["compression"] }
|
|
|
|
|
persy = { version = "1.0.0", optional = true, features = ["background_ops"] }
|
|
|
|
|
|
|
|
|
@ -40,62 +40,62 @@ directories = "4.0.0"
|
|
|
|
|
# Used for ruma wrapper
|
|
|
|
|
serde_json = { version = "1.0.68", features = ["raw_value"] }
|
|
|
|
|
# Used for appservice registration files
|
|
|
|
|
serde_yaml = "0.8.21"
|
|
|
|
|
serde_yaml = "0.9.13"
|
|
|
|
|
# Used for pdu definition
|
|
|
|
|
serde = { version = "1.0.130", features = ["rc"] }
|
|
|
|
|
# Used for secure identifiers
|
|
|
|
|
rand = "0.8.4"
|
|
|
|
|
# Used to hash passwords
|
|
|
|
|
rust-argon2 = "0.8.3"
|
|
|
|
|
rust-argon2 = "1.0.0"
|
|
|
|
|
# Used to send requests
|
|
|
|
|
reqwest = { default-features = false, features = ["rustls-tls-native-roots", "socks"], git = "https://github.com/timokoesters/reqwest", rev = "57b7cf4feb921573dfafad7d34b9ac6e44ead0bd" }
|
|
|
|
|
# Used for conduit::Error type
|
|
|
|
|
thiserror = "1.0.29"
|
|
|
|
|
# Used to generate thumbnails for images
|
|
|
|
|
image = { version = "0.23.14", default-features = false, features = ["jpeg", "png", "gif"] }
|
|
|
|
|
image = { version = "0.24.4", default-features = false, features = ["jpeg", "png", "gif"] }
|
|
|
|
|
# Used to encode server public key
|
|
|
|
|
base64 = "0.13.0"
|
|
|
|
|
# Used when hashing the state
|
|
|
|
|
ring = "0.16.20"
|
|
|
|
|
# Used when querying the SRV record of other servers
|
|
|
|
|
trust-dns-resolver = "0.20.3"
|
|
|
|
|
trust-dns-resolver = "0.22.0"
|
|
|
|
|
# Used to find matching events for appservices
|
|
|
|
|
regex = "1.5.4"
|
|
|
|
|
# jwt jsonwebtokens
|
|
|
|
|
jsonwebtoken = "7.2.0"
|
|
|
|
|
jsonwebtoken = "8.1.1"
|
|
|
|
|
# Performance measurements
|
|
|
|
|
tracing = { version = "0.1.27", features = [] }
|
|
|
|
|
tracing-subscriber = "0.2.22"
|
|
|
|
|
tracing-flame = "0.1.0"
|
|
|
|
|
opentelemetry = { version = "0.16.0", features = ["rt-tokio"] }
|
|
|
|
|
opentelemetry-jaeger = { version = "0.15.0", features = ["rt-tokio"] }
|
|
|
|
|
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
|
|
|
|
|
tracing-flame = "0.2.0"
|
|
|
|
|
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
|
|
|
|
|
opentelemetry-jaeger = { version = "0.17.0", features = ["rt-tokio"] }
|
|
|
|
|
lru-cache = "0.1.2"
|
|
|
|
|
rusqlite = { version = "0.25.3", optional = true, features = ["bundled"] }
|
|
|
|
|
parking_lot = { version = "0.11.2", optional = true }
|
|
|
|
|
rusqlite = { version = "0.28.0", optional = true, features = ["bundled"] }
|
|
|
|
|
parking_lot = { version = "0.12.1", optional = true }
|
|
|
|
|
crossbeam = { version = "0.8.1", optional = true }
|
|
|
|
|
num_cpus = "1.13.0"
|
|
|
|
|
threadpool = "1.8.1"
|
|
|
|
|
heed = { git = "https://github.com/timokoesters/heed.git", rev = "f6f825da7fb2c758867e05ad973ef800a6fe1d5d", optional = true }
|
|
|
|
|
rocksdb = { version = "0.17.0", default-features = true, features = ["multi-threaded-cf", "zstd"], optional = true }
|
|
|
|
|
rocksdb = { version = "0.19.0", default-features = true, features = ["multi-threaded-cf", "zstd"], optional = true }
|
|
|
|
|
|
|
|
|
|
thread_local = "1.1.3"
|
|
|
|
|
# used for TURN server authentication
|
|
|
|
|
hmac = "0.11.0"
|
|
|
|
|
sha-1 = "0.9.8"
|
|
|
|
|
hmac = "0.12.1"
|
|
|
|
|
sha-1 = "0.10.0"
|
|
|
|
|
# used for conduit's CLI and admin room command parsing
|
|
|
|
|
clap = { version = "3.2.5", default-features = false, features = ["std", "derive"] }
|
|
|
|
|
clap = { version = "4.0.11", default-features = false, features = ["std", "derive"] }
|
|
|
|
|
futures-util = { version = "0.3.17", default-features = false }
|
|
|
|
|
# Used for reading the configuration from conduit.toml & environment variables
|
|
|
|
|
figment = { version = "0.10.6", features = ["env", "toml"] }
|
|
|
|
|
|
|
|
|
|
tikv-jemalloc-ctl = { version = "0.4.2", features = ["use_std"], optional = true }
|
|
|
|
|
tikv-jemallocator = { version = "0.4.1", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
|
|
|
|
|
tikv-jemalloc-ctl = { version = "0.5.0", features = ["use_std"], optional = true }
|
|
|
|
|
tikv-jemallocator = { version = "0.5.0", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
|
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
|
async-trait = "0.1.57"
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
default = ["conduit_bin", "backend_sqlite", "backend_rocksdb", "jemalloc"]
|
|
|
|
|
backend_sled = ["sled"]
|
|
|
|
|
default = ["conduit_bin", "backend_sqlite", "jemalloc"]
|
|
|
|
|
#backend_sled = ["sled"]
|
|
|
|
|
backend_persy = ["persy", "parking_lot"]
|
|
|
|
|
backend_sqlite = ["sqlite"]
|
|
|
|
|
backend_heed = ["heed", "crossbeam"]
|
|
|
|
|