gunnar-common 3.0.0

Shared command line, logging, and build identity for the gunnar binaries
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 = "2021"
rust-version = "1.85"
name = "gunnar-common"
version = "3.0.0"
authors = [
    "Ignalina ApS",
    "Vetra Automation AB",
]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared command line, logging, and build identity for the gunnar binaries"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://git.gunnar.rs/nordisk/gunnar"

[features]
admit-share = []
client = [
    "dep:gunnar-client",
    "gunnar-client/porcelain",
]
control = ["dep:gunnar-proto"]
http = []
jobs = [
    "dep:jera",
    "dep:tokio",
    "dep:serde_json",
    "dep:anyhow",
    "dep:nordisk-pairing",
]
metered = []
server = [
    "dep:gunnar-core",
    "dep:gunnar-wire",
    "dep:tokio",
]
stderr-capture = ["dep:rustix"]
systemd = []

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

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

[dependencies.anyhow]
version = "1"
optional = true

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

[dependencies.gunnar-client]
version = "1.1.0"
optional = true
default-features = false

[dependencies.gunnar-core]
version = "3.0.0"
optional = true

[dependencies.gunnar-proto]
version = "3.0.0"
optional = true

[dependencies.gunnar-wire]
version = "1.1.0"
optional = true

[dependencies.jera]
version = "0.2.1"
optional = true
default-features = false

[dependencies.nordisk-pairing]
version = "0.5.27"
optional = true
default-features = false

[dependencies.rustix]
version = "1"
features = [
    "std",
    "process",
    "net",
    "pipe",
    "stdio",
]
optional = true
default-features = false

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

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "net",
    "sync",
    "fs",
    "time",
    "signal",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "net",
    "sync",
    "fs",
    "time",
    "signal",
]