Skip to content

Commit

Permalink
chore(build): fluent-syntax: Use explicit features.
Browse files Browse the repository at this point in the history
With Rust 2024 edition coming, we should prefer explicit features
over implicit features. After this change, `serde_json` no longer
shows up as a feature when doing a `cargo add` as the implicit
feature for it is no longer present.
  • Loading branch information
waywardmonkeys committed Jul 11, 2024
1 parent 2e7c25e commit 3251bbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluent-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ glob = "0.3"

[features]
default = []
json = ["serde", "serde_json"]
serde = ["dep:serde"]
json = ["serde", "dep:serde_json"]
all-benchmarks = []

[[bench]]
Expand Down

0 comments on commit 3251bbd

Please sign in to comment.