# 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 = "pearlite-syn"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A syn parser for the Pearlite specification language in Creusot"
homepage = "https://creusot.rs"
readme = "README.md"
keywords = ["verification"]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/creusot-rs/creusot"
resolver = "2"

[features]
default = ["full"]
full = [
    "parsing",
    "printing",
]
parsing = []
printing = []

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

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

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

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

[dependencies.proc-macro2]
version = "1.0"
features = ["span-locations"]

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
    "visit-mut",
]

[dev-dependencies.insta]
version = "1.42"

[dev-dependencies.ref-cast]
version = "1.0"
