|
2 | 2 | name = "duckduckgo" |
3 | 3 | version = "0.1.2" |
4 | 4 | authors = [ "Mahmoud Harmouch <[email protected]>"] |
5 | | -edition = "2021" |
| 5 | +edition = "2024" |
6 | 6 | description = "🦆 A CLI and library for colorful DuckDuckGo searches." |
7 | 7 | license = "MIT" |
8 | | -homepage = "https://github.com/wiseaidev/duckduckgo" |
| 8 | +homepage = "https://github.com/kevin-rs/duckduckgo" |
9 | 9 | documentation = "https://docs.rs/duckduckgo" |
10 | | -repository = "https://github.com/wiseaidev/duckduckgo" |
11 | | -categories = ["command-line-interface", "command-line-utilities"] |
| 10 | +repository = "https://github.com/kevin-rs/duckduckgo" |
12 | 11 | keywords = ["cli", "duckduckgo", "search", "dorks", "api"] |
| 12 | +categories = [ |
| 13 | + "command-line-utilities", |
| 14 | + "network-programming", |
| 15 | + "web-programming::http-client", |
| 16 | + "text-processing", |
| 17 | + "accessibility" |
| 18 | +] |
| 19 | + |
| 20 | +[[bin]] |
| 21 | +name = "ddg" |
| 22 | +path = "src/bin/main.rs" |
13 | 23 |
|
14 | 24 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
15 | 25 |
|
16 | 26 | [dependencies] |
17 | | -clap = { version = "4.4.11", features = ["derive"] } |
18 | | -once_cell = "1.19.0" |
19 | | -reqwest = { version="0.11.23", features=["cookies",] } |
20 | | -serde = { version = "1.0.193", features = ["derive"] } |
21 | | -serde_json = "1.0.108" |
22 | | -tokio = { version = "1.35.1", features = ["full"] } |
| 27 | +clap = { version = "4.5.40", features = ["derive"], optional = true } |
| 28 | +tokio = { version = "1.45.1", features = ["full"], optional = true } |
| 29 | +reqwest = { version="0.11.27", features=["cookies", "json"] } |
| 30 | +serde = { version = "1.0.219", features = ["derive"] } |
| 31 | +phf = { version = "0.12.1", features = ["macros"] } |
| 32 | +serde_json = "1.0.140" |
23 | 33 | urlencoding = "2.1.3" |
| 34 | +anyhow = "1.0.98" |
| 35 | +regex = "1.11.1" |
| 36 | +scraper = "0.23.1" |
| 37 | +chrono = "0.4.41" |
| 38 | + |
| 39 | +[dev-dependencies] |
| 40 | +tokio = { version = "1.45.1", features = ["full"] } |
| 41 | + |
| 42 | +[features] |
| 43 | +default = [] |
| 44 | +cli = ["clap", "tokio"] |
24 | 45 |
|
25 | 46 | [profile.release] |
26 | | -codegen-units = 1 |
27 | 47 | opt-level = "z" |
| 48 | +debug = false |
28 | 49 | lto = "thin" |
| 50 | +codegen-units = 3 |
| 51 | +panic = "abort" |
29 | 52 | strip = "symbols" |
| 53 | +incremental = false |
| 54 | + |
| 55 | +[badges] |
| 56 | +maintenance = { status = "actively-developed" } |
0 commit comments