bluefile

Crates.iobluefile
lib.rsbluefile
version0.5.4
sourcesrc
created_at2024-07-10 01:17:38.695004
updated_at2024-11-10 18:59:56.937407
descriptionExperimental Rust library for handling X-Midas Bluefiles.
homepagehttps://github.com/spectriclabs/bluefile
repositoryhttps://github.com/spectriclabs/bluefile
max_upload_size
id1297677
size348,448
Bill Allen (billallen256)

documentation

README

bluefile

Experimental Rust library for handling X-Midas Bluefiles.

Usage

Add the following to your project's Cargo.toml:

[dependencies]
bluefile = "*"
use std::fs::File;
use bluefile::read_header;

let file = File::open("/path/to/bluefile").unwrap();
let header = read_header(&file).unwrap();
println!("{}", header.type_code);
println!("{}", header.data_type);
...

Additional examples can be found in the tests directory and in the bluejay utility.

bluejay

Bluejay is a command line utility for getting bluefile header info in JSON format.

cargo install bluefile
bluejay /path/to/bluefile

Running Tests

cargo clippy
cargo test

Resources

Commit count: 46

cargo fmt