Remove some unused dependencies (#1077)

This commit is contained in:
Charlie Marsh 2024-01-24 08:58:21 -08:00 committed by GitHub
parent afb571643f
commit 0519375bd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 9 additions and 27 deletions

View file

@ -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"] }

View file

@ -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"]

View file

@ -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");

View file

@ -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 }

View file

@ -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 }

View file

@ -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"] }