-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (51 loc) · 1.47 KB
/
Cargo.toml
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
[workspace]
members = ["examples/filter_example", "."]
[package]
name = "vinted-rs"
version = "0.10.0"
edition = "2021"
repository = "https://github.com/TuTarea/vinted-rs"
authors = [
"Pepe Márquez <[email protected]>",
"Álvaro Cabo <[email protected]>",
]
description = "An async Vinted API wrapper"
license = "MIT"
readme = "README.md"
rust-version = "1.70"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = false
[features]
default = ["advanced_filters", "redis"]
advanced_filters = ["bb8-postgres", "postgres-types"]
redis = ["dep:redis", "dep:redis-macros"]
minimal = []
[dependencies]
reqwest = { version = "0.12", features = ["json", "cookies"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["serde_derive"] }
thiserror = "1.0"
rand = "0.8"
reqwest_cookie_store = "0.8"
typed-builder = "0.20"
fang = { version = "0.10.3", features = ["asynk"], default-features = false }
redis-macros = { version = "0.4.2", optional = true }
redis = { version = "0.27.5", optional = true, features = [
"tokio-comp",
"aio",
] }
serde_json = { version = "1.0.91" }
log = "0.4.20"
lazy_static = "1.4.0"
dotenvy = "0.15"
[dev-dependencies]
env_logger = "0.11.5"
[dependencies.bb8-postgres]
version = "0.8"
features = ["with-serde_json-1", "with-uuid-1", "with-chrono-0_4"]
optional = true
[dependencies.postgres-types]
version = "0.2.6"
features = ["derive"]
optional = true