Crates.io | naumi |
lib.rs | naumi |
version | 0.3.5 |
source | src |
created_at | 2024-02-17 20:56:21.8872 |
updated_at | 2024-03-13 18:50:46.513711 |
description | Lightweight and fast data transfer protocol. Fast de/serialization and tiny size! |
homepage | https://github.com/Paradist/naumi |
repository | https://github.com/Paradist/naumi |
max_upload_size | |
id | 1143508 |
size | 48,981 |
Lightweight and fast data transfer protocol. Fast de/serialization and tiny size!
Naumi is an innovative data format designed to be a complete alternative to JSON and ProtoBuf, while providing greater efficiency and flexibility. It is designed to meet modern data processing requirements, offering compact serialization, improved read and write speeds, and support for complex data structures and types, making it an ideal choice for a wide range of applications, from webAPIs to real-time messaging and configuration files.
Benchmark sources: Benchmarks
Encode | Decode | Size | |
---|---|---|---|
Naumi | 6,4 ms | 6,8 ms | 15002002 |
Alkahest | 24,3 ms | 22,7 ms | 15008008 |
Pot | 72,64 ms | 187,9 ms | 23994125 |
Cbor | 40,8 ms | 115,2 ms | 31904769 |
SimdJson | 107,6 ms | 466,3 ms | 62543210 |
Let me know on the issues page.
Numbers: u8, u16, u32, u64, usize, u128, f32, f64, VarInt // and signed
Strings: String(VarInt), TinyString(u8), ShortString(u16), MediumString(u32), LongString(u64)
Iters: Vec(VarInt), TinyVec(u8), ShortVec(u16), MediumVec(u32), LongVec(u64), HashSet(VarInt), HashMap(VarInt)
Custom: Structs(Named/Unnamed), Enums, Option, Tuple
naumi = "0.3"
naumi = { version = "0.3", features = ["net", "net_async", "default_", "clone", "debug", "partial_eq"] }
Check it out on GitHub - Examples
0.3.5
- Correction in net_async
0.3.4
- Correction in HashMap
0.3.3
- New type and bug fixes
0.3.2
- usize and isize are now always 64 bits.
0.3.1
- Moving the examples from the Readme.
0.3.0
- Ease of use and some bug fixes. Removed Coder.
0.2.5 - 0.2.7
- Bug fixes and some changes.
0.2.4
- Added benchmarks.
0.2.3
- Accelerating the decode of numbers.
0.2.2
- Bug fixes
0.2.1
- Describe the functions with examples.
0.2.0
- Hugely accelerated iterators and custom structures, bug fixes.
0.1.0 - 0.1.5
- Bug fixes
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Give a ⭐️ if this project helped you!