bitbybit 2.0.0

Efficient implementation of bit-fields where several numbers are packed within a larger number and bit-enums. Useful for drivers, so it works in no_std environments
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 = "2021"
name = "bitbybit"
version = "2.0.0"
authors = ["Daniel Lehmann <danlehmannmuc@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient implementation of bit-fields where several numbers are packed within a larger number and bit-enums. Useful for drivers, so it works in no_std environments"
readme = "README.md"
keywords = [
    "integer",
    "unaligned",
    "misaligned",
    "bitfield",
]
categories = [
    "embedded",
    "no-std",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/danlehmann/bitfield"

[features]
examples = ["arbitrary-int/defmt"]
extra-traits = ["syn/extra-traits"]
introspect = []

[lib]
name = "bitbybit"
path = "src/lib.rs"
proc-macro = true

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

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

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

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "correct"
path = "tests/correct.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[[test]]
name = "with_fields"
path = "tests/with_fields.rs"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = ["full"]

[dev-dependencies.arbitrary-int]
version = "2.1.0"

[dev-dependencies.defmt]
version = "1"

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