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)?;