[package]
edition = "2024"
name = "rstango"
version = "0.4.0"
authors = ["Théo Rozier <contact@theorozier.fr>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of the Tango distributed control system"
homepage = "https://gitlab.com/theorozier/rstango"
readme = "README.md"
categories = [
"asynchronous",
"network-programming",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://gitlab.com/theorozier/rstango"
[features]
cli = [
"dep:clap",
"dep:tracing-subscriber",
"dep:ctrlc",
]
default = ["cli"]
image = ["dep:image"]
[lib]
name = "tango"
path = "src/lib.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "concurrent"
path = "examples/concurrent.rs"
[[example]]
name = "errors"
path = "examples/errors.rs"
[[example]]
name = "events"
path = "examples/events.rs"
[[example]]
name = "info"
path = "examples/info.rs"
[[example]]
name = "props"
path = "examples/props.rs"
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["cli"]
[[test]]
name = "admin"
path = "tests/admin.rs"
[[test]]
name = "backend"
path = "tests/backend.rs"
[[test]]
name = "dev"
path = "tests/dev.rs"
[[test]]
name = "polling"
path = "tests/polling.rs"
[[test]]
name = "server"
path = "tests/server.rs"
[dependencies.async-lock]
version = "3.4.2"
[dependencies.clap]
version = "4.6.7"
features = [
"derive",
"string",
"env",
]
optional = true
[dependencies.crossbeam-channel]
version = "0.5.15"
[dependencies.ctrlc]
version = "3.5.2"
features = ["termination"]
optional = true
[dependencies.futures]
version = "0.3.34"
[dependencies.image]
version = "0.25.10"
features = ["jpeg"]
optional = true
default-features = false
[dependencies.mio]
version = "1.2.2"
features = [
"net",
"os-poll",
]
[dependencies.pastey]
version = "0.2.3"
[dependencies.pin-project-lite]
version = "0.2.17"
[dependencies.rand]
version = "0.10.3"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tracing]
version = "0.1.43"
[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
optional = true
[dependencies.uuid]
version = "1.24.0"
[dependencies.widestring]
version = "1.2.0"
[dependencies.zmq]
version = "0.10.0"
[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]