brink-runtime 0.0.15

Runtime/VM for executing compiled ink stories
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"
name = "brink-runtime"
version = "0.0.15"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime/VM for executing compiled ink stories"
readme = "README.md"
keywords = [
    "ink",
    "narrative",
    "compiler",
    "interactive-fiction",
]
categories = [
    "compilers",
    "game-development",
]
license = "MIT"
repository = "https://github.com/syynth/brink"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
bench-counters = []
default = ["std"]
effect-trace = ["std"]
std = [
    "brink-format/std",
    "serde/std",
    "thiserror/std",
]
testing = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.brink-format]
version = "0.0.15"
default-features = false

[dependencies.glam]
version = "0.32.1"
features = ["libm"]
default-features = false

[dependencies.serde]
version = "1"
features = [
    "alloc",
    "derive",
    "rc",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.brink-analyzer]
version = "0.0.15"

[dev-dependencies.divan]
version = "0.1"

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

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

[lints.clippy]
allow_attributes = "warn"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
implicit_clone = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
rest_pat_in_fully_bound_structs = "warn"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"
verbose_file_reads = "warn"
wildcard_dependencies = "deny"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "deny"