chore(crate): bump version

This commit is contained in:
Erica Marigold 2024-05-12 20:59:00 +05:30
parent ddd6ed6f96
commit 5be5d28ceb
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1
3 changed files with 8 additions and 5 deletions

View file

@ -1,8 +1,11 @@
[package] [package]
name = "chrono_lc" name = "chrono_lc"
version = "0.1.5" version = "0.1.6"
edition = "2021" edition = "2021"
authors = ["Alessandro Pellizzari <alex@amiran.it>", "Erica Marigold <hi@devcomp.xyz>"] authors = [
"Alessandro Pellizzari <alex@amiran.it>",
"Erica Marigold <hi@devcomp.xyz>",
]
description = "Localised date and time formatting library for Rust, based on chrono" description = "Localised date and time formatting library for Rust, based on chrono"
homepage = "https://github.com/0x5eal/chrono-locale" homepage = "https://github.com/0x5eal/chrono-locale"
readme = "README.md" readme = "README.md"

View file

@ -9,7 +9,7 @@ Include the dependency in `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
chrono = "0.4" chrono = "0.4"
chrono_lc = "0.1.5" chrono_lc = "0.1.6"
``` ```
Import the required modules into `lib.rs` or `main.rs`: Import the required modules into `lib.rs` or `main.rs`:
@ -19,7 +19,7 @@ use chrono::prelude::*;
use chrono_lc::LocaleDate; use chrono_lc::LocaleDate;
``` ```
> **Note** > **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: To format a chrono `Date` or `DateTime` object, you can use the `formatl` method:

View file

@ -8,7 +8,7 @@
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! chrono = "0.4" //! chrono = "0.4"
//! chrono_lc = "0.1.5" //! chrono_lc = "0.1.6"
//! ``` //! ```
//! //!
//! Then put this in your `lib.rs` or `main.rs`: //! Then put this in your `lib.rs` or `main.rs`: