# 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-cloud"
version = "0.0.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cloud client library for the hm CLI."
readme = false
keywords = [
    "ci",
    "harmont",
    "cloud",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/harmont-dev/harmont-cli"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dialoguer]
version = "0.11"

[dependencies.harmont-cloud]
version = "0.1"

[dependencies.harmont-cloud-raw]
version = "0.1"

[dependencies.hm-config]
version = "0.0.6"

[dependencies.hm-exec]
version = "0.0.6"

[dependencies.hm-plugin-protocol]
version = "0.0.6"

[dependencies.hm-render]
version = "0.0.6"

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "rt",
    "time",
    "sync",
    "macros",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.webbrowser]
version = "1"

[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 = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
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
