~/hooky

ab8cdef2cb44ca07addfba726ef83cba1fd4fc5a — Arthur Melton 03bd875f 2 years ago
got the discord deps only for windows working
1 files changed, 15 insertions(+), 7 deletions(-)

M data/Cargo.toml
M data/Cargo.toml => data/Cargo.toml +15 -7
@@ 9,14 9,22 @@ edition = "2021"

serde = "1.0.152"
serde_derive = "1.0.152"


[features]
functions = []
discord = ["functions"]
discord = [
    "functions",
    "dep:aes-gcm",
    "dep:base64",
    "dep:regex",
    "dep:serde_json",
    "dep:winapi",
    "winapi?/dpapi",
    "winapi?/winbase"
]

[target.'cfg(target_os = "windows")'.dependencies]
aes-gcm = "0.10.1"
base64 = "0.20.0"
regex = "1.7.0"
serde_json = "1.0.91"
winapi = { version = "0.3.9", features = ["dpapi", "winbase"] }
aes-gcm = { version = "0.10.1", optional = true }
base64 = { version = "0.20.0", optional = true }
regex = { version = "1.7.0", optional = true }
serde_json = { version = "1.0.91", optional = true }
winapi = { version = "0.3.9", optional = true }