diff --git a/Cargo.lock b/Cargo.lock index ebed510..6516149 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "humantime_to_duration" -version = "0.2.0" +version = "0.2.1" dependencies = [ "regex", "time", diff --git a/Cargo.toml b/Cargo.toml index 75cbed5..48407ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "humantime_to_duration" description = " parsing human-readable relative time strings and converting them to a Duration" -version = "0.2.0" +version = "0.2.1" edition = "2021" license = "MIT" repository = "https://github.com/uutils/humantime_to_duration" diff --git a/README.md b/README.md index be4e64d..6c14b64 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -humantime_to_duration = "0.1.1" +humantime_to_duration = "0.2.1" ``` Then, import the crate and use the `from_str` and `from_str_at_date` functions: