[dependencies.anyhow]
version = "1.0.69"
[dependencies.async-trait]
optional = true
version = "0.1.72"
[dependencies.bumpalo]
features = ["allocator-api2", "collections"]
optional = true
version = "3.13.0"
[dependencies.crossbeam-channel]
optional = true
version = "0.5.7"
[dependencies.futures]
optional = true
version = "0.3.26"
[dependencies.hashbrown]
optional = true
version = "0.14.3"
[dependencies.indexmap]
features = ["serde"]
version = "2.0.2"
[dependencies.parking_lot]
optional = true
version = "0.12.1"
[dependencies.rustc-hash]
optional = true
version = "1.1.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.147"
[dependencies.serde_json]
features = ["preserve_order"]
optional = true
version = "1.0"
[dependencies.tokio]
features = ["macros", "rt", "time"]
optional = true
version = "1"
[dependencies.tokio-util]
optional = true
version = "0.7.7"
[dependencies.unicode-width]
optional = true
version = "0.1.10"
[features]
async_runtime = ["async-trait", "futures", "parking_lot", "tokio", "tokio-util"]
communication = ["crossbeam-channel", "async_runtime"]
default = ["formatting"]
formatting = ["bumpalo", "hashbrown", "rustc-hash", "unicode-width"]
process = ["communication", "serde_json", "libc", "winapi"]
tracing = ["formatting"]
wasm = []
[package]
authors = ["David Sherret <dsherret@gmail.com>"]
description = "Core library for dprint."
edition = "2021"
homepage = "https://github.com/dprint/dprint/tree/main/crates/core"
keywords = ["formatting", "formatter"]
license = "MIT"
name = "dprint-core"
readme = "README.md"
repository = "https://github.com/dprint/dprint"
version = "0.66.2"
[target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc]
optional = true
version = "0.2.140"
[target."cfg(windows)".dependencies.winapi]
features = ["handleapi", "synchapi", "winbase", "winerror"]
optional = true
version = "0.3.9"