From: Alissa Rao Date: Tue, 5 Apr 2022 07:56:07 +0000 (-0700) Subject: Update documentation to reflect proc-macro-crate not being available by default anymore. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a0d0d77bd1d2bf60597a130467c0e0fdea5dd562;p=enumset.git Update documentation to reflect proc-macro-crate not being available by default anymore. --- diff --git a/enumset/src/lib.rs b/enumset/src/lib.rs index 5a137c3..e36c22b 100644 --- a/enumset/src/lib.rs +++ b/enumset/src/lib.rs @@ -164,8 +164,8 @@ use crate::repr::EnumSetTypeRepr; /// automatically derived versions, or unintentional behavior may be a result. /// * `#[enumset(no_ops)` prevents the derive from implementing any operator traits. /// * `#[enumset(crate_name = "enumset2")]` may be used to change the name of the `enumset` crate -/// used in the generated code. By default enumset parses `Cargo.toml` to determine the name of -/// the crate, or falls back to `enumset` if it cannot be parsed. +/// used in the generated code. When the `std` feature is enabled, enumset parses `Cargo.toml` +/// to determine the name of the crate, and this flag is unnecessary. /// /// When the `serde` feature is used, the following features may also be specified. These options /// may be used (with no effect) when building without the feature enabled: