-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (48 loc) · 1.44 KB
/
Cargo.toml
File metadata and controls
54 lines (48 loc) · 1.44 KB
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
[package]
name = "argus"
version = "1.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
memmap2 = "0.9"
memchr = "2.7"
ratatui = { version = "0.26", optional = true }
crossterm = { version = "0.27", optional = true }
clap = { version = "4.4", features = ["derive"] }
owo-colors = { version = "4.0", features = ["supports-colors"] }
ureq = { version = "2.9", optional = true }
tempfile = { version = "3.10", optional = true }
aho-corasick = "1.1"
base64 = "0.21"
ignore = "0.4.25"
rayon = "1.11.0"
log = "0.4"
env_logger = { version = "0.10", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tree-sitter = { version = "0.25", optional = true }
tree-sitter-javascript = { version = "0.25", optional = true }
syntect = { version = "5.2", optional = true }
pyo3 = { version = "0.21", features = ["extension-module", "abi3-py311"], optional = true }
wasm-bindgen = { version = "0.2.92", optional = true }
serde-wasm-bindgen = { version = "0.6", optional = true }
[features]
default = ["native"]
native = ["ureq", "tempfile", "env_logger", "ratatui", "crossterm"]
js-ast = ["tree-sitter", "tree-sitter-javascript"]
highlighting = ["syntect"]
python-ffi = ["pyo3"]
wasm-ffi = ["wasm-bindgen", "serde-wasm-bindgen"]
[[bin]]
name = "argus"
path = "src/main.rs"
required-features = ["native"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
strip = true