compact-option 0.1.0

Niche-packing optional that uses exactly as much memory as raw `R`; intended for `R` with spare bit patterns (primarily `repr(u8)` enums with <256 variants).
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"
name = "compact-option"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Niche-packing optional that uses exactly as much memory as raw `R`; intended for `R` with spare bit patterns (primarily `repr(u8)` enums with <256 variants)."
documentation = "https://docs.rs/compact-option"
readme = "README.md"
keywords = [
    "option",
    "enum",
    "sentinel",
    "transmute",
    "compact",
]
categories = [
    "data-structures",
    "memory-management",
]
license = "MIT"
repository = "https://github.com/goodvibs/compact-option"

[features]
default = []
macros = ["dep:compact-option-proc-macro"]

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

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

[dependencies.compact-option-proc-macro]
version = "0.1.0"
optional = true

[dev-dependencies.compact-option-proc-macro]
version = "0.1.0"

[dev-dependencies.proptest]
version = "1.11"

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