Replace wildcards in dependencies with a lower bound

This commit is contained in:
Philipp Oppermann
2015-11-13 18:05:03 +01:00
parent b9a35036e3
commit 6d05d4513c
3 changed files with 5 additions and 5 deletions

View File

@@ -7,5 +7,5 @@ authors = ["Philipp Oppermann <dev@phil-opp.com>"]
crate-type = ["staticlib"] crate-type = ["staticlib"]
[dependencies] [dependencies]
rlibc = "*" rlibc = "0.1.4"
spin = "*" spin = "0.3.4"

View File

@@ -131,7 +131,7 @@ Fortunately there already is a crate for that: [rlibc]. When we look at its [sou
```toml ```toml
... ...
[dependencies] [dependencies]
rlibc = "*" rlibc = "0.1.4"
``` ```
and an `extern crate` definition in our `src/lib.rs`: and an `extern crate` definition in our `src/lib.rs`:

View File

@@ -315,8 +315,8 @@ To use a spinning mutex, we can add the [spin crate] as a dependency in Cargo.to
```toml ```toml
... ...
[dependencies] [dependencies]
rlibc = "*" rlibc = "0.1.4"
spin = "*" spin = "0.3.4"
``` ```
and a `extern crate spin;` definition in `src/lib.rs`. Then we can use the spinning Mutex to provide interior mutability to our static writer: and a `extern crate spin;` definition in `src/lib.rs`. Then we can use the spinning Mutex to provide interior mutability to our static writer: