Skip to content

Commit

Permalink
chore: bump xor_name from 3.1.0 to 4.0.1
Browse files Browse the repository at this point in the history
also re-exports crates used in public API.
  • Loading branch information
dan-da committed Mar 18, 2022
1 parent ec4e43c commit 3cb800b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rayon = "1.5.1"
err-derive = "~0.3.1"
num_cpus = "1.13.0"
itertools = "~0.10.0"
xor_name = "3.1.0"
xor_name = "4.0.1"

[dependencies.brotli]
version = "~3.3.0"
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ use itertools::Itertools;
use std::ops::Range;
use xor_name::XorName;

// export these because they are used in our public API.
pub use bytes;
pub use xor_name;

/// The minimum size (before compression) of data to be self-encrypted, defined as 3kB.
pub const MIN_ENCRYPTABLE_BYTES: usize = 3 * MIN_CHUNK_SIZE;
/// The maximum size (before compression) of an individual chunk of the file, defined as 1MB.
Expand Down

0 comments on commit 3cb800b

Please sign in to comment.