# 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 = "2021" name = "tbytes" version = "0.1.0" authors = ["Mykhailo Ziatin "] description = "A tiny library for reading and writing typed data into buffers" homepage = "https://gitlab.com/mavka/libs/t-bytes" readme = "README.md" keywords = [ "bytes", "types", "buffer", ] categories = [ "data-structures", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/mavka/libs/t-bytes" resolver = "2" [package.metadata.docs.rs] features = ["std"] [lib] name = "tbytes" path = "src/lib.rs" [[example]] name = "basic" test = true [dependencies.serde] version = "1.0.197" features = ["derive"] optional = true default-features = false [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.log] version = "0.4.21" [build-dependencies] [features] alloc = ["serde/alloc"] serde = ["dep:serde"] std = [ "alloc", "serde/std", ]