101b56dad4
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 (https://github.com/rust-lang/rustup/commit/bce3ed67d219a2b754857f9e231287794d8c770d). 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 }
|