Registry / utility / simdnbt

simdnbt

JSON →
library0.10.0rscratesunverified

An unnecessarily fast NBT decoder using SIMD instructions.

# Cargo.toml [dependencies] simdnbt = "0.10.0"
INSTALL
IMPORT
SIG · SIMDNBT
S
simdnbt
utilityrustv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Nbt
use simdnbt::Nbt;

Decode NBT data from bytes.

use simdnbt::Nbt; fn main() -> Result<(), Box<dyn std::error::Error>> { let data = vec![0u8; 10]; // example data let nbt = Nbt::from_bytes(&data)?; println!("{:?}", nbt); Ok(()) }
Debug
Known issues
gotchaRequires CPU support for SIMD (SSE2/AVX2) for optimal performance.
fix
Fallback to scalar path if SIMD not available; check runtime detection.
affects: >=0.10.0
Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Amazon
1
Resources
simdnbt — cargo add simdnbt · libregistry