46 lines
1.6 KiB
TOML
46 lines
1.6 KiB
TOML
[package]
|
|
authors = ["Ivan Enderlin <ivane@element.io>"]
|
|
description = "Matrix encryption library, for NodeJS"
|
|
edition = "2021"
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
|
|
license = "Apache-2.0"
|
|
name = "matrix-sdk-crypto-nodejs"
|
|
readme = "README.md"
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
rust-version = { workspace = true }
|
|
version = "0.6.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["bundled-sqlite"]
|
|
bundled-sqlite = ["matrix-sdk-sqlite/bundled"]
|
|
qrcode = ["matrix-sdk-crypto/qrcode"]
|
|
tracing = ["dep:tracing-subscriber"]
|
|
|
|
[dependencies]
|
|
matrix-sdk-common = { version = "0.6.0", path = "../../crates/matrix-sdk-common", features = ["js"] }
|
|
matrix-sdk-sqlite = { version = "0.1.0", path = "../../crates/matrix-sdk-sqlite", features = ["crypto-store"] }
|
|
ruma = { workspace = true, features = ["rand"] }
|
|
napi = { version = "2.9.1", default-features = false, features = ["napi6", "tokio_rt"] }
|
|
napi-derive = "2.9.1"
|
|
serde_json = { workspace = true }
|
|
http = { workspace = true }
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["tracing-log", "time", "smallvec", "fmt", "env-filter"], optional = true }
|
|
vodozemac = { workspace = true, features = ["js"] }
|
|
zeroize = { workspace = true }
|
|
|
|
[dependencies.matrix-sdk-crypto]
|
|
path = "../../crates/matrix-sdk-crypto"
|
|
version = "0.6.0"
|
|
default_features = false
|
|
features = ["js", "automatic-room-key-forwarding"]
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.0.0"
|