mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-21 19:13:07 +00:00
postgres version doesn't conflict with rand (#550)
This commit is contained in:
parent
5eba1a6068
commit
ad5f968c89
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ num = "0.2"
|
||||||
num_cpus = "1.8"
|
num_cpus = "1.8"
|
||||||
percent-encoding = "2.1"
|
percent-encoding = "2.1"
|
||||||
petgraph = "0.4"
|
petgraph = "0.4"
|
||||||
|
postgres = "0.15"
|
||||||
rand = "0.6"
|
rand = "0.6"
|
||||||
rayon = "1.0"
|
rayon = "1.0"
|
||||||
regex = "1.0"
|
regex = "1.0"
|
||||||
|
|
|
@ -26,7 +26,7 @@ use tempfile::Builder;
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
|
|
||||||
fn run() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
let tmp_dir = Builder::new().prefix("example").tempdir()?;
|
let tmp_dir = Builder::new().prefix("example").tempdir()?;
|
||||||
let target = "https://www.rust-lang.org/logos/rust-logo-512x512.png";
|
let target = "https://www.rust-lang.org/logos/rust-logo-512x512.png";
|
||||||
let mut response = reqwest::get(target)?;
|
let mut response = reqwest::get(target)?;
|
||||||
|
|
Loading…
Reference in a new issue