[package] name = "postcard-bindgen" version = "0.4.0" edition = "2021" authors = ["Alexander Hübener "] repository = "https://github.com/teamplayer3/postcard-bindgen.git" description = "A crate to generate bindings for the postcard binary format for other languages than Rust." keywords = ["postcard", "generating", "javascript", "serde", "serialize"] categories = ["embedded", "encoding", "no-std"] license = "MIT OR Apache-2.0" readme = "../README.md" [features] default = ["generating"] generating = [ "postcard-bindgen-core/generating", "postcard-bindgen-derive/expanding", ] std = ["postcard-bindgen-core/std"] alloc = ["postcard-bindgen-core/alloc"] heapless = ["postcard-bindgen-core/heapless"] [dependencies.postcard-bindgen-core] version = "0.4.0" path = "../postcard-bindgen-core" [dependencies.postcard-bindgen-derive] version = "0.4.0" path = "../postcard-bindgen-derive" [dev-dependencies] postcard = "1.0.8" serde = { version = "1.0", features = ["derive"] } [[example]] name = "generate_bindings" required-features = ["std", "generating"] [[example]] name = "small" required-features = ["std", "generating"] [package.metadata.docs.rs] features = ["generating", "std", "heapless"] rustdoc-args = ["--cfg", "docsrs"]