[package]
edition = "2024"
rust-version = "1.94"
name = "rustledger-plugin-types"
version = "0.14.0"
authors = ["Rustledger Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM plugin interface types for rustledger - use in your plugin crate"
homepage = "https://rustledger.github.io"
readme = "README.md"
keywords = [
"beancount",
"plugin",
"wasm",
"types",
]
categories = [
"data-structures",
"wasm",
]
license = "GPL-3.0-only"
repository = "https://github.com/rustledger/rustledger"
[lib]
name = "rustledger_plugin_types"
path = "src/lib.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.rmp-serde]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
format_push_string = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
ptr_arg = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
unused_self = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]