[package] name = "varlen" authors = ["Reiner Pope "] version = "0.1.2" edition = "2021" description = "Ergonomic variable-length types" repository = "https://github.com/reinerp/varlen-rs" homepage = "https://github.com/reinerp/varlen-rs" keywords = [ "memory", "layout", "data", "array", "unsized", ] categories = [ "data-structures", ] license = "BSD-3-Clause" include = [ "Cargo.toml", "LICENSE", "src/**/*.rs", "README.md", ] readme = "README.md" [package.metadata.docs.rs] all-features = true [dependencies] varlen_macro = { version = "0.1", path = "../varlen_macro", optional = true } bumpalo = { version = "3.9.1", optional = true } svgbobdoc = { version = "0.3.0-alpha", optional = true } [features] # Render pretty SVG in documentation. Adds a lot of dependencies. doc = ["svgbobdoc/enable"] # Enable procedural macro #[define_varlen]. Adds dependency on `syn`. macro = ["varlen_macro"] # Feature 'bumpalo' is available, for allocating a VarLen type in # a bumpalo::Bump arena. Adds a dependency on bumpalo.