# 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 = "rkik"
version = "1.2.1"
authors = ["Aguacero7 <naps@teamnaps.fr>"]
build = false
include = [
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE*",
    "src/**",
    "docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rusty Klock Inspection Kit - NTP Query and Compare Tool"
homepage = "https://github.com/aguacero7/rkik"
documentation = "https://docs.rs/rkik"
readme = "README.md"
keywords = [
    "ntp",
    "cli",
    "time",
    "network",
    "tool",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/aguacero7/rkik"

[package.metadata.deb]
maintainer = "Aguacero7 <naps@teamnaps.fr>"
depends = "libc6 (>= 2.29)"
section = "utils"
priority = "optional"
assets = [[
    "target/release/rkik",
    "usr/bin/",
    "755",
]]

[package.metadata.generate-rpm]
license = "MIT"
summary = "Rusty Klock Inspection Kit"

[[package.metadata.generate-rpm.assets]]
source = "target/release/rkik"
dest = "/usr/bin/rkik"
mode = "755"

[features]
default = [
    "json",
    "sync",
]
json = [
    "serde",
    "serde_json",
]
network-tests = []
sync = ["libc"]

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

[[bin]]
name = "rkik"
path = "src/bin/rkik.rs"

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

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

[dependencies.console]
version = "0.16"

[dependencies.futures]
version = "0.3"

[dependencies.libc]
version = "0.2.175"
optional = true

[dependencies.rsntp]
version = "4.1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.143"
optional = true

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.45.0"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "signal",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.0"
