roto 0.11.0

a statically-typed, compiled, embedded scripting language
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "roto"
version = "0.11.0"
authors = ["NLnet Labs <routing-team@nlnetlabs.nl>"]
build = false
exclude = [
    "/.github",
    "/.forgejo",
    "/tooling",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a statically-typed, compiled, embedded scripting language"
homepage = "https://www.nlnetlabs.nl/projects/routing/rotonda/"
documentation = "https://docs.rs/roto/"
readme = "README.md"
keywords = [
    "scripting",
    "language",
    "scripting-language",
    "routing",
    "bgp",
]
categories = [
    "compilers",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://codeberg.org/NLnetLabs/roto/"

[package.metadata.cargo-shear]
ignored = ["cranelift-jit"]

[features]
cli = ["clap"]
default = ["cli"]
disas = ["cranelift-codegen/disas"]
logger = ["env_logger"]
selinux-fix = ["cranelift-jit/selinux-fix"]

[lib]
name = "roto"
path = "src/lib.rs"

[[bin]]
name = "roto"
path = "src/main.rs"
test = false
bench = false
required-features = ["cli"]

[[example]]
name = "addr_range"
path = "examples/addr_range.rs"

[[example]]
name = "context"
path = "examples/context.rs"

[[example]]
name = "hello_world"
path = "examples/hello_world.rs"

[[example]]
name = "list"
path = "examples/list.rs"

[[example]]
name = "modules"
path = "examples/modules.rs"

[[example]]
name = "optional"
path = "examples/optional.rs"

[[example]]
name = "presentation"
path = "examples/presentation.rs"

[[example]]
name = "runtime"
path = "examples/runtime.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[example]]
name = "string_interpolation"
path = "examples/string_interpolation.rs"

[[test]]
name = "docs"
path = "tests/docs.rs"

[[test]]
name = "snapshot"
path = "tests/snapshot.rs"

[dependencies.ariadne]
version = "0.6.0"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]
optional = true

[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"

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.inetnum]
version = "0.1.0"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.roto-macros]
version = "=0.11.0"

[dependencies.rustc-literal-escaper]
version = "0.0.7"

[dependencies.sealed]
version = "0.6.0"

[dependencies.symbol_table]
version = "0.5.0"
features = ["global"]

[dependencies.unicode-ident]
version = "1.0.22"

[dev-dependencies.assert_cmd]
version = "2.2.0"
features = ["color"]

[dev-dependencies.insta]
version = "1.46.0"
features = ["glob"]

[dev-dependencies.routecore]
version = "0.7"
features = [
    "bgp",
    "bmp",
    "serde",
]

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.tempfile]
version = "3.27.0"

[profile.profiling]
lto = true
debug = 2
inherits = "release"
strip = "none"