bytecode-lang 0.2.0

LSB, the LexerSketch bytecode format: instruction set, verifier, disassembler, and versioned encoding.
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.85"
name = "bytecode-lang"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LSB, the LexerSketch bytecode format: instruction set, verifier, disassembler, and versioned encoding."
homepage = "https://github.com/jamesgober/bytecode-lang"
documentation = "https://docs.rs/bytecode-lang"
readme = "README.md"
keywords = [
    "bytecode",
    "vm",
    "verifier",
    "compiler",
    "lexersketch",
]
categories = [
    "compilers",
    "encoding",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/bytecode-lang"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = []

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

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

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

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

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

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

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

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"