# 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 = "bevy-brink"
version = "0.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bevy asset integration for brink 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]
default = ["dev"]
dev = [
    "dep:brink-compiler",
    "dep:brink-syntax",
]

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

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

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

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

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

[[example]]
name = "play_story"
path = "examples/play_story.rs"
required-features = ["dev"]

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

[dependencies.bevy-brink-derive]
version = "0.0.3"

[dependencies.bevy_app]
version = "0.18.1"
default-features = false

[dependencies.bevy_asset]
version = "0.18.1"
default-features = false

[dependencies.bevy_ecs]
version = "0.18.1"
default-features = false

[dependencies.bevy_input]
version = "0.18.1"
features = [
    "std",
    "keyboard",
]
default-features = false

[dependencies.bevy_log]
version = "0.18.1"
default-features = false

[dependencies.bevy_reflect]
version = "0.18.1"
default-features = false

[dependencies.bevy_tasks]
version = "0.18.1"
features = ["multi_threaded"]

[dependencies.bon]
version = "3"

[dependencies.brink-compiler]
version = "0.0.3"
optional = true

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

[dependencies.brink-runtime]
version = "0.0.3"

[dependencies.brink-syntax]
version = "0.0.3"
optional = true

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.bevy]
version = "0.18.1"
features = ["file_watcher"]

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