matrix-rust-sdk/bindings/matrix-sdk-crypto-ffi/Cargo.toml

64 lines
1.6 KiB
TOML
Raw Normal View History

[package]
2022-05-09 14:39:50 +00:00
name = "matrix-sdk-crypto-ffi"
version = "0.1.0"
authors = ["Damir Jelić <poljar@termina.org.uk>"]
2022-07-25 14:17:06 +00:00
edition = "2021"
2022-11-03 14:58:49 +00:00
rust-version = { workspace = true }
description = "Uniffi based bindings for the Rust SDK crypto crate"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
license = "Apache-2.0"
2022-05-11 15:31:19 +00:00
publish = false
[lib]
crate-type = ["cdylib", "staticlib"]
[dependencies]
anyhow = { workspace = true }
base64 = { workspace = true }
futures-util = "0.3.25"
2022-04-27 10:58:56 +00:00
hmac = "0.12.1"
http = { workspace = true }
2022-04-27 10:58:56 +00:00
pbkdf2 = "0.11.0"
rand = "0.8.5"
ruma = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
2022-04-27 10:58:56 +00:00
sha2 = "0.10.2"
thiserror = { workspace = true }
tracing = { workspace = true }
2022-04-27 10:58:56 +00:00
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
# keep in sync with uniffi dependency in matrix-sdk-ffi, and uniffi_bindgen in ffi CI job
uniffi = { workspace = true }
vodozemac = { workspace = true }
zeroize = { workspace = true, features = ["zeroize_derive"] }
[dependencies.js_int]
2022-04-27 10:58:56 +00:00
version = "0.2.2"
features = ["lax_deserialize"]
[dependencies.matrix-sdk-common]
path = "../../crates/matrix-sdk-common"
2022-09-28 08:15:37 +00:00
version = "0.6.0"
[dependencies.matrix-sdk-crypto]
path = "../../crates/matrix-sdk-crypto"
2022-09-28 08:15:37 +00:00
version = "0.6.0"
features = ["qrcode", "backups_v1"]
[dependencies.matrix-sdk-sqlite]
path = "../../crates/matrix-sdk-sqlite"
version = "0.1.0"
default_features = false
features = ["crypto-store"]
[dependencies.tokio]
version = "1.24.2"
default_features = false
features = ["rt-multi-thread"]
[build-dependencies]
2023-02-01 10:22:28 +00:00
uniffi = { workspace = true, features = ["build"] }
[dev-dependencies]
tempfile = "3.3.0"