brink-format 0.0.4

Binary interface between brink compiler and runtime
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-format"
version = "0.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Binary interface between brink compiler and runtime"
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]
default = []
inkt = [
    "inkt-write",
    "dep:pest",
    "dep:pest_derive",
]
inkt-write = []

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

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

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

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

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

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

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

[dependencies.pest]
version = "2"
optional = true

[dependencies.pest_derive]
version = "2"
optional = true

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

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

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