项目作者: althonos

项目描述 :
Read optical media filesystems with Rust
高级语言: Rust
项目地址: git://github.com/althonos/opticaldisc.git
创建时间: 2018-05-01T17:24:05Z
项目社区:https://github.com/althonos/opticaldisc

开源协议:MIT License

下载


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:

  1. [dependencies]
  2. opticaldisc = "^0.1.0"

Usage

Open an ISO-9660 filesystem

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

  1. extern crate opticaldisc;
  2. let file: std::fs::File = ...;
  3. 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).

  1. extern crate opticaldisc;
  2. let data = include_bytes!("...");
  3. let iso = opticaldisc::iso::IsoFs::from_buffer(&data[..]);