Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Make "std" feature activate "std" feature in serde
Browse files Browse the repository at this point in the history
This enables serde crates themselves.
Related cargo issue: rust-lang/cargo#3494
  • Loading branch information
zakarumych committed Jun 16, 2020
1 parent 0c2767b commit 86a824e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ readme = "README.md"

[features]
unstable-doc = []
std = []
std = ["serde/std", "serde_json/std"]
fs = ["std"]
sync = ["spin"]
fetch = ["js-sys", "web-sys/Response", "web-sys/Window", "wasm-bindgen", "wasm-bindgen-futures"]

json-format = ["serde", "serde_json"]
yaml-format = ["serde", "serde_yaml"]
ron-format = ["serde", "ron"]
yaml-format = ["serde", "serde_yaml", "std"]
ron-format = ["serde", "ron", "std"]

default = ["std", "sync"]

Expand Down

0 comments on commit 86a824e

Please sign in to comment.