[package] name = "slicefields" version = "1.0.4" edition = "2021" authors = ["TeleportAura"] repository = "https://codeberg.org/TeleportAura/bitstruct" description = """ Allows for data structures whose members are sub byte aligned (e.g. a one bit alignment) """ readme = "README.md" keywords = ["bitstruct", "bit", "field", "bitfield", "slice"] categories = ["rust-patterns"] license = "MPL-2.0" [lib] proc-macro = true [dependencies] quote = "1.0" proc-macro2 = "1.0" syn = { version = "2.0", features = ["full"], optional = true } prettyplease = { version = "0.2", optional = true} [features] debug = ["dep:syn", "dep:prettyplease"] unstable = []