# 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"
name = "telltale-lean-bridge"
version = "3.0.0"
authors = ["Sam Hart <sam@hxrts.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lean verification bridge for Telltale session types"
readme = "README.md"
keywords = [
    "session-types",
    "verification",
    "lean",
    "multiparty",
]
categories = [
    "development-tools",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/hxrts/telltale"

[features]
cli = ["clap"]
default = ["runner"]
exporter = [
    "telltale-choreography",
    "anyhow",
    "bpaf",
]
golden = [
    "clap",
    "anyhow",
    "runner",
]
runner = ["telltale-theory"]

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

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

[[bin]]
name = "lean-bridge"
path = "src/bin/main.rs"
required-features = ["cli"]

[[bin]]
name = "lean-bridge-exporter"
path = "src/bin/exporter.rs"
required-features = ["exporter"]

[[example]]
name = "lean_validation"
path = "examples/lean_validation.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bpaf]
version = "0.9"
features = ["derive"]
optional = true

[dependencies.cfg-if]
version = "1.0"

[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.telltale-choreography]
version = "3.0.0"
optional = true

[dependencies.telltale-theory]
version = "3.0.0"
optional = true

[dependencies.telltale-types]
version = "3.0.0"

[dependencies.tempfile]
version = "3.2"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.telltale-choreography]
version = "3.0.0"

[dev-dependencies.telltale-theory]
version = "3.0.0"

[dev-dependencies.telltale-vm]
version = "3.0.0"
features = ["multi-thread"]

[dev-dependencies.tempfile]
version = "3.2"

[dev-dependencies.tracing]
version = "0.1"
