[package]
edition = "2018"
rust-version = "1.77"
name = "contracts"
version = "0.6.8"
authors = ["karroffel <therzog@mail.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Design-by-contract attributes"
readme = "README.md"
keywords = [
"design-by-contract",
"precondition",
"postcondition",
"invariant",
"verification",
]
categories = [
"development-tools",
"development-tools::procedural-macro-helpers",
]
license = "MPL-2.0"
repository = "https://github.com/x52dev/contracts"
[features]
disable_contracts = []
mirai_assertions = []
override_debug = []
override_log = []
[lib]
name = "contracts"
path = "src/lib.rs"
proc-macro = true
[[example]]
name = "library"
path = "examples/library.rs"
[[test]]
name = "functions"
path = "tests/functions.rs"
[[test]]
name = "implication"
path = "tests/implication.rs"
[[test]]
name = "issues"
path = "tests/issues.rs"
[[test]]
name = "methods"
path = "tests/methods.rs"
[[test]]
name = "old"
path = "tests/old.rs"
[[test]]
name = "ranged_int"
path = "tests/ranged_int.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "3"
features = [
"extra-traits",
"full",
"visit",
"visit-mut",
]
[dev-dependencies.rustversion-msrv]
version = "0.100"
[dev-dependencies.trybuild]
version = "=1.0.85"