From ad5f968c89072eb12beeeb6c8cd7395734770c8a Mon Sep 17 00:00:00 2001 From: Andrew Gauger Date: Thu, 19 Sep 2019 15:45:49 -0700 Subject: [PATCH] postgres version doesn't conflict with rand (#550) --- Cargo.toml | 1 + src/web/clients/download/basic.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 971b611..a6ba7fe 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ num = "0.2" num_cpus = "1.8" percent-encoding = "2.1" petgraph = "0.4" +postgres = "0.15" rand = "0.6" rayon = "1.0" regex = "1.0" diff --git a/src/web/clients/download/basic.md b/src/web/clients/download/basic.md index bad3f78..9eeb659 100755 --- a/src/web/clients/download/basic.md +++ b/src/web/clients/download/basic.md @@ -26,7 +26,7 @@ use tempfile::Builder; # } # } -fn run() -> Result<()> { +fn main() -> Result<()> { let tmp_dir = Builder::new().prefix("example").tempdir()?; let target = "https://www.rust-lang.org/logos/rust-logo-512x512.png"; let mut response = reqwest::get(target)?;