[package] name = "micropb" version = "0.1.0" edition = "2021" authors = ["Yuhan Lin "] description = "Rust Protobuf library targetting embedded systems and no_std environments" keywords = ["protobuf", "no_std", "embedded", "serialization"] categories = ["embedded", "no-std::no-alloc", "encoding"] readme = "README.md" repository = "https://github.com/YuhanLiin/micropb" rust-version = "1.74.0" license = "MIT OR Apache-2.0" [features] default = ["encode", "decode", "enable-64bit"] encode = [] decode = [] enable-64bit = [] alloc = [] std = ["alloc"] container-arrayvec = ["dep:arrayvec"] container-heapless = ["dep:heapless"] [dependencies] arrayvec = { version = "0.7", optional = true, default-features = false } heapless = { version = "0.8", optional = true } num-traits = { version = "0.2", default-features = false } never = { version = "0.1", default-features = false } [dev-dependencies] micropb = { path = ".", features = ["std" ,"container-arrayvec", "container-heapless"] } paste = "1"