-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
53 lines (46 loc) · 1.72 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "pep508_rs"
version = "0.9.1"
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"]
# Same license as pypa/packaging where the tests are from
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"]
[lints.clippy]
collapsible_if = "allow"
[dependencies]
boxcar = "0.2.6"
indexmap = "2.6.0"
itertools = "0.13.0"
pep440_rs = { version = "0.7.2", features = ["version-ranges"] }
regex = "1.10.4"
rustc-hash = "2.0.0"
schemars = { version = "0.8.21", optional = true }
serde = { version = "1.0.198", features = ["rc", "derive"] }
smallvec = "1.13.2"
thiserror = "1.0.59"
tracing = { version = "0.1.40", optional = true }
unicode-width = "0.2.0"
url = { version = "2.5.0", features = ["serde"] }
urlencoding = "2.1.3"
version-ranges = "0.1.0"
[dev-dependencies]
insta = "1.41.0"
serde_json = "1.0.116"
tracing-test = "0.2.5"
[features]
tracing = ["dep:tracing", "pep440_rs/tracing"]
# PEP 508 allows only URLs such as `foo @ https://example.org/foo` or `foo @ file:///home/ferris/foo`, and
# arguably does not allow relative paths in file URLs (`foo @ file://./foo`,
# `foo @ file:foo-3.0.0-py3-none-any.whl`, `foo @ file://foo-3.0.0-py3-none-any.whl`), as they are not part of the
# relevant RFCs, even though widely supported. Pip accepts relative file URLs and paths instead of urls
# (`foo @ ./foo-3.0.0-py3-none-any.whl`). The `non-pep508-features` controls whether these non-spec features will
# be supported.
non-pep508-extensions = []
default = []
schemars = ["dep:schemars"]