cogs_mirror/Cargo.toml

52 lines
1 KiB
TOML
Raw Permalink Normal View History

2024-11-11 19:29:18 +00:00
[workspace]
members = [
"crates/ast", "crates/runtime",
2024-11-11 19:29:18 +00:00
"crates/codegen",
"crates/parser",
"integrations/axum"
, "examples/small_to_console"]
2024-11-11 19:29:18 +00:00
resolver = "2"
2024-12-03 20:14:54 +00:00
[workspace.dependencies]
eyre = "0.6"
tracing = "0.1"
# crates/
cogs = { path = "." }
2024-12-03 20:14:54 +00:00
cogs_ast = { path = "crates/ast" }
cogs_codegen = { path = "crates/codegen" }
cogs_parser = { path = "crates/parser" }
cogs_runtime = { path = "crates/runtime" }
2024-12-03 20:14:54 +00:00
[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"
2024-12-04 11:57:33 +00:00
tracing-tracy = "0.11"
2024-12-03 20:14:54 +00:00
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"
2024-12-03 20:14:54 +00:00
# Test optimization
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
2024-12-04 11:57:33 +00:00
[features]
default = []
tracy = ["tracing-tracy/enable"]