[package]
edition = "2021"
rust-version = "1.81"
name = "sashite-sin"
version = "1.0.0"
build = false
exclude = [
".github/",
"clippy.toml",
"deny.toml",
"rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Style Identifier Notation (SIN): a compact, ASCII-only, no_std token encoding a player's side and style in abstract strategy board games."
homepage = "https://sashite.dev/specs/sin/1.0.0/"
documentation = "https://docs.rs/sashite-sin"
readme = "README.md"
keywords = [
"notation",
"style",
"chess",
"board-game",
"sashite",
]
categories = [
"game-development",
"encoding",
"no-std",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/sashite/sin.rs"
[package.metadata.docs.rs]
all-features = true
[features]
serde = ["dep:serde"]
[lib]
name = "sashite_sin"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "queries"
path = "tests/queries.rs"
[[test]]
name = "rejection"
path = "tests/rejection.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "transformations"
path = "tests/transformations.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[dependencies.serde]
version = "1"
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde_test]
version = "1"
[lints.clippy]
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"
[profile.release]
lto = true
codegen-units = 1