mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Remove some unused dependencies (#1077)
This commit is contained in:
parent
afb571643f
commit
0519375bd6
8 changed files with 9 additions and 27 deletions
|
@ -21,7 +21,6 @@ platform-tags = { path = "../platform-tags" }
|
|||
puffin-git = { path = "../puffin-git", features = ["vendored-openssl"] }
|
||||
puffin-normalize = { path = "../puffin-normalize" }
|
||||
pypi-types = { path = "../pypi-types" }
|
||||
requirements-txt = { path = "../requirements-txt" }
|
||||
|
||||
anyhow = { workspace = true }
|
||||
chrono = { workspace = true, features = ["serde"] }
|
||||
|
|
|
@ -21,7 +21,6 @@ pep440_rs = { path = "../pep440-rs" }
|
|||
puffin-normalize = { path = "../puffin-normalize" }
|
||||
|
||||
derivative = { workspace = true }
|
||||
fs-err = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
pyo3 = { workspace = true, optional = true, features = ["abi3", "extension-module"] }
|
||||
pyo3-log = { workspace = true, optional = true }
|
||||
|
@ -34,10 +33,10 @@ unicode-width = { workspace = true }
|
|||
url = { workspace = true, features = ["serde"] }
|
||||
|
||||
[dev-dependencies]
|
||||
indoc = "2.0.4"
|
||||
log = "0.4.20"
|
||||
testing_logger = "0.1.1"
|
||||
serde_json = "1.0.111"
|
||||
indoc = { version = "2.0.4" }
|
||||
log = { version = "0.4.20" }
|
||||
serde_json = { version = "1.0.111" }
|
||||
testing_logger = { version = "0.1.1" }
|
||||
|
||||
[features]
|
||||
pyo3 = ["dep:pyo3", "pep440_rs/pyo3", "pyo3-log"]
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
//! Taken from `glibc_version` (<https://github.com/delta-incubator/glibc-version-rs>),
|
||||
//! which used the Apache 2.0 license (but not the MIT license)
|
||||
|
||||
use crate::{Os, PlatformError};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::{Command, Stdio};
|
||||
|
||||
use fs_err as fs;
|
||||
use goblin::elf::Elf;
|
||||
use once_cell::sync::Lazy;
|
||||
use regex::Regex;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::{Command, Stdio};
|
||||
use tracing::trace;
|
||||
|
||||
use crate::{Os, PlatformError};
|
||||
|
||||
// glibc version is taken from std/sys/unix/os.rs
|
||||
fn glibc_version_from_ldd() -> Result<Os, PlatformError> {
|
||||
trace!("Falling back to `ldd --version` to detect OS libc version");
|
||||
|
|
|
@ -30,7 +30,6 @@ puffin-traits = { path = "../puffin-traits" }
|
|||
pypi-types = { path = "../pypi-types" }
|
||||
|
||||
anyhow = { workspace = true }
|
||||
bytesize = { workspace = true }
|
||||
fs-err = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
nanoid = { workspace = true }
|
||||
|
|
|
@ -31,11 +31,9 @@ puffin-normalize = { path = "../puffin-normalize" }
|
|||
puffin-traits = { path = "../puffin-traits" }
|
||||
puffin-warnings = { path = "../puffin-warnings" }
|
||||
pypi-types = { path = "../pypi-types" }
|
||||
requirements-txt = { path = "../requirements-txt" }
|
||||
|
||||
anstream = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive"], optional = true }
|
||||
dashmap = { workspace = true }
|
||||
|
|
|
@ -44,7 +44,6 @@ flate2 = { workspace = true, default-features = false }
|
|||
|
||||
anstream = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
fs-err = { workspace = true, features = ["tokio"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue