tachyon_json 1.0.1

Ultra-fast json encoding utilities
Documentation
  • Coverage
  • 0%
    0 out of 38 items documented0 out of 19 items with examples
  • Size
  • Source code size: 12.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • TachyonConcepts/TachyonJson
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TachyonConcepts

Tachyon JSON

Tachyon JSON is a hyper-optimized JSON serializer and buffer written in Rust.
It's not just fast — it doesn't apologize for hurting nanoseconds.


🚀 Mission

To build a serializer that:

  • Allocates nothing
  • Copies nothing extra
  • Escapes only if you say so
  • Doesn't slow down
  • Doesn't say sorry

📈 Performance

Honest microbenchmark results (1_000_000 iterations):

{"message":"Hello, world!"}

Serde (zero-copy) at: 23 ns.

Tachyon JSON at: 8 ns.

Yes, you read that right.


🛠 Usage

let mut out = TachyonBuffer::<100>::default();

let msg = tachyon_object_noescape! {
    "message" => "Hello, world!",
};

unsafe { msg.encode(&mut out, true); }

println!("{}", String::from_utf8_lossy(out.as_slice()));