You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,14 @@ Unlike other Rust Protobuf libraries, `micropb` is aimed for constrained environ
13
13
- Reduced memory usage for generated code, especially for optional fields.
14
14
- 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).
15
15
- Code generator is highly configurable.
16
+
- Type-safe open enums, rather than `i32`.
16
17
- Fields can have custom handlers with user-defined encoding and decoding behaviour.
17
18
- Supports different data sources for encoding and decoding, abstracted behind the `PbRead` and `PbWrite` traits.
18
19
- Supports caching of message field lengths during encoding, improving performance on deeply nested message structures.
19
20
20
21
#### Limitations
21
22
- Does not support RPC or extensions.
23
+
- Does not support closed enums.
22
24
- No reflection capabilities.
23
25
-`string`, `bytes`, repeated, and `map` fields require some basic user configuration to get working.
0 commit comments