snappea 0.1.0

The P modeling language in Rust: emit events from your application and check them against P specs in tests, plus the `snappea` checker
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 = "2021"
rust-version = "1.87"
name = "snappea"
version = "0.1.0"
build = false
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "src/**/*.rs",
    "src/**/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The P modeling language in Rust: emit events from your application and check them against P specs in tests, plus the `snappea` checker"
documentation = "https://docs.rs/snappea"
readme = "README.md"
keywords = [
    "p-language",
    "model-checking",
    "formal-methods",
    "testing",
    "specification",
]
categories = [
    "development-tools::testing",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crowecawcaw/snappea"

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

[features]
cli = [
    "dep:roxmltree",
    "dep:rustc-hash",
    "dep:serde_json",
    "dep:sha2",
]
default = [
    "cli",
    "test",
]
emit = [
    "dep:serde",
    "dep:serde_json",
]
test = [
    "emit",
    "dep:regex",
    "dep:roxmltree",
    "dep:rustc-hash",
    "dep:sha2",
]

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

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

[[bin]]
name = "snappea-compat"
path = "src/bin/snappea-compat.rs"
required-features = ["cli"]

[dependencies.regex]
version = "1"
features = [
    "std",
    "unicode",
]
optional = true
default-features = false

[dependencies.roxmltree]
version = "0.21"
optional = true

[dependencies.rustc-hash]
version = "2"
optional = true

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

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

[dependencies.sha2]
version = "0.10"
optional = true

[dev-dependencies.serde]
version = "1"
features = ["derive"]