forked from nushell/nufmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (35 loc) · 921 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
38
39
40
41
42
[package]
name = "nufmt"
version = "0.1.0"
edition = "2018"
authors = ["The NuShell Contributors"]
license = "MIT"
description = "Formats nushell extremely fast"
homepage = "https://github.com/nushell/nufmt"
repository = "https://github.com/nushell/nufmt"
readme = "README.md"
keywords = ["nu", "nushell", "formatting", "cli"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.71"
clap = { version = "4.3.0", optional = true, features = ["unicode", "derive"] }
env_logger = "0.10.0"
log = "0.4.17"
nu-parser = "0.81.0"
nu-protocol = "0.81.0"
[dev-dependencies]
criterion = "0.5.1"
[features]
default = ["bin"]
bin = ["clap"]
[lib]
name = "nu_formatter"
path = "src/lib.rs"
[[bin]]
name = "nufmt"
path = "src/main.rs"
required-features = ["bin"]
[[bench]]
name = "file-format-bench"
harness = false