# 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"
name = "elbus"
version = "0.2.21"
authors = ["Sergei S.
"]
autoexamples = false
description = "Local and network IPC bus"
readme = "README.md"
keywords = [
"bus",
"ipc",
"pubsub",
]
license = "Apache-2.0"
repository = "https://github.com/alttch/elbus"
resolver = "2"
[package.metadata.docs.rs]
features = [
"broker",
"ipc",
"rpc",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[package.metadata.playground]
features = [
"broker",
"ipc",
"rpc",
]
[profile.dev]
overflow-checks = false
[profile.release]
lto = true
codegen-units = 1
strip = true
[lib]
name = "elbus"
path = "src/lib.rs"
[[bin]]
name = "elbusd"
path = "src/server.rs"
required-features = ["server"]
[[bin]]
name = "elbus"
path = "src/cli.rs"
required-features = ["cli"]
[[example]]
name = "inter_thread"
required-features = [
"broker",
"rpc",
]
[[example]]
name = "broker_custom_rpc"
required-features = [
"broker",
"rpc",
]
[[example]]
name = "broker_aaa"
required-features = [
"broker",
"rpc",
]
[[example]]
name = "client_rpc_handler"
required-features = [
"ipc",
"rpc",
]
[[example]]
name = "client_rpc"
required-features = [
"ipc",
"rpc",
]
[[example]]
name = "client_listener"
required-features = ["ipc"]
[[example]]
name = "client_sender"
required-features = ["ipc"]
[dependencies.async-channel]
version = "1.7.1"
[dependencies.async-io]
version = "1.8.0"
[dependencies.async-trait]
version = "0.1.57"
optional = true
[dependencies.atty]
version = "0.2"
optional = true
[dependencies.bma-benchmark]
version = "0.0.18"
optional = true
[dependencies.chrono]
version = "0.4.19"
optional = true
[dependencies.clap]
version = "3.0.7"
features = ["derive"]
optional = true
[dependencies.colored]
version = "2"
optional = true
[dependencies.console-subscriber]
version = "0.1.7"
optional = true
[dependencies.env_logger]
version = "0.9.0"
optional = true
[dependencies.fork]
version = "0.1.18"
optional = true
[dependencies.hex]
version = "0.4.3"
optional = true
[dependencies.hostname]
version = "0.3.1"
optional = true
[dependencies.ipnetwork]
version = "0.20.0"
optional = true
[dependencies.jemallocator]
version = "0.5.0"
optional = true
[dependencies.lazy_static]
version = "1.4.0"
optional = true
[dependencies.log]
version = "0.4.14"
optional = true
[dependencies.nix]
version = "0.25.0"
optional = true
[dependencies.num-format]
version = "0.4.0"
optional = true
[dependencies.parking_lot]
version = "0.12.1"
optional = true
[dependencies.prettytable-rs]
version = "0.9"
optional = true
[dependencies.rmp-serde]
version = "1.1.0"
optional = true
[dependencies.serde]
version = "1.0.143"
features = ["derive"]
optional = true
[dependencies.serde-value]
version = "0.7.0"
optional = true
[dependencies.serde_json]
version = "1.0.83"
optional = true
[dependencies.submap]
version = "0.2.2"
features = ["digest"]
optional = true
[dependencies.syslog]
version = "5.0.0"
optional = true
[dependencies.tokio]
version = "1.20.1"
features = ["full"]
[dependencies.triggered]
version = "0.1.2"
optional = true
[dependencies.unix-named-pipe]
version = "0.2.0"
optional = true
[features]
broker = [
"log",
"submap",
"async-trait",
"unix-named-pipe",
"nix",
"ipnetwork",
"triggered",
"parking_lot",
]
cli = [
"ipc",
"rpc",
"colored",
"clap",
"env_logger",
"bma-benchmark",
"prettytable-rs",
"hostname",
"hex",
"num-format",
"jemallocator",
"serde_json",
"atty",
]
full = [
"rpc",
"ipc",
"broker",
]
ipc = [
"log",
"async-trait",
]
rpc = [
"log",
"serde",
"rmp-serde",
"async-trait",
"serde-value",
"parking_lot",
]
server = [
"log",
"syslog",
"chrono",
"colored",
"clap",
"lazy_static",
"jemallocator",
"fork",
"broker",
]
std-alloc = []
tracing = [
"tokio/tracing",
"console-subscriber",
]