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]
name = "rustfat"
name = "rfat"
version = "0.1.0"
dependencies = [
"bitflags 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

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

View File

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

View File

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

View File

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