Skip to content

Commit 6bfa647

Browse files
author
yuhan
committed
Update README
1 parent 3930f5e commit 6bfa647

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ Unlike other Rust Protobuf libraries, `micropb` is aimed for constrained environ
1313
- Reduced memory usage for generated code, especially for optional fields.
1414
- Allows both statically-allocated containers ([`heapless`](https://docs.rs/heapless/latest/heapless), [`arrayvec`](https://docs.rs/arrayvec/latest/arrayvec)) or dynamically-allocated containers from [`alloc`](https://doc.rust-lang.org/alloc).
1515
- Code generator is highly configurable.
16+
- Type-safe open enums, rather than `i32`.
1617
- Fields can have custom handlers with user-defined encoding and decoding behaviour.
1718
- Supports different data sources for encoding and decoding, abstracted behind the `PbRead` and `PbWrite` traits.
1819
- Supports caching of message field lengths during encoding, improving performance on deeply nested message structures.
1920

2021
#### Limitations
2122
- Does not support RPC or extensions.
23+
- Does not support closed enums.
2224
- No reflection capabilities.
2325
- `string`, `bytes`, repeated, and `map` fields require some basic user configuration to get working.
2426

0 commit comments

Comments
 (0)