[package]
name = "shk_parser"
version = "0.1.1"
edition = "2021"
description = "A parser for Stronghold Kingdoms attack formation files (.cas)"
authors = ["Your Name <your.email@example.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yourusername/shk_parser"
documentation = "https://docs.rs/shk_parser"
keywords = ["parser", "binary", "games", "stronghold", "kingdoms"]
categories = ["parser-implementations", "game-development"]
readme = "README.md"
[lib]
name = "shk_parser"
crate-type = ["lib", "cdylib"]
[dependencies]
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
clap = { version = "4.0", features = ["derive"], optional = true }
tsify = { version = "0.4", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
[features]
default = []
serde = ["dep:serde", "dep:serde_json"]
tsify = ["dep:tsify", "dep:wasm-bindgen", "serde"]
cli = ["dep:clap"]
[[bin]]
name = "parse_formations"
path = "src/main.rs"