diff --git a/Cargo.lock b/Cargo.lock index 945f5d2..a4e0ab4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,16 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "dh" -version = "0.8.1" -dependencies = [ - "murmur3", -] - -[[package]] -name = "murmur3" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9252111cf132ba0929b6f8e030cac2a24b507f3a4d6db6fb2896f27b354c714b" +version = "0.9.0" diff --git a/Cargo.toml b/Cargo.toml index 6718600..a62be25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,12 @@ [package] name = "dh" -version = "0.8.1" -edition = "2021" +version = "0.9.0" +edition = "2024" description = "Data handling in Rust, made easy." license = "MIT" repository = "https://github.com/Le0X8/dh" documentation = "https://docs.rs/dh" authors = [ "Leonard Lesinski <84378319+Le0X8@users.noreply.github.com>" ] readme = "README.md" -keywords = [ "data", "files", "read", "write", "rw" ] -categories = [ "data-structures", "encoding", "filesystem", "parsing" ] - -[dependencies] - -[dev-dependencies] -murmur3 = "0.5.2" \ No newline at end of file +keywords = [ "data", "read", "write", "rw" ] +categories = [ "data-structures", "encoding", "parsing" ] diff --git a/README.md b/README.md index 91df2fd..6c31b48 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,19 @@

- Data handling in Rust, made easy. + Binary data handling in Rust, made easy.

## Features - Read and write files in streams -- No unsafe code -- Support for a lot of data types (including variable length integers and custom length integers) - Read and write u8 vectors -- std::io::Read and std::io::Write implementations for `Readable` and `Writable` (happens automatically as they extend these traits) -- Copying data from a `Readable` to a `Writable` -- Partial read & write access +- std::io::Read and std::io::Write implementations for `ReadVal` and `WriteVal` (happens automatically as they extend these traits) +- Copying data from `ReadVal` to `Write` (chunked and all at once if you want) +- Floating point number support ### Planned features -- Floating point number support -- Zero-cost cloning -- Zero-cost subarray clones - Reading and writing of data that does not fill a whole byte