-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (39 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
46 lines (39 loc) · 1.4 KB
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
[package]
name = "dprint-plugin-ruff"
version = "0.7.9"
authors = ["David Sherret <dsherret@gmail.com>"]
edition = "2024"
homepage = "https://github.com/dprint/dprint-plugin-ruff"
keywords = ["formatting", "formatter", "ruff"]
license = "MIT"
repository = "https://github.com/dprint/dprint-plugin-ruff"
description = "Python formatter for dprint via Ruff."
[lib]
crate-type = ["lib", "cdylib"]
[profile.release]
opt-level = 3
debug = false
lto = true
debug-assertions = false
overflow-checks = false
panic = "abort"
[features]
wasm = ["serde_json", "dprint-core/wasm"]
[dependencies]
anyhow = "1.0.51"
dprint-core = { version = "0.63.3", default-features = false }
ruff_formatter = { git = "https://github.com/astral-sh/ruff", tag = "0.15.10" }
ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.15.10" }
ruff_python_formatter = { git = "https://github.com/astral-sh/ruff", tag = "0.15.10" }
serde = { version = "1.0.108", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
uuid = { version = "1", features = ["v4", "rng-getrandom"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = "0.3"
[dev-dependencies]
dprint-development = "0.9.5"
pretty_assertions = "1.4.0"
serde_json = { version = "1.0" }
[patch.crates-io]
getrandom = { git = "https://github.com/rust-random/getrandom", rev = "5ecab629385174c842b19716e90b0c8896790ddc" }
web-time = { path = "./web-time" }