[package]
edition = "2024"
name = "lenso-contract-codegen"
version = "0.5.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generator for portable Lenso Capability contracts."
readme = false
license = "MIT"
repository = "https://github.com/LioRael/lenso-protocols"
resolver = "2"
[lib]
name = "lenso_contract_codegen"
path = "src/lib.rs"
[[bin]]
name = "lenso-contract-codegen"
path = "src/main.rs"
[[test]]
name = "codegen"
path = "tests/codegen.rs"
[[test]]
name = "provider_failures"
path = "tests/provider_failures.rs"
[dependencies.semver]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"