Skip to content

Commit 74172da

Browse files
committed
Activate ruma's rand feature unconditionally in matrix-sdk, matrix-sdk-crypto
… because it is required for `TransactionId::new()`.
1 parent 96d9fd8 commit 74172da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/matrix-sdk-crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ zeroize = { version = "1.3.0", features = ["zeroize_derive"] }
4949
[dependencies.ruma]
5050
git = "https://github.com/ruma/ruma/"
5151
rev = "37095f88553b311e7a70adaaabe39976fb8ff71c"
52-
features = ["client-api-c", "unstable-pre-spec"]
52+
features = ["client-api-c", "rand", "unstable-pre-spec"]
5353

5454
[dev-dependencies]
5555
criterion = { version = "0.3.4", features = [

crates/matrix-sdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ native-tls = ["reqwest/native-tls"]
3434
rustls-tls = ["reqwest/rustls-tls"]
3535
socks = ["reqwest/socks"]
3636
sso_login = ["warp", "rand", "tokio-stream"]
37-
appservice = ["ruma/appservice-api-s", "ruma/appservice-api-helper", "ruma/rand"]
37+
appservice = ["ruma/appservice-api-s", "ruma/appservice-api-helper"]
3838

3939
docsrs = [
4040
"encryption",
@@ -77,7 +77,7 @@ default_features = false
7777
[dependencies.ruma]
7878
git = "https://github.com/ruma/ruma/"
7979
rev = "37095f88553b311e7a70adaaabe39976fb8ff71c"
80-
features = ["client-api-c", "compat", "unstable-pre-spec"]
80+
features = ["client-api-c", "compat", "rand", "unstable-pre-spec"]
8181

8282
[dependencies.tokio-stream]
8383
version = "0.1.6"

0 commit comments

Comments
 (0)