-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (51 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
54
55
56
57
58
59
[workspace]
members = [
# crates/
"crates/ast",
"crates/codegen",
"crates/parser",
"crates/runtime",
# integrations/
"integrations/axum",
# examples/
"examples/small_axum",
]
resolver = "2"
[workspace.dependencies]
eyre = "0.6"
tracing = "0.1"
# crates/
cogs = { path = "." }
cogs_ast = { path = "crates/ast" }
cogs_codegen = { path = "crates/codegen" }
cogs_parser = { path = "crates/parser" }
cogs_runtime = { path = "crates/runtime" }
# integrations/
cogs_axum = { path = "integrations/axum" }
[package]
name = "cogs"
version = "0.1.0"
edition = "2021"
description = "Rust code blocks in HTML"
[dependencies]
# errors yay
color-eyre = "0.6"
eyre.workspace = true
tracing.workspace = true
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-error = "0.2"
tracing-tracy = "0.11"
cogs_ast.workspace = true
cogs_codegen.workspace = true
cogs_parser.workspace = true
proptest = "1.5.0"
insta = "1.41.1"
ariadne = "0.5.0"
pathdiff = "0.2.3"
# Test optimization
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
[features]
default = []
tracy = ["tracing-tracy/enable"]