Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (80 loc) · 2.28 KB
/
Copy pathCargo.toml
File metadata and controls
87 lines (80 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# See: https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "asimov-serpapi-module"
version = "0.1.4"
authors = ["ASIMOV Community"]
edition = "2024"
#rust-version = "1.85"
description = "ASIMOV module for data import powered by the SerpApi search data platform."
#documentation = "https://docs.rs/asimov-serpapi-module"
readme = true
homepage = "https://github.com/asimov-modules"
repository = "https://github.com/asimov-modules/asimov-serpapi-module"
license = "Unlicense"
keywords = ["asimov-module", "asimov", "ai"]
categories = [
"command-line-utilities",
"api-bindings",
"web-programming::http-client",
"text-processing",
]
publish = true
# See: https://readmer.dev
[package.metadata.readmer.project]
summary = "[ASIMOV] module for data import powered by the [SerpApi] search data platform."
[features]
default = ["all", "cli", "std"]
all = ["tracing"]
cli = ["asimov-module/cli", "pretty", "std", "dep:clap", "dep:clientele"]
pretty = []
std = [
"asimov-module/std",
"clap?/std",
"clientele?/std",
"jq/std",
"serde/std",
"tracing-subscriber?/fmt",
"tracing-subscriber?/std",
"url/std",
]
tracing = [
"asimov-module/tracing",
"clientele?/tracing",
"dep:tracing-subscriber",
]
unstable = []
[dependencies]
asimov-module = { version = "25.0.0-dev.21", default-features = false, features = [
"serde",
] }
clap = { version = "4.5", default-features = false, optional = true }
clientele = { version = "0.3", default-features = false, features = [
"argfile",
"dotenv",
"wild",
], optional = true }
jq = { version = "0.1", default-features = false, features = ["all"] }
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = { version = "1", default-features = false, features = ["alloc"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"alloc",
"tracing-log",
], optional = true }
ureq = { version = "3.0", default-features = false, features = [
"platform-verifier",
"rustls",
"json",
] }
url = { version = "2.5", default-features = false }
[profile.release]
opt-level = "z"
strip = true
lto = "thin"
[[bin]]
name = "asimov-serpapi-fetcher"
path = "src/fetcher/main.rs"
required-features = ["cli"]
[[bin]]
name = "asimov-serpapi-importer"
path = "src/importer/main.rs"
required-features = ["cli"]