-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (64 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
72 lines (64 loc) · 2.03 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
72
[package]
name = "mpl-lang"
version = "0.7.0"
edition = "2024"
authors = ["Seoyoung Lee <seoyoung@axiom.co>", "Arne Bahlo <arne@axiom.co>", "Heinz Gies <heinz@axiom.co>", "Samuel Cristobal <samu@messy.page>"]
description = "Axioms Metrics Processing Language"
documentation = "https://docs.axiom.co"
homepage = "https://axiom.co"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/axiomhq/mpl"
rust-version = "1.92.0"
[workspace]
members = [
"extra/mpl-playground",
"extra/mpl-language-server",
"extra/mpl-language-server-wasm",
]
resolver = "3"
[lib]
[[bin]]
name = "mplc"
path = "src/bin/mplc.rs"
required-features = ["cli"]
[[bin]]
name = "mplstdlib"
path = "src/bin/mplstdlib.rs"
required-features = ["cli"]
[profile.wasm-release]
inherits = "release"
opt-level = "z"
lto = true
strip = true
codegen-units = 1
panic = "abort"
[dependencies]
chrono = { version = "0.4", default-features = false, features = ["serde", "std"] }
clap = { version = "4", optional = true, features = ["derive"] }
strum = { version = "0.28", features = ["derive"] }
regex = { version = "1", default-features = false, features = ["std", "unicode"] }
thiserror = "2"
serde_json = "1"
serde = "1"
bincode = { version = "2", optional = true, features = ["serde"] }
strumbra = { version = "0.6", features = ["serde"] }
ordered-float = "5"
ron = { version = "0.12", optional = true }
arborium = { version = "2", optional = true, default-features = false, features = ["lang-ron", "lang-json"] }
strsim = "0.11.1"
miette = { version = "7.6", features = ["serde"] }
rowan = "0.17"
itertools = { version = "0.15.0", default-features = false, features = ["use_alloc"] }
[dev-dependencies]
test-case = "3"
miette = { version = "7.6", features = ["fancy"] }
[features]
default = ["bincode", "clock", "regex-perf"]
clock = ["chrono/clock"]
# regex engines tuned for throughput; size-sensitive builds omit them
regex-perf = ["regex/perf"]
# Include examples in the build
examples = []
# for CLI tools
cli = ["dep:clap", "dep:ron", "dep:arborium", "miette/fancy"]