-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (45 loc) · 1.5 KB
/
Cargo.toml
File metadata and controls
48 lines (45 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "yarnspinner_runtime"
version = "0.8.0"
edition = "2024"
repository = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust"
homepage = "https://docs.yarnspinner.dev/"
categories = ["game-development"]
authors = ["Jan Hohenheim <jan@hohenheim.ch>"]
license = "MIT OR Apache-2.0"
description = "Runtime / VM for Yarn Spinner for Rust, the friendly tool for writing game dialogue"
[features]
default = ["std"]
std = [
"fixed_decimal/ryu",
"unicode-normalization/std",
"bevy_platform/std",
]
serde = [
"dep:serde",
"bevy?/serialize",
"yarnspinner_core/serde",
"icu_locale_core/serde",
"bevy_platform/serialize",
]
bevy = ["dep:bevy", "yarnspinner_core/bevy"]
[dependencies]
yarnspinner_internal_shared = { path = "../internal_shared", version = "0.1.0" }
yarnspinner_core = { path = "../core", version = "0.8.0" }
unicode-normalization = { version = "0.1", default-features = false }
unicode-segmentation = "1"
log = "0.4"
icu_plurals = { version = "2", features = ["default"] }
icu_locale_core = { version = "2", default-features = false }
fixed_decimal = { version = "0.7", default-features = false, features = [
"ryu",
] }
once_cell = "1"
regex = "1"
serde = { version = "1", features = ["derive"], optional = true }
bevy = { version = "0.18.0", default-features = false, features = ["bevy_log"], optional = true }
bevy_platform = { version = "0.18.0", features = ["alloc"] }
[lints.clippy]
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
alloc_instead_of_core = "warn"