mirror of
https://github.com/danog/strum.git
synced 2024-11-26 20:14:40 +01:00
don't suggest wildcard dependencies (#14)
* don't suggest wildcard dependencies in readme * don't suggest wildcard deps in docs
This commit is contained in:
parent
40c510304c
commit
788cb9a0cf
@ -14,8 +14,8 @@ Cargo.toml. Strum_macros contains the macros needed to derive all the traits in
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
strum = "*"
|
||||
strum_macros = "*"
|
||||
strum = "0.8.0"
|
||||
strum_macros = "0.8.0"
|
||||
```
|
||||
|
||||
And add these lines to the root of your project, either lib.rs or main.rs.
|
||||
|
@ -14,8 +14,8 @@
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! strum = "*"
|
||||
//! strum_macros = "*"
|
||||
//! strum = "0.8.0"
|
||||
//! strum_macros = "0.8.0"
|
||||
//! ```
|
||||
//!
|
||||
//! And add these lines to the root of your project, either lib.rs or main.rs.
|
||||
|
Loading…
Reference in New Issue
Block a user