uv/crates/pep508-rs/Cargo.toml
Charlie Marsh c8477991a9
Use local versions of PEP 440 and PEP 508 crates (#32)
This PR modifies the PEP 440 and PEP 508 crates to pass CI, primarily by
fixing all lint violations.

We're also now using these crates in the workspace via `path`.
(Previously, we were still fetching them from Cargo.)
2023-10-07 00:16:44 +00:00

39 lines
1.2 KiB
TOML

[package]
name = "pep508_rs"
version = "0.2.3"
description = "A library for python dependency specifiers, better known as PEP 508"
edition = "2021"
include = ["/src", "Changelog.md", "License-Apache", "License-BSD", "Readme.md", "pyproject.toml"]
license = "Apache-2.0 OR BSD-2-Clause"
readme = "Readme.md"
repository = "https://github.com/konstin/pep508_rs"
[lib]
name = "pep508_rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
pep440_rs = { path = "../pep440-rs" }
once_cell = { workspace = true }
regex = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true }
serde_json = { workspace = true, optional = true }
thiserror = { workspace = true }
tracing = { workspace = true, features = ["log"] }
unicode-width = { workspace = true }
url = { workspace = true, features = ["serde"] }
pyo3 = { version = "0.19.2", optional = true, features = ["abi3", "extension-module"] }
pyo3-log = { version = "0.8.3", optional = true }
[dev-dependencies]
indoc = "2.0.4"
log = "0.4.20"
testing_logger = "0.1.1"
serde_json = "1.0.107"
[features]
pyo3 = ["dep:pyo3", "pep440_rs/pyo3", "pyo3-log"]
serde = ["dep:serde", "pep440_rs/serde"]
default = []