[package] name = "dprint" version = "0.47.5" authors = ["dprint code formatting "] categories = ["development-tools"] default-run = "dprint" edition = "2021" keywords = ["code-formatter", "formatter"] license = "MIT" repository = "https://github.com/dprint/dprint" description = "Binary for dprint code formatter—a pluggable and configurable code formatting platform." [dependencies] # all these deps are pinned because `cargo install dprint` doesn't lock deps # without the `--locked` flag so this helps reduce the chance of a dep being # released that breaks compiling dprint anyhow = "=1.0.86" clap = "=4.5.4" clap_complete = "=4.5.2" console_static_text = "=0.8.2" crossterm = "=0.27.0" # manually retest everything when bumping this crate dirs = "=5.0.1" dissimilar = "=1.0.9" dprint-core = { path = "../core", version = "=0.67.2", features = ["process", "wasm"] } dunce = "=1.0.4" fs3 = "=0.5.0" ignore = "=0.4.22" indexmap = { version = "=2.2.6", features = ["serde"] } jsonc-parser = { version = "=0.25.2", features = ["cst", "preserve_order"] } once_cell = "=1.19.0" parking_lot = "=0.12.3" percent-encoding = "=2.3.1" rand = "=0.8.5" serde = { version = "=1.0.203", features = ["derive"] } serde_json = { version = "=1.0.117", features = ["preserve_order"] } sha2 = "=0.10.8" similar = { version = "=2.5.0", features = ["inline"] } # disable the multi-threading feature of this crate sysinfo = { version = "=0.30.12", default-features = false } text-size = "=1.1.1" thiserror = "=1.0.61" tokio = { version = "=1.37.0", features = ["rt", "time", "macros", "rt-multi-thread", "io-std"] } tokio-util = { version = "=0.7.11" } tower-lsp = "=0.20.0" twox-hash = "=1.6.3" url = "=2.5.0" zip = "=2.1.0" # keep these in sync rustls = "=0.22.4" rustls-native-certs = "=0.7.0" rustls-pemfile = "=2.1.2" ureq = { version = "=2.9.7", features = ["socks-proxy"] } webpki-roots = "=0.26.1" # pin these to prevent them changing with `cargo install` because # patch version increases of rkyv may cause panics when deserializing # data serialized with older versions rkyv = "=0.7.43" wasmer = "=4.2.5" wasmer-compiler = "=4.2.5" [target.'cfg(windows)'.dependencies] winreg = "=0.52.0" [dev-dependencies] # stay on this version because it's good enough and makes the output the same on all platforms path-clean = "0.1.0" pretty_assertions = "1.4.0" tempfile = "3.8"