Skip to content

Commit 5003ed1

Browse files
committed
docs: Enable all features for some of our crates when building docs
1 parent f12f03b commit 5003ed1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

crates/matrix-qrcode/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ rust-version = "1.56"
1212
repository = "https://github.com/matrix-org/matrix-rust-sdk"
1313

1414
[package.metadata.docs.rs]
15-
features = ["docsrs"]
15+
all-features = true
1616
rustdoc-args = ["--cfg", "docsrs"]
1717

1818
[features]
1919
default = ["decode_image"]
2020
decode_image = ["image", "rqrr", "qrcode/image", "qrcode/svg"]
2121

22-
docsrs = ["decode_image"]
23-
2422
[dependencies]
2523
base64 = "0.13.0"
2624
byteorder = "1.4.3"

crates/matrix-sdk-base/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version = "1.56"
1212
version = "0.4.1"
1313

1414
[package.metadata.docs.rs]
15-
features = ["docsrs"]
15+
all-features = true
1616
rustdoc-args = ["--cfg", "docsrs"]
1717

1818
[features]
@@ -29,8 +29,6 @@ sled_state_store = [
2929
]
3030
sled_cryptostore = ["matrix-sdk-crypto/sled_cryptostore"]
3131

32-
docsrs = ["encryption", "sled_cryptostore"]
33-
3432
[dependencies]
3533
chacha20poly1305 = { version = "0.9.0", optional = true }
3634
dashmap = "4.0.2"

0 commit comments

Comments
 (0)