diff --git a/Cargo.toml b/Cargo.toml index a987203..724c7ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ext-sort" -version = "0.1.2" +version = "0.1.3" edition = "2021" license = "Unlicense" description = "rust external sort algorithm implementation" @@ -14,30 +14,30 @@ categories = ["algorithms"] keywords = ["algorithms", "sort", "sorting", "external-sort", "external"] [dependencies] -bytesize = { version = "^1.1", optional = true } -clap = { version = "^3.0", features = ["derive"], optional = true } -deepsize = { version = "^0.2", optional = true } -env_logger = { version = "^0.9", optional = true} -log = "^0.4" -rayon = "^1.5" -rmp-serde = "^0.15" -serde = { version = "^1.0", features = ["derive"] } -tempfile = "^3.2" +bytesize = { version = "1.1.0", optional = true } +clap = { version = "3.0.0", features = ["derive"], optional = true } +deepsize = { version = "0.2.0", optional = true } +env_logger = { version = "0.9.0", optional = true} +log = "0.4.8" +rayon = "1.5.0" +rmp-serde = "0.15.0" +serde = { version = "1.0.120", features = ["derive"] } +tempfile = "3.2.0" [dev-dependencies] -rstest = "^0.12" -rand = "^0.8" +rstest = "0.12.0" +rand = "0.8.0" [features] memory-limit = ["deepsize"] [[bin]] name = "ext-sort" -required-features = ["bytesize", "clap", "env_logger"] +required-features = ["bytesize", "clap", "env_logger", "memory-limit"] [[example]] name = "quickstart" -required-features = ["bytesize", "env_logger"] +required-features = ["bytesize", "env_logger", "memory-limit"] [[example]] name = "custom_serializer" diff --git a/README.md b/README.md index 650fd3d..e585ed8 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,10 @@ Activate `memory-limit` feature of the ext-sort crate on Cargo.toml: ```toml [dependencies] -ext-sort = { version = "^0.1.2", features = ["memory-limit"] } +ext-sort = { version = "^0.1.3", features = ["memory-limit"] } ``` -``` rust +```rust use std::fs; use std::io::{self, prelude::*}; use std::path;