Registry / utility / claxon

claxon

JSON →
library0.4.3rscratesunverified

A FLAC decoding library written in pure Rust.

# Cargo.toml [dependencies] claxon = "0.4.3"
INSTALL
IMPORT
SIG · CLAXON
C
claxon
utilityrustv0.4.3
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.

FlacReader
use claxon::FlacReader;

Opens a FLAC file and prints its sample rate.

use claxon::FlacReader; fn main() -> Result<(), Box<dyn std::error::Error>> { let mut reader = FlacReader::open("audio.flac")?; let spec = reader.streaminfo(); println!("Sample rate: {}", spec.sample_rate); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
claxon — cargo add claxon · libregistry