Commit 877d64a
committed
Use weak features for preserve_order
Currently, `preserve_order` causes the toml, serde_json and ron
dependencies to be enabled. This can be avoided by using cargo's support
for [weak features].
[weak features]:
https://rust-lang.github.io/rfcs/3143-cargo-weak-namespaced-features.html
Weak features were stabilized in Rust 1.60 so there are no MSRV
concerns.
I think this probably is a breaking change since it's possible some
downstream users weren't enabling support explicitly.
Signed-off-by: Rain <[email protected]>1 parent fa02f20 commit 877d64a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments