[badges.codeberg]
branch = "main"
repository = "topola/contracts-try"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
features = ["extra-traits", "full", "visit", "visit-mut"]
version = "2.0"
[[example]]
name = "library"
path = "examples/library.rs"
[features]
disable_contracts = []
mirai_assertions = []
override_debug = []
override_log = []
[lib]
name = "contracts_try"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["karroffel <therzog@mail.de>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools", "development-tools::procedural-macro-helpers"]
description = "Design-by-contract attributes"
documentation = "https://docs.rs/contracts"
edition = "2021"
keywords = ["design-by-contract", "precondition", "postcondition", "invariant", "verification"]
license = "MPL-2.0"
name = "contracts-try"
readme = "README.md"
repository = "https://codeberg.org/topola/contracts-try"
version = "0.7.0"
[[test]]
name = "functions"
path = "tests/functions.rs"
[[test]]
name = "implication"
path = "tests/implication.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"