1ab8f613b9
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [whoami](https://redirect.github.com/ardaku/whoami/releases) ([source](https://redirect.github.com/ardaku/whoami)) | workspace.dependencies | major | `1.6.0` → `2.0.0` | --- ### Release Notes <details> <summary>ardaku/whoami (whoami)</summary> ### [`v2.0.2`](https://redirect.github.com/ardaku/whoami/releases/tag/v2.0.2) [Compare Source](https://redirect.github.com/ardaku/whoami/compare/v2.0.1...v2.0.2) ### Changelog #### Fixed - Crate not compiling when `std` feature isn't set ([#​215](https://redirect.github.com/ardaku/whoami/issues/215)) *** #### What's Changed - Test no-std in C/I by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​216](https://redirect.github.com/ardaku/whoami/pull/216) - Prepare v2.0.2 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​217](https://redirect.github.com/ardaku/whoami/pull/217) **Full Changelog**: <https://github.com/ardaku/whoami/compare/v2.0.1...v2.0.2> ### [`v2.0.1`](https://redirect.github.com/ardaku/whoami/releases/tag/v2.0.1) [Compare Source](https://redirect.github.com/ardaku/whoami/compare/v2.0.0...v2.0.1) ### Changelog #### Fixed - MSRV testing in CI actually works again - MSRV mishap - WhoAmI 2.0.0 was requiring an MSRV of 1.81 accidentally, due to using `core::error::Error`, changed so that when the `std` feature is enabled the MSRV is as-advertised - 1.65. Updated MSRV documentation to reflect that when the `std` feature is disabled it bumps the MSRV to 1.81 - Fixed Daku reporting 64-bit when 32-bit in `cpu_arch()` implementation - Fixed environment variable typo `LC_MONTEARY` -> `LC_MONETARY` - Fixed `whoami::Error` having infinite recursion in the `Display` implementation - Fixed Broken links in the README.md - Updated wasite minimum version to v1.0.2 to fix MSRV issues on WASI *** #### What's Changed - Fix architecture detection bug in Daku OS by [@​paolobarbolini](https://redirect.github.com/paolobarbolini) in [#​206](https://redirect.github.com/ardaku/whoami/pull/206) - Fix typo in `LC_MONETARY` env var name by [@​paolobarbolini](https://redirect.github.com/paolobarbolini) in [#​205](https://redirect.github.com/ardaku/whoami/pull/205) - Fix recursive Display implementation in Error type by [@​paolobarbolini](https://redirect.github.com/paolobarbolini) in [#​209](https://redirect.github.com/ardaku/whoami/pull/209) - Update MSRV docs in README and fix broken links by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​210](https://redirect.github.com/ardaku/whoami/pull/210) - Downgrade wasi in `Cargo.lock`, fix doc error by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​211](https://redirect.github.com/ardaku/whoami/pull/211) - Restore MSRV support and CI checks by [@​paolobarbolini](https://redirect.github.com/paolobarbolini) in [#​204](https://redirect.github.com/ardaku/whoami/pull/204) - Prepare v2.0.1 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​212](https://redirect.github.com/ardaku/whoami/pull/212) #### New Contributors - [@​paolobarbolini](https://redirect.github.com/paolobarbolini) made their first contribution in [#​206](https://redirect.github.com/ardaku/whoami/pull/206) **Full Changelog**: <https://github.com/ardaku/whoami/compare/v2.0.0...v2.0.1> ### [`v2.0.0`](https://redirect.github.com/ardaku/whoami/releases/tag/v2.0.0): (yanked) ### Changelog #### Added - Added `LanguagePreferences` - Added `Error`, which implements `Into<std::io::Error>` - no-std support - Better docs around hostnames and platform-specific limitations - `#[must_use]` to applicable functions - Support checking for `Xfce` desktop environment #### Changed - MSRV updated to 1.65, upgraded to 2021 edition - Rename `Platform::MacOS` to `Platform::Mac` - Rename `Platform::Nintendo` to `Platform::Nintendo3ds` - When checking pointer width, if can't be determined return `ErrorKind::Unsupported` instead of `ErrorKind::Other` - `*::Unknown(_)` variants are now defined at the top of enums - Updated libredox to v0.1.12 - `desktop_env()` now returns an `Option` - returning `None` when no desktop environment is applicable (such as over SSH) - Feature set changed to: - `force-stub`: Only compile to stub backend - `std`: Depend on the standard library (default feature) - `wasi-wasite`: Assume Wasite environment variables are defined when compiling to wasi targets (default feature) - `wasm-web`: Assume wasm with unknown OS is being compiled for a web page (default feature) - Rename `arch()` / `Arch` to `cpu_arch()` / `CpuArchitecture` - Rename `DesktopEnv` to `DesktopEnvironment` - `Language` is now a struct instead of an enum - Language fallbacks without the country are appended at the end of language iteration - `DesktopEnv::WebBrowser` variant now includes browser name and version - `devicename()` on web target now always returns "Browser" - `hostname()` on web target now returns the webpage URL instead of "localhost" - `DesktopEnvironment::is_gtk()` and `DesktopEnvironment::is_kde()` are now `const` and marked with `#[must_use]` - Update wasite target dependency to 1.0.0 - `distro()` now reports Windows 11 as Windows 11 instead of 10 #### Removed - Removed `Platform::Xbox` - Remove all infallible function variants, and remove the `fallible` module, moving those functions to the root module - Remove deprecated `lang()` - Remove `langs()` in favor of `lang_prefs()` - `Language::country()`, `Country` - Unnecessary `#[non_exhaustive]` attributes *** #### What's Changed - WhoAmI 2.0: 2021 edition by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​100](https://redirect.github.com/ardaku/whoami/pull/100) - Make major 2.0 breaking changes by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​101](https://redirect.github.com/ardaku/whoami/pull/101) - Deny doc warnings by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​105](https://redirect.github.com/ardaku/whoami/pull/105) - Test docs in CI by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​107](https://redirect.github.com/ardaku/whoami/pull/107) - V2: Update redox\_syscall to v0.5.1 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​112](https://redirect.github.com/ardaku/whoami/pull/112) - Keep V2 up to date with V1 patches by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​123](https://redirect.github.com/ardaku/whoami/pull/123) - V2: Make `desktop_env()` return an `Option` by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​125](https://redirect.github.com/ardaku/whoami/pull/125) - Use std::ffi everywhere instead of std::os::raw ([#​122](https://redirect.github.com/ardaku/whoami/issues/122)) by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​127](https://redirect.github.com/ardaku/whoami/pull/127) - CI: Make cross compile clippy a separate action by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​128](https://redirect.github.com/ardaku/whoami/pull/128) - Update copyright by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​129](https://redirect.github.com/ardaku/whoami/pull/129) - Update readme with new MSRV policy by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​131](https://redirect.github.com/ardaku/whoami/pull/131) - Fix clippy duplicate attribute for MacOS by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​134](https://redirect.github.com/ardaku/whoami/pull/134) - Update wasm-bindgen to v0.2.100 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​137](https://redirect.github.com/ardaku/whoami/pull/137) - Update platform dependencies by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​139](https://redirect.github.com/ardaku/whoami/pull/139) - Check more environment variables for language by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​144](https://redirect.github.com/ardaku/whoami/pull/144) - Switch Windows `hostname()` to return `PhysicalDnsHostname` by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​147](https://redirect.github.com/ardaku/whoami/pull/147) - Improved error handling by [@​robertbacula](https://redirect.github.com/robertbacula) in [#​136](https://redirect.github.com/ardaku/whoami/pull/136) - Adjusts `langs()` to match POSIX locale spec by [@​cjohnson19](https://redirect.github.com/cjohnson19) in [#​150](https://redirect.github.com/ardaku/whoami/pull/150) - Bump version to "2.0.0-pre.1" by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​152](https://redirect.github.com/ardaku/whoami/pull/152) - Fix license link by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​153](https://redirect.github.com/ardaku/whoami/pull/153) - upsteam v1 -> v2: Add discriminants to `ExtendedNameFormat` enum by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​157](https://redirect.github.com/ardaku/whoami/pull/157) - Add ability to get language prefs for categories by [@​cjohnson19](https://redirect.github.com/cjohnson19) in [#​155](https://redirect.github.com/ardaku/whoami/pull/155) - Bump version to 2.0.0-pre.2 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​159](https://redirect.github.com/ardaku/whoami/pull/159) - Try new templates by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​160](https://redirect.github.com/ardaku/whoami/pull/160) - More template changes by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​161](https://redirect.github.com/ardaku/whoami/pull/161) - Fix reading escaped unix pretty names by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​164](https://redirect.github.com/ardaku/whoami/pull/164) - Remove some TODOs now that dedicated issues exist by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​177](https://redirect.github.com/ardaku/whoami/pull/177) - Fix `LanguagePrefs` impl of `Display` by [@​cjohnson19](https://redirect.github.com/cjohnson19) in [#​179](https://redirect.github.com/ardaku/whoami/pull/179) - Update crate description by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​181](https://redirect.github.com/ardaku/whoami/pull/181) - CI: Turn off auto install for rustup by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​182](https://redirect.github.com/ardaku/whoami/pull/182) - Migrate to workspace and define xtask by [@​cjohnson19](https://redirect.github.com/cjohnson19) in [#​180](https://redirect.github.com/ardaku/whoami/pull/180) - CI: only cross-compile whoami library by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​184](https://redirect.github.com/ardaku/whoami/pull/184) - Update Release PR template (v1.6.0) by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​183](https://redirect.github.com/ardaku/whoami/pull/183) - v1 -> v2: Windows linkage fix by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​186](https://redirect.github.com/ardaku/whoami/pull/186) - Replace redox\_syscall with libredox by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​189](https://redirect.github.com/ardaku/whoami/pull/189) - Bump libredox from 0.1.9 to 0.1.10 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​191](https://redirect.github.com/ardaku/whoami/pull/191) - Change web behavior for whoami 2.0 by [@​DynoW](https://redirect.github.com/DynoW) in [#​192](https://redirect.github.com/ardaku/whoami/pull/192) - docs: document platform-specific hostname character limits by [@​naoNao89](https://redirect.github.com/naoNao89) in [#​194](https://redirect.github.com/ardaku/whoami/pull/194) - Bump libredox from 0.1.10 to 0.1.11 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​196](https://redirect.github.com/ardaku/whoami/pull/196) - Finalize Language API for whoami 2.0 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​198](https://redirect.github.com/ardaku/whoami/pull/198) - Bump libredox from 0.1.11 to 0.1.12 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​199](https://redirect.github.com/ardaku/whoami/pull/199) - Final changes preparing for whoami 2.0 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​200](https://redirect.github.com/ardaku/whoami/pull/200) - Add some `must_use`s, organize attributes, remove redundant `non_exhaustive`, fix small copypaste bug (Wasm64) by [@​BioTomateDE](https://redirect.github.com/BioTomateDE) in [#​201](https://redirect.github.com/ardaku/whoami/pull/201) - Release v2.0.0 by [@​AldaronLau](https://redirect.github.com/AldaronLau) in [#​163](https://redirect.github.com/ardaku/whoami/pull/163) #### New Contributors - [@​robertbacula](https://redirect.github.com/robertbacula) made their first contribution in [#​136](https://redirect.github.com/ardaku/whoami/pull/136) - [@​cjohnson19](https://redirect.github.com/cjohnson19) made their first contribution in [#​150](https://redirect.github.com/ardaku/whoami/pull/150) - [@​DynoW](https://redirect.github.com/DynoW) made their first contribution in [#​192](https://redirect.github.com/ardaku/whoami/pull/192) - [@​naoNao89](https://redirect.github.com/naoNao89) made their first contribution in [#​194](https://redirect.github.com/ardaku/whoami/pull/194) - [@​BioTomateDE](https://redirect.github.com/BioTomateDE) made their first contribution in [#​201](https://redirect.github.com/ardaku/whoami/pull/201) **Full Changelog**: <https://github.com/ardaku/whoami/compare/v1.6.0...v2.0.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/uv). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: konstin <konstin@mailbox.org>
340 lines
15 KiB
TOML
340 lines
15 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
exclude = [
|
|
"scripts",
|
|
# Needs nightly
|
|
"crates/uv-trampoline",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.90.0"
|
|
homepage = "https://pypi.org/project/uv/"
|
|
repository = "https://github.com/astral-sh/uv"
|
|
authors = ["uv"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
uv-auth = { version = "0.0.15", path = "crates/uv-auth" }
|
|
uv-bin-install = { version = "0.0.15", path = "crates/uv-bin-install" }
|
|
uv-build-backend = { version = "0.0.15", path = "crates/uv-build-backend" }
|
|
uv-build-frontend = { version = "0.0.15", path = "crates/uv-build-frontend" }
|
|
uv-cache = { version = "0.0.15", path = "crates/uv-cache" }
|
|
uv-cache-info = { version = "0.0.15", path = "crates/uv-cache-info" }
|
|
uv-cache-key = { version = "0.0.15", path = "crates/uv-cache-key" }
|
|
uv-cli = { version = "0.0.15", path = "crates/uv-cli" }
|
|
uv-client = { version = "0.0.15", path = "crates/uv-client" }
|
|
uv-configuration = { version = "0.0.15", path = "crates/uv-configuration" }
|
|
uv-console = { version = "0.0.15", path = "crates/uv-console" }
|
|
uv-dirs = { version = "0.0.15", path = "crates/uv-dirs" }
|
|
uv-dispatch = { version = "0.0.15", path = "crates/uv-dispatch" }
|
|
uv-distribution = { version = "0.0.15", path = "crates/uv-distribution" }
|
|
uv-distribution-filename = { version = "0.0.15", path = "crates/uv-distribution-filename" }
|
|
uv-distribution-types = { version = "0.0.15", path = "crates/uv-distribution-types" }
|
|
uv-extract = { version = "0.0.15", path = "crates/uv-extract" }
|
|
uv-flags = { version = "0.0.15", path = "crates/uv-flags" }
|
|
uv-fs = { version = "0.0.15", path = "crates/uv-fs", features = ["serde", "tokio"] }
|
|
uv-git = { version = "0.0.15", path = "crates/uv-git" }
|
|
uv-git-types = { version = "0.0.15", path = "crates/uv-git-types" }
|
|
uv-globfilter = { version = "0.0.15", path = "crates/uv-globfilter" }
|
|
uv-install-wheel = { version = "0.0.15", path = "crates/uv-install-wheel", default-features = false }
|
|
uv-installer = { version = "0.0.15", path = "crates/uv-installer" }
|
|
uv-keyring = { version = "0.0.15", path = "crates/uv-keyring" }
|
|
uv-logging = { version = "0.0.15", path = "crates/uv-logging" }
|
|
uv-macros = { version = "0.0.15", path = "crates/uv-macros" }
|
|
uv-metadata = { version = "0.0.15", path = "crates/uv-metadata" }
|
|
uv-normalize = { version = "0.0.15", path = "crates/uv-normalize" }
|
|
uv-once-map = { version = "0.0.15", path = "crates/uv-once-map" }
|
|
uv-options-metadata = { version = "0.0.15", path = "crates/uv-options-metadata" }
|
|
uv-performance-memory-allocator = { version = "0.0.15", path = "crates/uv-performance-memory-allocator" }
|
|
uv-pep440 = { version = "0.0.15", path = "crates/uv-pep440", features = ["tracing", "rkyv", "version-ranges"] }
|
|
uv-pep508 = { version = "0.0.15", path = "crates/uv-pep508", features = ["non-pep508-extensions"] }
|
|
uv-platform = { version = "0.0.15", path = "crates/uv-platform" }
|
|
uv-platform-tags = { version = "0.0.15", path = "crates/uv-platform-tags" }
|
|
uv-preview = { version = "0.0.15", path = "crates/uv-preview" }
|
|
uv-publish = { version = "0.0.15", path = "crates/uv-publish" }
|
|
uv-pypi-types = { version = "0.0.15", path = "crates/uv-pypi-types" }
|
|
uv-python = { version = "0.0.15", path = "crates/uv-python" }
|
|
uv-redacted = { version = "0.0.15", path = "crates/uv-redacted" }
|
|
uv-requirements = { version = "0.0.15", path = "crates/uv-requirements" }
|
|
uv-requirements-txt = { version = "0.0.15", path = "crates/uv-requirements-txt" }
|
|
uv-resolver = { version = "0.0.15", path = "crates/uv-resolver" }
|
|
uv-scripts = { version = "0.0.15", path = "crates/uv-scripts" }
|
|
uv-settings = { version = "0.0.15", path = "crates/uv-settings" }
|
|
uv-shell = { version = "0.0.15", path = "crates/uv-shell" }
|
|
uv-small-str = { version = "0.0.15", path = "crates/uv-small-str" }
|
|
uv-state = { version = "0.0.15", path = "crates/uv-state" }
|
|
uv-static = { version = "0.0.15", path = "crates/uv-static" }
|
|
uv-tool = { version = "0.0.15", path = "crates/uv-tool" }
|
|
uv-torch = { version = "0.0.15", path = "crates/uv-torch" }
|
|
uv-trampoline-builder = { version = "0.0.15", path = "crates/uv-trampoline-builder" }
|
|
uv-types = { version = "0.0.15", path = "crates/uv-types" }
|
|
uv-unix = { version = "0.0.15", path = "crates/uv-unix" }
|
|
uv-version = { version = "0.9.26", path = "crates/uv-version" }
|
|
uv-virtualenv = { version = "0.0.15", path = "crates/uv-virtualenv" }
|
|
uv-warnings = { version = "0.0.15", path = "crates/uv-warnings" }
|
|
uv-workspace = { version = "0.0.15", path = "crates/uv-workspace" }
|
|
|
|
ambient-id = { version = "0.0.7", default-features = false, features = ["astral-reqwest-middleware"] }
|
|
anstream = { version = "0.6.15" }
|
|
anyhow = { version = "1.0.89" }
|
|
arcstr = { version = "1.2.0" }
|
|
arrayvec = { version = "0.7.6" }
|
|
astral-tokio-tar = { version = "0.5.6" }
|
|
async-channel = { version = "2.3.1" }
|
|
async-compression = { version = "0.4.12", features = ["bzip2", "gzip", "xz", "zstd"] }
|
|
async-trait = { version = "0.1.82" }
|
|
async_http_range_reader = { version = "0.9.1", package = "astral_async_http_range_reader" }
|
|
async_zip = { version = "0.0.17", package = "astral_async_zip", features = ["bzip2", "deflate", "lzma", "tokio", "xz", "zstd"] }
|
|
axoupdater = { version = "0.9.0", default-features = false }
|
|
backon = { version = "1.3.0" }
|
|
base64 = { version = "0.22.1" }
|
|
bitflags = { version = "2.6.0" }
|
|
blake2 = { version = "0.10.6" }
|
|
boxcar = { version = "0.2.5" }
|
|
bytecheck = { version = "0.8.0" }
|
|
cargo-util = { version = "0.2.14" }
|
|
clap = { version = "4.5.17", features = ["derive", "env", "string", "wrap_help"] }
|
|
clap_complete_command = { version = "0.6.1" }
|
|
configparser = { version = "3.1.0" }
|
|
console = { version = "0.16.0", default-features = false, features = ["std"] }
|
|
csv = { version = "1.3.0" }
|
|
ctrlc = { version = "3.4.5" }
|
|
cyclonedx-bom = { version = "0.8.0" }
|
|
dashmap = { version = "6.1.0" }
|
|
data-encoding = { version = "2.6.0" }
|
|
diskus = { version = "0.9.0", default-features = false }
|
|
dotenvy = { version = "0.15.7" }
|
|
dunce = { version = "1.0.5" }
|
|
either = { version = "1.13.0" }
|
|
encoding_rs_io = { version = "0.1.7" }
|
|
embed-manifest = { version = "1.5.0" }
|
|
etcetera = { version = "0.11.0" }
|
|
fastrand = { version = "2.3.0" }
|
|
flate2 = { version = "1.0.33", default-features = false, features = ["zlib-rs"] }
|
|
fs-err = { version = "3.0.0", features = ["tokio"] }
|
|
futures = { version = "0.3.30" }
|
|
glob = { version = "0.3.1" }
|
|
globset = { version = "0.4.15" }
|
|
globwalk = { version = "0.9.1" }
|
|
goblin = { version = "0.10.0", default-features = false, features = ["std", "elf32", "elf64", "endian_fd"] }
|
|
h2 = { version = "0.4.7" }
|
|
hashbrown = { version = "0.16.0" }
|
|
hex = { version = "0.4.3" }
|
|
html-escape = { version = "0.2.13" }
|
|
http = { version = "1.1.0" }
|
|
indexmap = { version = "2.5.0" }
|
|
indicatif = { version = "0.18.0" }
|
|
indoc = { version = "2.0.5" }
|
|
itertools = { version = "0.14.0" }
|
|
jiff = { version = "0.2.0", features = ["serde"] }
|
|
junction = { version = "1.2.0" }
|
|
mailparse = { version = "0.16.0" }
|
|
md-5 = { version = "0.10.6" }
|
|
memchr = { version = "2.7.4" }
|
|
miette = { version = "7.2.0", features = ["fancy-no-backtrace"] }
|
|
nanoid = { version = "0.4.0" }
|
|
nix = { version = "0.30.0", features = ["resource", "signal"] }
|
|
open = { version = "5.3.2" }
|
|
owo-colors = { version = "4.1.0" }
|
|
path-slash = { version = "0.2.1" }
|
|
pathdiff = { version = "0.2.1" }
|
|
percent-encoding = { version = "2.3.1" }
|
|
petgraph = { version = "0.8.0" }
|
|
proc-macro2 = { version = "1.0.86" }
|
|
procfs = { version = "0.18.0", default-features = false, features = ["flate2"] }
|
|
pubgrub = { version = "0.3.3" , package = "astral-pubgrub" }
|
|
quote = { version = "1.0.37" }
|
|
rayon = { version = "1.10.0" }
|
|
ref-cast = { version = "1.0.24" }
|
|
reflink-copy = { version = "0.1.19" }
|
|
regex = { version = "1.10.6" }
|
|
regex-automata = { version = "0.4.8", default-features = false, features = ["dfa-build", "dfa-search", "perf", "std", "syntax"] }
|
|
reqsign = { version = "0.18.1", features = ["aws", "google", "default-context"], default-features = false }
|
|
reqwest = { version = "0.12.22", default-features = false, features = ["json", "gzip", "deflate", "zstd", "stream", "system-proxy", "rustls-tls", "rustls-tls-native-roots", "socks", "multipart", "http2", "blocking"] }
|
|
reqwest-middleware = { version = "0.4.2", package = "astral-reqwest-middleware", features = ["multipart"] }
|
|
reqwest-retry = { version = "0.8.0", package = "astral-reqwest-retry" }
|
|
rkyv = { version = "0.8.8", features = ["bytecheck"] }
|
|
rmp-serde = { version = "1.3.0" }
|
|
rust-netrc = { version = "0.1.2" }
|
|
rustc-hash = { version = "2.0.0" }
|
|
rustix = { version = "1.0.0", default-features = false, features = ["fs", "std"] }
|
|
same-file = { version = "1.0.6" }
|
|
schemars = { version = "1.0.0", features = ["url2"] }
|
|
seahash = { version = "4.1.0" }
|
|
secret-service = { version = "5.0.0", features = ["rt-tokio-crypto-rust"] }
|
|
security-framework = { version = "3" }
|
|
self-replace = { version = "1.5.0" }
|
|
serde = { version = "1.0.210", features = ["derive", "rc"] }
|
|
serde-untagged = { version = "0.1.6" }
|
|
serde_json = { version = "1.0.128" }
|
|
sha2 = { version = "0.10.8" }
|
|
smallvec = { version = "1.13.2" }
|
|
spdx = { version = "0.13.0" }
|
|
syn = { version = "2.0.77" }
|
|
sys-info = { version = "0.9.1" }
|
|
tar = { version = "0.4.43" }
|
|
target-lexicon = { version = "0.13.0" }
|
|
tempfile = { version = "3.14.0" }
|
|
textwrap = { version = "0.16.1" }
|
|
thiserror = { version = "2.0.0" }
|
|
astral-tl = { version = "0.7.11" }
|
|
tokio = { version = "1.40.0", features = ["fs", "io-util", "macros", "process", "rt", "signal", "sync", "time"] }
|
|
tokio-stream = { version = "0.1.16" }
|
|
tokio-util = { version = "0.7.12", features = ["compat", "io"] }
|
|
toml = { version = "0.9.2", features = ["fast_hash"] }
|
|
toml_edit = { version = "0.24.0", features = ["serde"] }
|
|
tracing = { version = "0.1.40" }
|
|
tracing-durations-export = { version = "0.3.0", features = ["plot"] }
|
|
tracing-subscriber = { version = "0.3.18" } # Default feature set for uv_build, uv activates extra features
|
|
tracing-test = { version = "0.2.5" }
|
|
tracing-tree = { version = "0.4.0" }
|
|
unicode-width = { version = "0.2.0" }
|
|
unscanny = { version = "0.1.0" }
|
|
url = { version = "2.5.2", features = ["serde"] }
|
|
uuid = { version = "1.16.0" }
|
|
version-ranges = { version = "0.1.3", package = "astral-version-ranges" }
|
|
walkdir = { version = "2.5.0" }
|
|
which = { version = "8.0.0", features = ["regex"] }
|
|
windows = { version = "0.61.0", features = ["std", "Win32_Foundation", "Win32_Globalization", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_Diagnostics_Debug", "Win32_System_Environment", "Win32_System_IO", "Win32_System_Ioctl", "Win32_System_JobObjects", "Win32_System_Kernel", "Win32_System_LibraryLoader", "Win32_System_Registry", "Win32_System_Threading", "Win32_UI_WindowsAndMessaging"] }
|
|
windows-registry = { version = "0.5.0" }
|
|
wiremock = { version = "0.6.4" }
|
|
wmi = { version = "0.16.0", default-features = false }
|
|
xz2 = { version = "0.1.7" }
|
|
zeroize = { version = "1.8.1" }
|
|
zip = { version = "2.2.3", default-features = false, features = ["deflate", "zstd", "bzip2", "lzma", "xz"] }
|
|
zstd = { version = "0.13.3" }
|
|
|
|
# dev-dependencies
|
|
assert_cmd = { version = "2.0.16" }
|
|
assert_fs = { version = "1.1.2" }
|
|
byteorder = { version = "1.5.0" }
|
|
filetime = { version = "0.2.25" }
|
|
http-body-util = { version = "0.1.2" }
|
|
hyper = { version = "1.4.1", features = ["server", "http1"] }
|
|
hyper-util = { version = "0.1.8", features = ["tokio", "server", "http1"] }
|
|
ignore = { version = "0.4.23" }
|
|
insta = { version = "1.40.0", features = ["json", "filters", "redactions"] }
|
|
predicates = { version = "3.1.2" }
|
|
rcgen = { version = "0.14.5", features = ["crypto", "pem", "ring"], default-features = false }
|
|
rustls = { version = "0.23.29", default-features = false }
|
|
similar = { version = "2.6.0" }
|
|
temp-env = { version = "0.3.6" }
|
|
test-case = { version = "3.3.1" }
|
|
test-log = { version = "0.2.16", features = ["trace"], default-features = false }
|
|
tokio-rustls = { version = "0.26.2", default-features = false }
|
|
whoami = { version = "2.0.0" }
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "warn"
|
|
unreachable_pub = "warn"
|
|
|
|
[workspace.lints.clippy]
|
|
pedantic = { level = "warn", priority = -2 }
|
|
# Allowed pedantic lints
|
|
char_lit_as_u8 = "allow"
|
|
collapsible_else_if = "allow"
|
|
collapsible_if = "allow"
|
|
implicit_hasher = "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"
|
|
similar_names = "allow"
|
|
struct_excessive_bools = "allow"
|
|
too_many_arguments = "allow"
|
|
too_many_lines = "allow"
|
|
used_underscore_binding = "allow"
|
|
# Disallowed restriction lints
|
|
print_stdout = "warn"
|
|
print_stderr = "warn"
|
|
dbg_macro = "warn"
|
|
empty_drop = "warn"
|
|
empty_structs_with_brackets = "warn"
|
|
exit = "warn"
|
|
get_unwrap = "warn"
|
|
rc_buffer = "warn"
|
|
rc_mutex = "warn"
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
if_not_else = "allow"
|
|
use_self = "warn"
|
|
|
|
# Diagnostics are not actionable: Enable once https://github.com/rust-lang/rust-clippy/issues/13774 is resolved.
|
|
large_stack_arrays = "allow"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = "fat"
|
|
|
|
# This profile is meant to mimic the `release` profile as closely as
|
|
# possible, but using settings that are more beneficial for iterative
|
|
# development. That is, the `release` profile is intended for actually
|
|
# building the release, where as `profiling` is meant for building `uv`
|
|
# for running benchmarks.
|
|
#
|
|
# The main differences here are to avoid stripping debug information
|
|
# and disabling lto. This does result in a mismatch between our release
|
|
# configuration and our benchmarking configuration, which is unfortunate.
|
|
# But compile times with `lto = true` are completely untenable:
|
|
#
|
|
# $ cargo b --profile profiling -p uv
|
|
# Compiling uv-cli v0.0.1 (/home/andrew/astral/uv/crates/uv-cli)
|
|
# Compiling uv v0.2.34 (/home/andrew/astral/uv/crates/uv)
|
|
# Finished `profiling` profile [optimized + debuginfo] target(s) in 3m 47s
|
|
#
|
|
# Using `lto = "thin"` brings a massive improvement, but it's still slow:
|
|
#
|
|
# $ cargo b --profile profiling -p uv
|
|
# Compiling uv v0.2.34 (/home/andrew/astral/uv/crates/uv)
|
|
# Finished `profiling` profile [optimized + debuginfo] target(s) in 53.98s
|
|
#
|
|
# But with `lto = false`:
|
|
#
|
|
# $ cargo b --profile profiling -p uv
|
|
# Compiling uv v0.2.34 (/home/andrew/astral/uv/crates/uv)
|
|
# Finished `profiling` profile [optimized + debuginfo] target(s) in 30.09s
|
|
#
|
|
# We get more reasonable-ish compile times. At least, it's not enough
|
|
# time to get up and get a cup of coffee before it completes.
|
|
#
|
|
# This setup does risk that we are measuring something in benchmarks
|
|
# that we are shipping, but in order to make those two the same, we'd
|
|
# either need to make compile times way worse for development, or take
|
|
# a hit to binary size and a slight hit to runtime performance in our
|
|
# release builds.
|
|
[profile.profiling]
|
|
inherits = "release"
|
|
strip = false
|
|
debug = "full"
|
|
lto = false
|
|
|
|
# Profile for fast test execution: Skip debug info generation, and
|
|
# apply basic optimization, which speed up build and running tests.
|
|
[profile.fast-build]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
debug = 0
|
|
strip = "debuginfo"
|
|
|
|
# Profile for faster builds: Skip debug info generation, for faster
|
|
# builds of smaller binaries.
|
|
[profile.no-debug]
|
|
inherits = "dev"
|
|
debug = 0
|
|
strip = "debuginfo"
|
|
|
|
# Profile to build a minimally sized binary for uv-build
|
|
[profile.minimal-size]
|
|
inherits = "release"
|
|
opt-level = "z"
|
|
# This will still show a panic message, we only skip the unwind
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
|
|
# The profile that 'cargo dist' will build with.
|
|
[profile.dist]
|
|
inherits = "release"
|