Add default, dotenvy, and container features
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@ -4,7 +4,15 @@ version = "0.1.0"
|
|||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dotenvy = "0.15.7"
|
dotenvy = { version = "0.15.7", optional = true }
|
||||||
futures-util = "0.3.31"
|
futures-util = "0.3.31"
|
||||||
rspotify = { version = "0.14.0", default-features = false, features = ["cli", "webbrowser", "client-reqwest", "reqwest-rustls-tls"] }
|
rspotify = { version = "0.14.0", default-features = false, features = ["cli", "client-reqwest", "reqwest-rustls-tls"] }
|
||||||
tokio = { version = "1.45.1", features = ["full"] }
|
tokio = { version = "1.45.1", features = ["full"] }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = [
|
||||||
|
"dotenvy",
|
||||||
|
"rspotify/webbrowser"
|
||||||
|
]
|
||||||
|
dotenvy = [ "dep:dotenvy" ]
|
||||||
|
container = []
|
||||||
|
Reference in New Issue
Block a user