From c8d12a9e2487be9d024d3257071568d75f9f6732 Mon Sep 17 00:00:00 2001 From: Compey Date: Wed, 23 Aug 2023 21:08:40 +0530 Subject: [PATCH] fix: git deps use tag, not version --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9a3dd4..2aadcad 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Put this in your Cargo.toml: ```toml [dependencies] 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`: diff --git a/src/lib.rs b/src/lib.rs index 9e9384c..7faaaac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,7 @@ //! ```toml //! [dependencies] //! 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`: