mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2024-12-13 13:30:39 +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]
|
[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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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`:
|
||||||
|
|
Loading…
Reference in a new issue