diff --git a/README.md b/README.md index 31fa6cda..8e85c2a8 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -bitflag_attr = "0.9.0" +bitflag-attr = "0.9.0" ``` and this to your source code: @@ -92,7 +92,7 @@ enum Flags { - [X] Generated end-user API almost entirely the same to `bitflags` crate - [X] Most of the generated type-associated API is `const`-compatible (entirely if `const-mut-ref` feature flag enabled) - [X] Debug formatter outputs both the binary representation and named flag representation -- [X] Optional support for serialization with +- [X] Optional support for serialization with the `serde` feature flag - [X] Compatible with `#[no_std]` ### Implemented traits diff --git a/bitflags-attr-macros/Cargo.toml b/bitflags-attr-macros/Cargo.toml index a1e8f687..f053bc02 100644 --- a/bitflags-attr-macros/Cargo.toml +++ b/bitflags-attr-macros/Cargo.toml @@ -18,11 +18,11 @@ proc-macro = true [dependencies] syn = { version = "2", features = [ + "clone-impls", "full", "parsing", "printing", "proc-macro", - "clone-impls", ], default-features = false } quote = { version = "1", default-features = false } proc-macro2 = "1" diff --git a/src/lib.rs b/src/lib.rs index 3e02a005..97131152 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies] -//! bitflag_attr = "0.9.0" +//! bitflag-attr = "0.9.0" //! ``` //! //! ## Generating flags type