bitflag-attr 0.14.0

A macro to generate bitflags structures from C-like enums
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "bitflag-attr"
version = "0.14.0"
authors = ["GrayJack <gr41.j4ck@gmail.com>"]
build = false
exclude = [
    "/tests",
    "/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A macro to generate bitflags structures from C-like enums"
homepage = "https://github.com/GrayJack/bitflag-attr"
readme = "README.md"
keywords = [
    "bit",
    "bitmask",
    "bitflags",
    "flags",
    "enum",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GrayJack/bitflag-attr"

[features]
alloc = []
arbitrary = ["bitflags-attr-macros/arbitrary"]
bytemuck = ["bitflags-attr-macros/bytemuck"]
const-mut-ref = ["bitflags-attr-macros/const-mut-ref"]
custom-types = ["bitflags-attr-macros/custom-types"]
default = ["const-mut-ref"]
serde = [
    "bitflags-attr-macros/serde",
    "dep:serde_core",
]
std = ["alloc"]

[lib]
name = "bitflag_attr"
path = "src/lib.rs"

[[example]]
name = "default"
path = "examples/default.rs"

[[example]]
name = "example"
path = "examples/example.rs"

[[example]]
name = "external_flags"
path = "examples/external_flags.rs"

[[example]]
name = "iter"
path = "examples/iter.rs"

[[example]]
name = "no_debug"
path = "examples/no_debug.rs"

[[example]]
name = "no_macro"
path = "examples/no_macro.rs"

[[example]]
name = "readme"
path = "examples/readme.rs"

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[[example]]
name = "simple"
path = "examples/simple.rs"

[dependencies.bitflags-attr-macros]
version = "=0.14.0"

[dependencies.serde_core]
version = "1"
optional = true
default-features = false

[dev-dependencies.arbitrary]
version = "1.0"

[dev-dependencies.bytemuck]
version = "1.0"

[dev-dependencies.serde]
version = "1.0"
features = ["serde_derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.serde_test]
version = "1.0.19"

[dev-dependencies.trybuild]
version = "1.0"