[package]
name = "zc"
version = "0.3.0"
authors = ["avitex <avitex@wfxlabs.com>"]
edition = "2018"
description = "Self-referential zero-copy structure"
categories = ["no-std", "memory-management", "data-structures"]
documentation = "https://docs.rs/zc"
homepage = "https://github.com/avitex/rust-zc"
repository = "https://github.com/avitex/rust-zc"
license = "MIT"
readme = "README.md"
include = ["src/**/*", "tests/**/*", "examples/**/*", "README.md", "LICENSE", "Cargo.toml"]
keywords = ["parsing", "zero-copy"]
[features]
default = ["std", "derive"]
std = ["alloc"]
alloc = ["aliasable"]
derive = ["zc-derive"]
[dependencies]
zc-derive = { version = "0.3", optional = true }
aliasable = { version = "0.1.3", optional = true }
[dev-dependencies]
trybuild = "1.0"
dangerous = "0.6"
once_cell = "1.5"
[workspace]
members = [
".",
"./zc-derive",
]
[patch.crates-io]
zc-derive = { path = "./zc-derive" }