Install & Compatibility
Where this runs
tested against v1.0.229 · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslrust 1.80–1.853 runs
installs and imports cleanly · install 5.8s · import 0.000s · 15MB
defaultrust 1.80–1.853 runs
installs and imports cleanly · install 2.8s · import 0.000s · 15MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Serialize
✓ use serde::{Serialize, Deserialize};
Derives Serialize and Deserialize for a struct and serializes it to JSON.
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize)]
struct Point {
x: i32,
y: i32,
}
fn main() {
let point = Point { x: 1, y: 2 };
let serialized = serde_json::to_string(&point).unwrap();
println!("{}", serialized);
}
Upgrade
Version history
1.0.228latest on crates.io
Audit
Dependencies
No dependency data recorded yet.