54 lines
1.8 KiB
TOML
54 lines
1.8 KiB
TOML
[package]
|
|
name = "matrix-sdk-sled"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
description = "Sled Storage backend for matrix-sdk for native environments"
|
|
license = "Apache-2.0"
|
|
rust-version = { workspace = true }
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = ["state-store"]
|
|
|
|
state-store = ["dep:matrix-sdk-base"]
|
|
crypto-store = [
|
|
"dep:matrix-sdk-base",
|
|
"dep:matrix-sdk-crypto",
|
|
"matrix-sdk-base?/e2e-encryption",
|
|
]
|
|
|
|
[dependencies]
|
|
async-stream = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
derive_builder = "0.11.2"
|
|
fs_extra = "1.2.0"
|
|
futures-core = "0.3.21"
|
|
futures-util = { version = "0.3.21", default-features = false }
|
|
matrix-sdk-base = { version = "0.6.0", path = "../matrix-sdk-base", optional = true }
|
|
matrix-sdk-common = { version = "0.6.0", path = "../matrix-sdk-common" }
|
|
matrix-sdk-crypto = { version = "0.6.0", path = "../matrix-sdk-crypto", optional = true }
|
|
matrix-sdk-store-encryption = { version = "0.2.0", path = "../matrix-sdk-store-encryption" }
|
|
ruma = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sled = "0.34.7"
|
|
thiserror = { workspace = true }
|
|
tokio = { version = "1.24.2", default-features = false, features = ["sync", "fs"] }
|
|
tracing = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
glob = "0.3.0"
|
|
matrix-sdk-base = { path = "../matrix-sdk-base", features = ["testing"] }
|
|
matrix-sdk-crypto = { path = "../matrix-sdk-crypto", features = ["testing"] }
|
|
matrix-sdk-test = { path = "../../testing/matrix-sdk-test" }
|
|
once_cell = { workspace = true }
|
|
tempfile = "3.3.0"
|
|
tokio = { version = "1.24.2", default-features = false, features = ["rt-multi-thread", "macros"] }
|