brink-ir 0.0.17

Intermediate representations for inkle's ink narrative 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"
name = "brink-ir"
version = "0.0.17"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intermediate representations for inkle's ink narrative scripting language"
readme = "README.md"
keywords = [
    "ink",
    "narrative",
    "compiler",
    "interactive-fiction",
]
categories = [
    "compilers",
    "game-development",
]
license = "MIT"
repository = "https://github.com/syynth/brink"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitflags]
version = "2"
features = ["serde"]

[dependencies.brink-format]
version = "0.0.17"

[dependencies.brink-syntax]
version = "0.0.17"

[dependencies.brink-syntax-native]
version = "0.0.17"

[dependencies.regex]
version = "1"

[dependencies.regex-syntax]
version = "0.8"

[dependencies.rowan]
version = "0.16.1"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.brink-format]
version = "0.0.17"
features = [
    "inkt",
    "inkt-write",
]

[dev-dependencies.insta]
version = "1.46.3"

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