[go: up one dir, main page]

uv-keyring 0.0.8

This is an internal component crate of uv
Documentation
[dependencies.async-trait]
version = "0.1.82"

[dependencies.thiserror]
version = "2.0.0"

[dependencies.tokio]
features = ["fs", "io-util", "macros", "process", "rt", "signal", "sync", "time"]
version = "1.40.0"

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.env_logger]
version = "0.11.5"

[dev-dependencies.fastrand]
version = "2.3.0"

[features]
apple-native = ["dep:security-framework"]
default = ["apple-native", "secret-service", "windows-native"]
native-auth = []
secret-service = ["dep:secret-service"]
windows-native = ["dep:windows", "dep:byteorder"]

[lib]
doctest = false
name = "uv_keyring"
path = "src/lib.rs"

[lints.clippy]
char_lit_as_u8 = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
if_not_else = "allow"
implicit_hasher = "allow"
large_stack_arrays = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
use_self = "warn"
used_underscore_binding = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -2

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"

[package]
authors = ["uv"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "This is an internal component crate of uv"
edition = "2024"
homepage = "https://pypi.org/project/uv/"
license = "MIT OR Apache-2.0"
name = "uv-keyring"
readme = "README.md"
repository = "https://github.com/astral-sh/uv"
resolver = "2"
rust-version = "1.89"
version = "0.0.8"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-pc-windows-msvc"]

[target.'cfg(any(target_os = "linux",target_os = "freebsd", target_os = "openbsd"))'.dependencies.secret-service]
features = ["rt-tokio-crypto-rust", "rt-tokio-crypto-rust"]
optional = true
version = "5.0.0"

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
optional = true
version = "3"

[target.'cfg(target_os = "windows")'.dependencies.byteorder]
optional = true
version = "1.5.0"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["std", "Win32_Globalization", "Win32_System_LibraryLoader", "Win32_System_Console", "Win32_System_Kernel", "Win32_System_Diagnostics_Debug", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_Registry", "Win32_System_IO", "Win32_System_Ioctl", "Win32_Foundation", "Win32_Security_Credentials"]
optional = true
version = "0.59.0"

[target.'cfg(target_os = "windows")'.dependencies.zeroize]
version = "1.8.1"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "threading"
path = "tests/threading.rs"