scv-protocol 0.3.2

Versioned JSON protocol types for SCV clients and servers
Documentation
# 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"
rust-version = "1.88"
name = "scv-protocol"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Versioned JSON protocol types for SCV clients and servers"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/PeiyuanQi/scv"
resolver = "2"

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

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.143"

[lints.clippy]
allow_attributes_without_reason = "deny"
assigning_clones = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
format_collect = "allow"
format_push_string = "allow"
items_after_statements = "allow"
large_futures = "allow"
large_stack_arrays = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_debug_formatting = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
verbose_bit_mask = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1