mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2024-12-12 12:50:36 +00:00
chore(crate): bump version
This commit is contained in:
parent
ddd6ed6f96
commit
5be5d28ceb
3 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
|||
[package]
|
||||
name = "chrono_lc"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
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"
|
||||
homepage = "https://github.com/0x5eal/chrono-locale"
|
||||
readme = "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:
|
||||
|
||||
|
|
|
@ -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`:
|
||||
|
|
Loading…
Reference in a new issue