-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING: cargo: simplify crate features
This gets rid of the 'serde1-{std,alloc,core}' features and just replaces it with a single proper 'serde' feature. We make it work as one would expect with the other crate features by using the new 'dep:' and 'pkg?' Cargo.toml feature syntax. This is a breaking change because the 'serde1' features no longer exist. Instead, you just need to enable the 'serde' feature and it should automatically do the right thing depending on whether you also have 'std', 'alloc' or neither set. Ref: https://doc.rust-lang.org/cargo/reference/features.html Ref: #40 (comment)
- Loading branch information
1 parent
7a4782a
commit 4133e76
Showing
4 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters