From 5be5d28ceb13fe31520f1668c29264329dc7d871 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 12 May 2024 20:59:00 +0530 Subject: [PATCH] chore(crate): bump version --- Cargo.toml | 7 +++++-- README.md | 4 ++-- src/lib.rs | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e8970d6..53b6ae1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "chrono_lc" -version = "0.1.5" +version = "0.1.6" edition = "2021" -authors = ["Alessandro Pellizzari ", "Erica Marigold "] +authors = [ + "Alessandro Pellizzari ", + "Erica Marigold ", +] description = "Localised date and time formatting library for Rust, based on chrono" homepage = "https://github.com/0x5eal/chrono-locale" readme = "README.md" diff --git a/README.md b/README.md index c4461b3..bf7e95b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Include the dependency in `Cargo.toml`: ```toml [dependencies] chrono = "0.4" -chrono_lc = "0.1.5" +chrono_lc = "0.1.6" ``` Import the required modules into `lib.rs` or `main.rs`: @@ -19,7 +19,7 @@ use chrono::prelude::*; use chrono_lc::LocaleDate; ``` > **Note** -> You can choose to import just parts of chrono instead of the whole prelude. Please see ['`chrono`'s documentation](https://docs.rs/chrono/). +> You can choose to import just parts of chrono instead of the whole prelude. Please see [`chrono`'s documentation](https://docs.rs/chrono/). To format a chrono `Date` or `DateTime` object, you can use the `formatl` method: diff --git a/src/lib.rs b/src/lib.rs index 529be1c..cd2dd1b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,7 @@ //! ```toml //! [dependencies] //! chrono = "0.4" -//! chrono_lc = "0.1.5" +//! chrono_lc = "0.1.6" //! ``` //! //! Then put this in your `lib.rs` or `main.rs`: