forked from matrix-org/matrix-rust-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (63 loc) · 2.41 KB
/
Cargo.toml
File metadata and controls
72 lines (63 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "Collection of common types and imports used in the matrix-sdk"
edition = "2024"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk-common"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
rust-version.workspace = true
version = "0.16.0"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
rustdoc-args = ["--generate-link-to-definition"]
[features]
js = ["wasm-bindgen-futures"]
uniffi = ["dep:uniffi"]
# Private feature, see
# https://github.com/matrix-org/matrix-rust-sdk/pull/3749#issuecomment-2312939823 for the gory
# details.
test-send-sync = []
# Enable experimental support for encrypting state events; see
# https://github.com/matrix-org/matrix-rust-sdk/issues/5397.
experimental-encrypted-state-events = []
[dependencies]
eyeball-im.workspace = true
futures-core.workspace = true
futures-util.workspace = true
imbl.workspace = true
ruma.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tracing.workspace = true
uniffi = { workspace = true, optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# Enable the test macro.
tokio = { workspace = true, features = ["rt", "time", "macros"] }
[target.'cfg(target_family = "wasm")'.dependencies]
futures-executor.workspace = true
futures-util = { workspace = true, features = ["channel"] }
gloo-timers = { workspace = true, features = ["futures"] }
tokio = { workspace = true, features = ["sync", "macros", "time"] }
tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] }
wasm-bindgen.workspace = true
wasm-bindgen-futures = { version = "0.4.33", optional = true }
web-sys = { workspace = true, features = ["console"] }
[dev-dependencies]
assert_matches.workspace = true
assert_matches2.workspace = true
insta.workspace = true
matrix-sdk-test-macros = { path = "../../testing/matrix-sdk-test-macros" }
matrix-sdk-test-utils.workspace = true
proptest.workspace = true
wasm-bindgen-test.workspace = true
[target.'cfg(target_family = "wasm")'.dev-dependencies]
# Enable the JS feature for getrandom.
getrandom = { workspace = true, default-features = false, features = ["wasm_js"] }
js-sys.workspace = true
[lints]
workspace = true