-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
37 lines (31 loc) · 973 Bytes
/
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
[package]
name = "pyproject-fmt-rust"
version = "1.1.6"
description = "Format pyproject.toml files"
repository = "https://github.com/tox-dev/pyproject-fmt"
readme = "README.md"
license = "MIT"
edition = "2021"
[lib]
name = "_lib"
path = "rust/src/main.rs"
crate-type = ["cdylib"]
[dependencies]
taplo = { version = "0.13.0" } # formatter
pyo3 = { version = "0.21.2", features = ["abi3-py38"] } # integration with Python
pep440_rs = { version = "0.6.0" }
pep508_rs = { version = "0.6.0" }
lexical-sort = { version = "0.3.1" }
regex = { version = "1.10.4" }
[features]
extension-module = ["pyo3/extension-module"]
default = ["extension-module"]
[lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
[dev-dependencies]
rstest = { version = "0.19.0" } # parametrized tests
indoc = { version = "2.0.5" } # dedented test cases for literal strings