jomini 0.35.0

Low level, performance oriented parser for save and game files from EU4, CK3, HOI4, Vic3, Imperator, and other PDS titles
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 = "jomini"
version = "0.35.0"
authors = ["Nick Babcock <nbabcock19@hotmail.com>"]
build = false
exclude = [
    "/.github",
    "/assets",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level, performance oriented parser for save and game files from EU4, CK3, HOI4, Vic3, Imperator, and other PDS titles"
readme = "README.md"
keywords = [
    "eu4",
    "ck3",
    "ironman",
    "clausewitz",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/rakaly/jomini"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "derive",
    "faster_writer",
]
derive = [
    "serde",
    "jomini_derive",
]
envelope = [
    "dep:rawzip",
    "dep:flate2",
]
faster_writer = ["dep:itoa"]
json = [
    "serde",
    "serde_json",
]
serde = [
    "dep:serde",
    "serde/derive",
]

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

[[bin]]
name = "dump"
path = "src/bin/dump.rs"

[[bin]]
name = "envelope"
path = "src/bin/envelope.rs"
required-features = ["envelope"]

[[bin]]
name = "fmt"
path = "src/bin/fmt.rs"

[[bin]]
name = "json"
path = "src/bin/json.rs"
required-features = ["json"]

[[bin]]
name = "stats"
path = "src/bin/stats.rs"

[[bin]]
name = "tape_text"
path = "src/bin/tape_text.rs"

[[bin]]
name = "token"
path = "src/bin/token.rs"

[[test]]
name = "de"
path = "tests/de.rs"

[[test]]
name = "envelope"
path = "tests/envelope.rs"

[[test]]
name = "tape"
path = "tests/tape.rs"

[dependencies.flate2]
version = "1.1.5"
features = ["zlib-rs"]
optional = true
default-features = false

[dependencies.itoa]
version = "1.0"
optional = true

[dependencies.jomini_derive]
version = "^0.4.0"
optional = true

[dependencies.rawzip]
version = "0.5.0"
optional = true

[dependencies.serde]
version = "1.0.195"
optional = true

[dependencies.serde_json]
version = "1.0.114"
optional = true

[dev-dependencies.attohttpc]
version = "0.30.1"
features = ["tls-vendored"]

[dev-dependencies.encoding_rs]
version = "0.8"

[dev-dependencies.flate2]
version = "1.1.5"
features = ["zlib-rs"]
default-features = false

[dev-dependencies.quickcheck]
version = "1"

[dev-dependencies.quickcheck_macros]
version = "1"

[dev-dependencies.rawzip]
version = "0.5.0"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.serde_with]
version = "3.8.1"

[profile.bench]
debug = 2

[profile.release]
debug = 2