mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 14:00:11 -05:00
Currently, we're using both the official `windows-*` with
`windows-registry` crates as well as `winreg`, an older,
community-maintained crate.
To unify the codebase, we follow the lead of rustup that already
performed this migration
(bce3ed67d2).
This is also a prerequisite to unblock the unification of the
windows-sys crate versions.
I've manually tested that `uv tool update-shell` works for adding to
PATH and correctly detects when PATH was already added.
26 lines
540 B
TOML
26 lines
540 B
TOML
[package]
|
|
name = "uv-shell"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
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 }
|
|
home = { workspace = true }
|
|
same-file = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-registry = { workspace = true }
|
|
windows-result = { workspace = true }
|
|
windows-sys = { workspace = true }
|