forked from JohnnyMorganz/StyLua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (46 loc) · 1.1 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "stylua"
version = "0.11.3"
authors = ["JohnnyMorganz <[email protected]>"]
description = "A code formatter for Lua"
license = "MPL-2.0"
repository = "https://github.com/johnnymorganz/stylua"
readme = "README.md"
categories = ["command-line-utilities", "development-tools"]
keywords = ["cli", "utility", "lua", "lua51", "formatter"]
edition = "2018"
exclude = ["stylua-vscode/**", "tests/**"]
[lib]
name = "stylua_lib"
path = "src/lib.rs"
[[bin]]
name = "stylua"
path = "src/cli/main.rs"
[features]
default = []
luau = ["full_moon/roblox"]
lua52 = ["full_moon/lua52"]
[dependencies]
anyhow = "1.0.41"
console = "0.14.1"
crossbeam-channel = "0.5.1"
full_moon = { version = "0.14.0" }
globset = "0.4.8"
ignore = "0.4.18"
lazy_static = "1.4.0"
num_cpus = "1.13.0"
regex = "1.5.4"
serde = "1.0.126"
similar = { version = "1.3.0", features = ["text", "inline"] }
structopt = "0.3.21"
threadpool = "1.8.1"
toml = "0.5.8"
[dev-dependencies]
criterion = "0.3.4"
insta = { version = "1.7.1", features = ["glob"] }
[[bench]]
name = "date"
harness = false
[[bench]]
name = "nested_tables"
harness = false