brink-db 0.0.17

Incremental project database 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-db"
version = "0.0.17"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Incremental project database 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"

[features]
memory-introspection = ["salsa/salsa_unstable"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.brink-codegen-inkb]
version = "0.0.17"

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

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

[dependencies.brink-source-tree]
version = "0.0.17"

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

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

[dependencies.rowan]
version = "0.16.1"

[dependencies.salsa]
version = "0.27.2"
features = ["macros"]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

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

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