[package] name = "tbytes" description = "A tiny library for reading and writing typed data into buffers" version = "0.1.0" edition = "2021" authors = ["Mykhailo Ziatin "] repository = "https://gitlab.com/mavka/libs/t-bytes" readme = "README.md" license = "MIT OR Apache-2.0" homepage = "https://gitlab.com/mavka/libs/t-bytes" keywords = ["bytes", "types", "buffer"] categories = [ "data-structures", "no-std", "no-std::no-alloc", ] resolver = "2" [dependencies] serde = { version = "1.0.197", default-features = false, features = ["derive"], optional = true } [dev-dependencies] log = "0.4.21" env_logger = "0.11.3" [build-dependencies] [features] ## Enables memory allocation support. alloc = ["serde/alloc"] ## Enables Rust std library. std = ["alloc", "serde/std"] ## Enables serde support. serde = ["dep:serde"] [lib] name = "tbytes" path = "src/lib.rs" [[example]] name = "basic" test = true # build with all features on docs.rs so that users viewing documentation # can see everything [package.metadata.docs.rs] features = ["std"]