Skip to content

Commit 3e22a22

Browse files
author
Thomas Hurst
committed
Update for latest serpapi-rust
This adds a few deps for uncommitted docs command changes which will follow once I work out exactly what they are.
1 parent f029b71 commit 3e22a22

File tree

3 files changed

+86
-18
lines changed

3 files changed

+86
-18
lines changed

Cargo.lock

Lines changed: 82 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ color-eyre = "0.6.2"
1313
colored_json = "4.1.0"
1414
html2text = { version = "0.6.0", features = ["ansi_colours"] }
1515
reqwest = "0.11.22"
16+
serde = { version = "1.0.193", features = ["derive"] }
1617
serde_json = "1.0.108"
1718
serde_json_path = "0.6.4"
1819
serpapi = { version = "0.1.0", git = "https://github.com/serpapi/serpapi-rust.git", branch="serpapi-cli" }
1920
termion = "2.0.3"
21+
textwrap = "0.16.0"
2022
tokio = { version = "1.35.0", features = ["full"] }
23+
zstd = "0.13.0"
2124

2225
[package.metadata.docs.rs]
2326
# Docs are identical across targets.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
196196
render_json(&args, &result)?;
197197
}
198198
Command::Account => {
199-
let result = client.account(HashMap::new()).await?;
199+
let result = client.account(&()).await?;
200200
render_json(&args, &result)?;
201201
}
202202
Command::Docs(query) => {

0 commit comments

Comments
 (0)