forked from hwchen/keyring-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (45 loc) · 1.84 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
[package]
authors = ["Walther Chen <[email protected]>", "Daniel Brotsky <[email protected]>"]
description = "Cross-platform library for managing passwords/credentials"
homepage = "https://github.com/hwchen/keyring-rs"
keywords = ["password", "credential", "keychain", "keyring", "cross-platform"]
license = "MIT OR Apache-2.0"
name = "keyring"
repository = "https://github.com/hwchen/keyring-rs.git"
version = "2.0.1"
edition = "2021"
exclude = [".github/"]
readme = "README.md"
[features]
default = ["linux-secret-service"]
linux-secret-service = ["linux-secret-service-rt-async-io-crypto-rust"]
linux-secret-service-rt-async-io-crypto-rust = ["secret-service/rt-async-io-crypto-rust"]
linux-secret-service-rt-tokio-crypto-rust = ["secret-service/rt-tokio-crypto-rust"]
linux-secret-service-rt-async-io-crypto-openssl = ["secret-service/rt-async-io-crypto-openssl"]
linux-secret-service-rt-tokio-crypto-openssl = ["secret-service/rt-tokio-crypto-openssl"]
linux-no-secret-service = ["linux-default-keyutils"]
linux-default-keyutils = []
[dependencies]
lazy_static = "1"
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "2.6"
[target.'cfg(target_os = "ios")'.dependencies]
security-framework = "2.6"
[target.'cfg(target_os = "linux")'.dependencies]
secret-service = { version = "3", optional = true }
linux-keyutils = { version = "0.2", features = ["std"] }
[target.'cfg(target_os = "freebsd")'.dependencies]
secret-service = { version = "3", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
byteorder = "1.2"
winapi = { version = "0.3", features = ["wincred", "winerror", "errhandlingapi", "minwindef"] }
[[example]]
name = "iostest"
path = "examples/ios.rs"
crate-type = ["staticlib"]
[dev-dependencies]
clap = { version = "4", features = ["derive", "wrap_help"] }
rpassword = "7.0"
rand = "0.8"
doc-comment = "0.3"
whoami = "1.2"