$ json5
v1.3.0A Rust JSON5 serializer and deserializer which speaks Serde.
Latest Update Summary
Crate
Name: json5 New version: 1.0.0 Release date: 2025-11-29T21:54:35.034225Z
Crate readme
Short description Statistics-driven Microbenchmarking in Rust
Long description Criterion.rs helps you write fast code by detecting and measuring performance improvements or regressions, even small ones, quickly and accurately. You can optimize with confidence, knowing how each change affects the performance of your code.
Features • Statistics: Statistical analysis detects if, and by how much, performance has changed since the last benchmark run • Charts: Uses gnuplot to generate detailed graphs of benchmark results • Stable-compatible: Benchmark your code without installing nightly Rust
Code Examples Add to Cargo.toml
[dev-dependencies]
criterion = { version = "0.7", features = ["html_reports"] }
[[bench]]
name = "my_benchmark"
harness = false
Basic benchmark setup
use std::hint::black_box;
use criterion::{criterion_group, criterion_main, Criterion};
fn fibonacci(n: u64) -> u64 {
match n {
0 => 1,
1 => 1,
n => fibonacci(n-1) + fibonacci(n-2),
}
}
fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("fib 20", |b| b.iter(|| fibonacci(black_box(20))));
}
criterion_group!(benches, criterion_benchmark);
criterion_main!(benches);
Run your benchmark
cargo bench
Links • https://criterion-rs.github.io/book/getting_started.html • https://criterion-rs.github.io/book/index.html • https://docs.rs/crate/criterion/ • https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md • https://crates.io/crates/criterion • https://github.com/criterion-rs/criterion.rs/blob/master/CONTRIBUTING.md • https://github.com/bluss/bencher • http://www.serpentine.com/criterion/ • https://github.com/BurntSushi/cargo-benchcmp • https://github.com/ferrous-systems/flamegraph • https://crates.io/crates/criterion-cycles-per-byte • https://crates.io/crates/criterion-perf-events
https://api.github.com/repos/callum-oakley/json5-rs/releases/266162700
Release info
Release version:
Release description
Code Examples
Minor update: 1.2.0 → 1.3.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add json5Or add to Cargo.toml: json5 = "1.3.0"