-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (83 loc) · 2.46 KB
/
Copy pathCargo.toml
File metadata and controls
95 lines (83 loc) · 2.46 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "roto"
version.workspace = true
edition.workspace = true
authors.workspace = true
rust-version.workspace = true
license.workspace = true
description.workspace = true
documentation.workspace = true
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
exclude = [
"/.github",
"/.forgejo",
"/tooling",
]
[[bin]]
name = "roto"
path = "src/main.rs"
required-features = ["cli"]
test = false
bench = false
[features]
default = ["cli"]
cli = ["clap"]
logger = ["env_logger"]
selinux-fix = ["cranelift-jit/selinux-fix"]
disas = ["cranelift-codegen/disas"]
[dependencies]
ariadne = "0.6.0"
clap = { version = "4.5.54", features = ["derive"], optional = true }
env_logger = { version = "0.11", optional = true }
unicode-ident = "1.0.22"
inetnum = { git = "https://github.com/FastNetMon/inetnum.git", tag = "v0.1.1-fnm1" }
log = "0.4"
roto-macros = { workspace = true }
symbol_table = { version = "0.5.0", features = ["global"] }
rustc-literal-escaper = "0.0.7"
libc = "0.2"
sealed = "0.6.0"
[dependencies.cranelift]
version = "0.127.1"
features = ["frontend", "jit", "module", "native"]
[dependencies.cranelift-codegen]
version = "0.127.1"
[dependencies.cranelift-jit]
version = "0.127.1"
[dev-dependencies]
assert_cmd = { version = "2.2.0", features = ["color"] }
insta = { version = "1.46.0", features = ["glob"] }
routecore = { git = "https://github.com/FastNetMon/routecore.git", rev = "1a7a8473c8c03130f74d21ba93f1da63a532cfc6", features = ["bgp", "bmp", "serde"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tempfile = "3.27.0"
[profile.profiling]
inherits = "release"
lto = true
strip = "none"
debug = "full"
[package.metadata.cargo-shear]
ignored = ["cranelift-jit"]
[workspace]
members = ["macros"]
[workspace.package]
version = "0.11.0"
edition = "2024"
authors = ["NLnet Labs <routing-team@nlnetlabs.nl>"]
license = "BSD-3-Clause"
rust-version = "1.89"
description = "a statically-typed, compiled, embedded scripting language"
documentation = "https://github.com/FastNetMon/roto"
repository = "https://github.com/FastNetMon/roto"
homepage = "https://github.com/FastNetMon/roto"
keywords = ["scripting", "language", "scripting-language", "routing", "bgp"]
categories = ["compilers", "network-programming"]
readme = "README.md"
[workspace.dependencies]
roto-macros = { path = "macros", version = "=0.11.0" }
proc-macro2 = "1.0.86"
quote = "1.0.37"
syn = { version = "2.0.77", features = ["full"] }