yarnspinner_runtime 0.8.0

Runtime / VM for Yarn Spinner for Rust, the friendly tool for writing game dialogue
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 = "yarnspinner_runtime"
version = "0.8.0"
authors = ["Jan Hohenheim <jan@hohenheim.ch>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime / VM for Yarn Spinner for Rust, the friendly tool for writing game dialogue"
homepage = "https://docs.yarnspinner.dev/"
readme = false
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust"
resolver = "2"

[features]
bevy = [
    "dep:bevy",
    "yarnspinner_core/bevy",
]
default = ["std"]
serde = [
    "dep:serde",
    "bevy?/serialize",
    "yarnspinner_core/serde",
    "icu_locale_core/serde",
    "bevy_platform/serialize",
]
std = [
    "fixed_decimal/ryu",
    "unicode-normalization/std",
    "bevy_platform/std",
]

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

[dependencies.bevy]
version = "0.18.0"
features = ["bevy_log"]
optional = true
default-features = false

[dependencies.bevy_platform]
version = "0.18.0"
features = ["alloc"]

[dependencies.fixed_decimal]
version = "0.7"
features = ["ryu"]
default-features = false

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

[dependencies.icu_plurals]
version = "2"
features = ["default"]

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.unicode-normalization]
version = "0.1"
default-features = false

[dependencies.unicode-segmentation]
version = "1"

[dependencies.yarnspinner_core]
version = "0.8.0"

[dependencies.yarnspinner_internal_shared]
version = "0.1.0"

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"