mirror of
https://github.com/0x5eal/chrono-lc.git
synced 2024-12-13 13:30:39 +00:00
fix: git deps use tag, not version
This commit is contained in:
parent
b47f2afe06
commit
c8d12a9e24
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Put this in your Cargo.toml:
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4.56"
|
chrono = "0.4.56"
|
||||||
chrono_locale = { git = "https://github.com/0x5eal/chrono-locale.git", version = "v0.1.2" }
|
chrono_locale = { git = "https://github.com/0x5eal/chrono-locale.git", tag = "v0.1.2" }
|
||||||
```
|
```
|
||||||
|
|
||||||
Then put this in your `lib.rs` or `main.rs`:
|
Then put this in your `lib.rs` or `main.rs`:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! chrono = "0.4"
|
//! chrono = "0.4"
|
||||||
//! chrono_locale = { git = "https://github.com/0x5eal/chrono-locale.git", version = "v0.1.2" }
|
//! chrono_locale = { git = "https://github.com/0x5eal/chrono-locale.git", tag = "v0.1.2" }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! 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