mirror of
https://github.com/astral-sh/uv
synced 2026-01-25 15:30:12 -05:00
The initial motivation for this change was that we were using both the `windows`, the `window_sys` and the `windows_core` crate in various places. These crates have slightly unconventional versioning scheme where there is a large workspace with the same version in general, but only some crates get breaking releases when a new breaking release happens, the others stay on the previous breaking version. The `windows` crate is a shim for all three of them, with a single version. This simplifies handling the versions. Using `windows` over `windows_sys` has the advantage of a higher level error interface, we now get a `Result` for all windows API calls instead of C-style int-returns and get-last-error calls. This makes the uv-keyring crate more resilient. We keep using the `windows_registry` crate, which provides a higher level interface to windows registry access.
33 lines
686 B
TOML
33 lines
686 B
TOML
[package]
|
|
name = "uv-shell"
|
|
version = "0.0.1"
|
|
edition = { workspace = true }
|
|
description = "Utilities for detecting and manipulating shell environments"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
uv-fs = { workspace = true }
|
|
uv-static = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
home = { workspace = true }
|
|
same-file = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { workspace = true }
|
|
windows-registry = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
fs-err = { workspace = true }
|
|
tempfile = { workspace = true }
|