Skip to content

althonos/opticaldisc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opticaldisc

Read optical media filesystems with Rust .

TravisCI Codecov License Source Crate Documentation CargoMake Changelog SayThanks

Dependencies

Package Description Minimum Latest Source License
nom byte parser combinators 4.0.0 latest GitHub MIT
memchr safe interface to memchr 2.0.0 latest GitHub MIT
error-chain convenient errors management 0.11.0 latest GitHub MIT/Apache 2.0
btoi convert strings to ints 0.3.0 latest GitHub MIT/Apache 2.0
chrono date and time management 0.4.0 latest GitHub MIT/Apache 2.0

Quickstart

Add this crate to your Cargo.toml manifest:

[dependencies]
opticaldisc = "^0.1.0"

Usage

Open an ISO-9660 filesystem

Open an ISO filesystem from anything that's both Read and Seek:

extern crate opticaldisc;

let file: std::fs::File = ...;
let iso = opticaldisc::iso::IsoFs::new(file)

It's also possible to read a buffer containing binary data (using std::io::Cursor to emulate a file).

extern crate opticaldisc;

let data = include_bytes!("...");
let iso = opticaldisc::iso::IsoFs::from_buffer(&data[..]);

About

Read optical media filesystems with Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published