-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathCargo.toml
124 lines (115 loc) · 3.14 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[workspace.package]
authors = ["Liu-Cheng Xu <[email protected]>"]
version = "0.1.54"
edition = "2021"
homepage = "https://github.com/liuchengxu/vim-clap"
repository = "https://github.com/liuchengxu/vim-clap.git"
license = "MIT"
publish = false
[workspace]
resolver = "2"
members = [
"crates/cli",
"crates/code_tools",
"crates/dirs",
"crates/filter",
"crates/icon",
"crates/maple",
"crates/maple_config",
"crates/maple_config/doc_gen",
"crates/maple_core",
"crates/maple_derive",
"crates/maple_lsp",
"crates/maple_markdown",
"crates/matcher",
"crates/matcher/extracted_fzy",
"crates/paths",
"crates/pattern",
"crates/printer",
"crates/rpc",
"crates/sublime_syntax",
"crates/tree_sitter",
"crates/types",
"crates/upgrade",
"crates/utils",
"crates/xtask",
]
exclude = ["pythonx/clap/fuzzymatch-rs"]
default-members = ["crates/maple"]
[workspace.dependencies]
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.21"
bytecount = { version = "0.6", features = ["runtime-dispatch-simd"] }
cargo_metadata = "0.18.0"
chrono = { version = "0.4", features = ["serde"] }
chrono-humanize = "0.2.3"
clap = { version = "4.2", features = ["derive"] }
colors-transform = "0.2.11"
content_inspector = "0.2.4"
criterion = "0.5"
directories = "4.0"
futures = "0.3"
fuzzy-matcher = "0.3"
grep-matcher = "0.1"
grep-regex = "0.1"
grep-searcher = "0.1"
ignore = "0.4"
indicatif = "0.16"
itertools = "0.10"
lsp = { package = "lsp-types", version = "0.94" }
memchr = "2.5"
memmap2 = "0.9.5"
num_cpus = "1.13"
once_cell = "1.7"
parking_lot = "0.12"
percent-encoding = "2.2.0"
pulldown-cmark = "0.10.2"
rayon = "1.5"
regex = "1"
rgb2ansi256 = "0.1.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
shellexpand = "3.1.0"
simdutf8 = "0.1"
strsim = "0.11"
syntect = "5.0.0"
subprocess = { git = "https://github.com/hniksic/rust-subprocess" }
termion = "3"
thiserror = "1.0"
tokio = "1.36"
toml = "0.8"
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = "0.3"
webbrowser = "0.8.10"
which = "5.0.0"
unicode-width = "0.1.4"
# Local deps
cli = { path = "crates/cli" }
code_tools = { path = "crates/code_tools" }
dirs = { path = "crates/dirs" }
filter = { path = "crates/filter" }
icon = { path = "crates/icon" }
maple_config = { path = "crates/maple_config" }
maple_core = { path = "crates/maple_core" }
maple_derive = { path = "crates/maple_derive" }
maple_lsp = { path = "crates/maple_lsp" }
maple_markdown = { path = "crates/maple_markdown" }
matcher = { path = "crates/matcher" }
paths = { path = "crates/paths" }
pattern = { path = "crates/pattern" }
printer = { path = "crates/printer" }
rpc = { path = "crates/rpc" }
sublime_syntax = { path = "crates/sublime_syntax" }
types = { path = "crates/types" }
tree_sitter = { path = "crates/tree_sitter" }
upgrade = { path = "crates/upgrade" }
utils = { path = "crates/utils" }
[profile.production]
inherits = "release"
# Sacrifice compile speed for execution speed by using optimization flags:
# https://doc.rust-lang.org/rustc/linker-plugin-lto.html
lto = "fat"
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
codegen-units = 1