f1aa70d9d3
## Summary A variety of small refactors to the distribution types crate to (1) return `Result` if we find an invalid wheel, rather than treating it as a source distribution with a `.whl` suffix, and (2) DRY up some repeated code around URLs.
26 lines
787 B
TOML
26 lines
787 B
TOML
[package]
|
|
name = "distribution-types"
|
|
version = "0.0.1"
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[dependencies]
|
|
distribution-filename = { path = "../distribution-filename" }
|
|
pep440_rs = { path = "../pep440-rs" }
|
|
puffin-cache = { path = "../puffin-cache" }
|
|
puffin-git = { path = "../puffin-git" }
|
|
puffin-normalize = { path = "../puffin-normalize" }
|
|
pypi-types = { path = "../pypi-types" }
|
|
|
|
anyhow = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|