2022-03-03 11:30:31 +00:00
|
|
|
[package]
|
2022-05-09 14:39:50 +00:00
|
|
|
name = "matrix-sdk-crypto-ffi"
|
2022-03-03 11:30:31 +00:00
|
|
|
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 }
|
2022-05-09 15:43:41 +00:00
|
|
|
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
|
2022-03-03 11:30:31 +00:00
|
|
|
|
|
|
|
[lib]
|
2022-05-26 19:01:45 +00:00
|
|
|
crate-type = ["cdylib", "staticlib"]
|
2022-03-03 11:30:31 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-12-19 16:20:56 +00:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
base64 = { workspace = true }
|
2022-11-04 12:09:39 +00:00
|
|
|
futures-util = "0.3.25"
|
2022-04-27 10:58:56 +00:00
|
|
|
hmac = "0.12.1"
|
2022-12-19 16:20:56 +00:00
|
|
|
http = { workspace = true }
|
2022-04-27 10:58:56 +00:00
|
|
|
pbkdf2 = "0.11.0"
|
|
|
|
rand = "0.8.5"
|
2022-10-18 10:02:05 +00:00
|
|
|
ruma = { workspace = true }
|
2022-12-19 16:20:56 +00:00
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2022-04-27 10:58:56 +00:00
|
|
|
sha2 = "0.10.2"
|
2022-12-19 16:20:56 +00:00
|
|
|
thiserror = { workspace = true }
|
2022-10-18 11:28:28 +00:00
|
|
|
tracing = { workspace = true }
|
2022-04-27 10:58:56 +00:00
|
|
|
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
|
2022-06-17 11:16:36 +00:00
|
|
|
# keep in sync with uniffi dependency in matrix-sdk-ffi, and uniffi_bindgen in ffi CI job
|
2022-10-17 13:33:13 +00:00
|
|
|
uniffi = { workspace = true }
|
2022-10-18 10:09:29 +00:00
|
|
|
vodozemac = { workspace = true }
|
2022-10-18 10:17:09 +00:00
|
|
|
zeroize = { workspace = true, features = ["zeroize_derive"] }
|
2022-03-03 11:30:31 +00:00
|
|
|
|
|
|
|
[dependencies.js_int]
|
2022-04-27 10:58:56 +00:00
|
|
|
version = "0.2.2"
|
2022-03-03 11:30:31 +00:00
|
|
|
features = ["lax_deserialize"]
|
|
|
|
|
|
|
|
[dependencies.matrix-sdk-common]
|
2022-06-23 09:31:59 +00:00
|
|
|
path = "../../crates/matrix-sdk-common"
|
2022-09-28 08:15:37 +00:00
|
|
|
version = "0.6.0"
|
2022-03-03 11:30:31 +00:00
|
|
|
|
|
|
|
[dependencies.matrix-sdk-crypto]
|
2022-06-23 09:31:59 +00:00
|
|
|
path = "../../crates/matrix-sdk-crypto"
|
2022-09-28 08:15:37 +00:00
|
|
|
version = "0.6.0"
|
2022-03-24 09:10:53 +00:00
|
|
|
features = ["qrcode", "backups_v1"]
|
|
|
|
|
2023-02-01 14:06:59 +00:00
|
|
|
[dependencies.matrix-sdk-sqlite]
|
|
|
|
path = "../../crates/matrix-sdk-sqlite"
|
|
|
|
version = "0.1.0"
|
2022-03-24 09:10:53 +00:00
|
|
|
default_features = false
|
|
|
|
features = ["crypto-store"]
|
2022-03-03 11:30:31 +00:00
|
|
|
|
|
|
|
[dependencies.tokio]
|
2023-02-04 00:59:32 +00:00
|
|
|
version = "1.24.2"
|
2022-03-03 11:30:31 +00:00
|
|
|
default_features = false
|
|
|
|
features = ["rt-multi-thread"]
|
|
|
|
|
|
|
|
[build-dependencies]
|
2023-02-01 10:22:28 +00:00
|
|
|
uniffi = { workspace = true, features = ["build"] }
|
2022-03-25 08:00:43 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.3.0"
|