[package]
edition = "2021"
rust-version = "1.74"
name = "olpat-cli"
version = "0.10.0"
authors = ["weichweich"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI for the olpat TOML toolkit (a maintained fork of taplo)"
homepage = "https://github.com/weichweich/olpat"
readme = "README.md"
keywords = [
"toml",
"linter",
"formatter",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/weichweich/olpat"
[package.metadata.auto-tag]
enabled = true
[features]
completions = ["dep:clap_complete"]
default = [
"completions",
"lint",
"lsp",
"rustls-tls",
"toml-test",
]
lint = [
"reqwest",
"olpat-common/reqwest",
"olpat-common/schema",
]
lsp = [
"async-ctrlc",
"lint",
"olpat-lsp",
]
native-tls = [
"olpat-common/native-tls",
"olpat-lsp?/native-tls",
]
rustls-tls = [
"olpat-common/rustls-tls",
"olpat-lsp?/rustls-tls",
]
toml-test = ["lint"]
[lib]
name = "olpat_cli"
path = "src/lib.rs"
[[bin]]
name = "olpat"
path = "bin/olpat.rs"
[dependencies.anyhow]
version = "1.0.53"
[dependencies.clap]
version = "4.5.31"
features = [
"std",
"derive",
"cargo",
"env",
"default",
]
default-features = false
[dependencies.codespan-reporting]
version = "0.11.1"
[dependencies.futures]
version = "0.3.30"
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.itertools]
version = "0.10.3"
[dependencies.olpat]
version = "0.14.0"
features = ["serde"]
[dependencies.olpat-common]
version = "0.6.0"
[dependencies.olpat-lsp]
version = "0.8.0"
optional = true
default-features = false
[dependencies.once_cell]
version = "1.4"
[dependencies.regex]
version = "1.5"
[dependencies.reqwest]
version = "0.11.9"
features = ["json"]
optional = true
default-features = false
[dependencies.schemars]
version = "0.8.3"
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1.0.78"
[dependencies.time]
version = "0.3.7"
features = ["parsing"]
[dependencies.toml]
version = "0.7"
[dependencies.tracing]
version = "0.1.30"
[dependencies.tracing-subscriber]
version = "0.3.7"
features = ["env-filter"]
[dependencies.url]
version = "2.2.2"
[target.'cfg(not(target_family = "wasm"))'.dependencies.ansi_term]
version = "0.12"
[target.'cfg(not(target_family = "wasm"))'.dependencies.async-ctrlc]
version = "1.2.0"
features = ["stream"]
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.clap_complete]
version = "4.4.18"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.olpat-lsp-async-stub]
version = "0.7.0"
features = [
"tokio-tcp",
"tokio-stdio",
]
[target.'cfg(not(target_family = "wasm"))'.dependencies.prettydiff]
version = "0.6.1"
default-features = false
[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1.24.2"
features = [
"sync",
"fs",
"time",
"io-std",
"rt-multi-thread",
"parking_lot",
]
default-features = false
[target.'cfg(target_family = "wasm")'.dependencies.tokio]
version = "1.24.2"
features = [
"sync",
"parking_lot",
"io-util",
]
default-features = false