forked from bearcove/styx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (60 loc) · 2.45 KB
/
Cargo.toml
File metadata and controls
71 lines (60 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[workspace]
resolver = "3"
members = ["crates/*"]
exclude = ["editors/zed-styx", "tools/styx-webmd"]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bearcove/styx"
[workspace.dependencies]
# Error reporting
ariadne = "0.6"
strip-ansi-escapes = "0.2"
# Facet crates
facet = { git = "https://github.com/facet-rs/facet", branch = "main", version = "0.43" }
facet-core = { git = "https://github.com/facet-rs/facet", branch = "main", version = "0.43" }
facet-format = { git = "https://github.com/facet-rs/facet", branch = "main", version = "0.43" }
facet-reflect = { git = "https://github.com/facet-rs/facet", branch = "main", version = "0.43" }
facet-testhelpers = { git = "https://github.com/facet-rs/facet", branch = "main", version = "0.43" }
# CLI parsing
figue = { git = "https://github.com/bearcove/figue", branch = "main" }
# Tracing
tracing = "0.1"
# Testing
insta = "1"
proptest = "1"
similar = "2"
# Serialization
serde_json = "1"
# Internal crates
styx-tokenizer = { path = "crates/styx-tokenizer", version = "1.0" }
styx-parse = { path = "crates/styx-parse", version = "1.0" }
styx-format = { path = "crates/styx-format", version = "1.0" }
styx-tree = { path = "crates/styx-tree", version = "1.0" }
styx-cst = { path = "crates/styx-cst", version = "1.0" }
styx-lsp = { path = "crates/styx-lsp", version = "1.0" }
styx-embed = { path = "crates/styx-embed", version = "1.0" }
styx-gen-go = { path = "crates/styx-gen-go", version = "1.0" }
facet-styx = { path = "crates/facet-styx", version = "1.0" }
styx-testhelpers = { path = "crates/styx-testhelpers", version = "1.0" }
# Optimize WASM builds for size
[profile.release.package.styx-wasm]
opt-level = "s"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# # Uncomment to develop facet
# [patch."https://github.com/facet-rs/facet"]
# facet = { path = "../facet/facet" }
# facet-core = { path = "../facet/facet-core" }
# facet-reflect = { path = "../facet/facet-reflect" }
# facet-format = { path = "../facet/facet-format" }
# facet-path = { path = "../facet/facet-path" }
# facet-postcard = { path = "../facet/facet-postcard" }
# facet-pretty = { path = "../facet/facet-pretty" }
# facet-value = { path = "../facet/facet-value" }
# facet-dessert = { path = "../facet/facet-dessert" }
# facet-solver = { path = "../facet/facet-solver" }
# facet-json = { path = "../facet/facet-json" }
# facet-testhelpers = { path = "../facet/facet-testhelpers" }