Skip to content

Commit 2ca375e

Browse files
acfoltzerenarxbot
authored andcommitted
Build with all features on docs.rs
I spent a little while chasing my tail trying to figure out how best to use `ciborium-io` with a `std::io::Write` value, when the impl was there all along πŸ€¦πŸ»β€β™‚οΈ This bit of package metadata should make `docs.rs` build with all features enabled, so the impl will show up in the generated documentation.
1 parent e719537 commit 2ca375e

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

β€Žciborium-io/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ is-it-maintained-open-issues = { repository = "enarx/ciborium" }
2222
[features]
2323
alloc = []
2424
std = ["alloc"]
25+
26+
[package.metadata.docs.rs]
27+
all-features = true

β€Žciborium-ll/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ hex = "0.4"
2929
[features]
3030
alloc = []
3131
std = ["alloc"]
32+
33+
[package.metadata.docs.rs]
34+
all-features = true

β€Žciborium/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ hex = "0.4"
3333
[features]
3434
default = ["std"]
3535
std = ["ciborium-io/std", "serde/std"]
36+
37+
[package.metadata.docs.rs]
38+
all-features = true

0 commit comments

Comments
Β (0)