Rename crate to rfat.

This commit is contained in:
Rafał Harabień 2017-09-24 03:13:50 +02:00
parent 6b6759802a
commit df2852351b
5 changed files with 11 additions and 11 deletions

2
Cargo.lock generated
View File

@ -1,5 +1,5 @@
[root] [root]
name = "rustfat" name = "rfat"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,5 +1,5 @@
[package] [package]
name = "rustfat" name = "rfat"
version = "0.1.0" version = "0.1.0"
authors = ["Rafał Harabień <rafalh1992@o2.pl>"] authors = ["Rafał Harabień <rafalh1992@o2.pl>"]

View File

@ -1,10 +1,10 @@
extern crate rustfat; extern crate rfat;
use std::fs::File; use std::fs::File;
use std::io::BufReader; use std::io::BufReader;
use std::str; use std::str;
use rustfat::FatFileSystem; use rfat::FatFileSystem;
fn main() { fn main() {
let file = File::open("resources/fat32.img").unwrap(); let file = File::open("resources/fat32.img").unwrap();

View File

@ -1,5 +1,5 @@
#![crate_type = "lib"] #![crate_type = "lib"]
#![crate_name = "rustfat"] #![crate_name = "rfat"]
extern crate byteorder; extern crate byteorder;
extern crate chrono; extern crate chrono;
@ -7,10 +7,10 @@ extern crate chrono;
#[macro_use] #[macro_use]
extern crate bitflags; extern crate bitflags;
pub mod fs; mod fs;
pub mod dir; mod dir;
pub mod file; mod file;
pub mod table; mod table;
pub use fs::*; pub use fs::*;
pub use dir::*; pub use dir::*;

View File

@ -1,11 +1,11 @@
extern crate rustfat; extern crate rfat;
use std::fs::File; use std::fs::File;
use std::io::{BufReader, SeekFrom}; use std::io::{BufReader, SeekFrom};
use std::io::prelude::*; use std::io::prelude::*;
use std::str; use std::str;
use rustfat::FatFileSystem; use rfat::FatFileSystem;
const TEST_TEXT: &'static str = "Rust is cool!\n"; const TEST_TEXT: &'static str = "Rust is cool!\n";
const FAT12_IMG: &'static str = "resources/fat12.img"; const FAT12_IMG: &'static str = "resources/fat12.img";