Skip to content

Commit

Permalink
Makes directory module private and re-export its items
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Sep 28, 2024
1 parent 13ba851 commit 9e324e9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ for item in root {
}
```

## Breaking changes

### 0.1 to 0.2

My Rust skill has improved a lot since version 0.1 so I take this semver breaking change to make a lot of things better. That mean version 0.2 is not compatible with 0.1 in any ways.

## License

MIT
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pub use self::directory::*;
pub use self::disk::*;

use self::cluster::ClustersReader;
use self::directory::{Directory, Item};
use self::entries::{ClusterAllocation, EntriesReader, EntryType, FileEntry};
use self::fat::Fat;
use self::file::File;
Expand All @@ -9,10 +11,8 @@ use core::fmt::Debug;
use std::sync::Arc;
use thiserror::Error;

pub use self::disk::*;

pub mod cluster;
pub mod directory;
mod directory;
mod disk;
pub mod entries;
pub mod fat;
Expand Down
3 changes: 1 addition & 2 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use exfat::directory::Item;
use exfat::timestamp::Timestamp;
use exfat::Root;
use exfat::{Item, Root};
use std::fs::File;
use std::io::Read;
use std::path::PathBuf;
Expand Down

0 comments on commit 9e324e9

Please sign in to comment.