mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 18:04:48 +00:00
32 lines
927 B
TOML
32 lines
927 B
TOML
[package]
|
|
autotests = false
|
|
name = "craft-settings"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
description = "Shared settings storage for the Craft suite: platform folders, config.toml, atomic saves, recovery and migration"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# The in-memory `SettingsFiles` for tests in other crates (`craft_settings::testing`).
|
|
testing = []
|
|
|
|
[dependencies]
|
|
craft-atomic = { workspace = true }
|
|
craft-host = { workspace = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
toml = { version = "1.1", default-features = false, features = ["std", "parse", "serde"] }
|
|
toml_edit = { version = "0.25", features = ["serde"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
dirs = "7"
|
|
|
|
[dev-dependencies]
|
|
craft-settings = { path = ".", features = ["testing"] }
|
|
tempfile = "3"
|