hm-plugin-protocol 0.0.1

Wire-level data types shared between the hm binary and hm plugins.
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"
name = "hm-plugin-protocol"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire-level data types shared between the hm binary and hm plugins."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/harmont-dev/harmont-cli"
resolver = "2"

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

[[test]]
name = "round_trip"
path = "tests/round_trip.rs"

[[test]]
name = "schema_snapshots"
path = "tests/schema_snapshots.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.schemars]
version = "0.8"
features = [
    "preserve_order",
    "semver",
    "uuid1",
    "chrono",
]

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

[dev-dependencies.insta]
version = "1"
features = ["json"]

[lints.clippy]
cargo_common_metadata = "allow"
dbg_macro = "deny"
exit = "warn"
expect_used = "warn"
implicit_clone = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
multiple_crate_versions = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"

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

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

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

[lints.rust]
missing_debug_implementations = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused_must_use = "deny"

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

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1