Skip to content

Commit 255e587

Browse files
committed
Add borsh dep to Cargo manifest
1 parent 406bbdb commit 255e587

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ equivalent = { version = "1.0", default-features = false }
1919
arbitrary = { version = "1.0", optional = true, default-features = false }
2020
quickcheck = { version = "1.0", optional = true, default-features = false }
2121
serde = { version = "1.0", optional = true, default-features = false }
22+
borsh = { version = "1.2", optional = true, default-features = false }
2223
rayon = { version = "1.5.3", optional = true }
2324

2425
# Internal feature, only used when building as part of rustc,
@@ -41,7 +42,7 @@ serde_derive = "1.0"
4142

4243
[features]
4344
default = ["std"]
44-
std = []
45+
std = ["borsh?/std"]
4546

4647
# for testing only, of course
4748
test_debug = []
@@ -54,7 +55,7 @@ no-dev-version = true
5455
tag-name = "{{version}}"
5556

5657
[package.metadata.docs.rs]
57-
features = ["arbitrary", "quickcheck", "serde", "rayon"]
58+
features = ["arbitrary", "quickcheck", "serde", "borsh", "rayon"]
5859
rustdoc-args = ["--cfg", "docsrs"]
5960

6061
[workspace]

0 commit comments

Comments
 (0)