Cargo Features
postcard-bindgen has no features set by default.
[dependencies]
postcard-bindgen = { version = "0.7.0", features = ["std", "alloc", "generating", "heapless"] }
- std
-
Enables std of postcard-bindgen-core
- alloc
-
Enables alloc of postcard-bindgen-core
- generating
-
Enables generating of postcard-bindgen-core, expanding of postcard-bindgen-derive
Affects
postcard-bindgen::javascript
,postcard-bindgen::python
… - heapless
-
Enables heapless of postcard-bindgen-core