[package]
edition = "2024"
name = "celerity"
version = "0.1.1"
authors = [
"shemtorga@gmail.com",
"okechshem75@gmail.com",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust sans-IO ZMTP 3.1 messaging core with Tokio TCP and Unix socket transports."
readme = "README.md"
keywords = [
"zmtp",
"zeromq",
"tokio",
"ipc",
"messaging",
]
categories = [
"network-programming",
"asynchronous",
"command-line-utilities",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ShemShadrack/celerity"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = [
"tokio",
"dep:clap",
]
curve = [
"dep:chacha20poly1305",
"dep:hkdf",
"dep:rand_core",
"dep:sha2",
"dep:x25519-dalek",
"dep:zeroize",
]
default = []
ipc = ["tokio"]
tokio = ["dep:tokio"]
[lib]
name = "celerity"
path = "src/lib.rs"
[[bin]]
name = "cel-cat"
path = "src/bin/cel_cat.rs"
required-features = ["cli"]
[[test]]
name = "cel_cat"
path = "tests/cel_cat.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "tokio_io"
path = "tests/tokio_io.rs"
[dependencies.bitflags]
version = "2.6"
[dependencies.bytes]
version = "1.10"
[dependencies.chacha20poly1305]
version = "0.10"
optional = true
[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true
[dependencies.hkdf]
version = "0.12"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
optional = true
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.48"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"sync",
"time",
]
optional = true
[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]
optional = true
default-features = false
[dependencies.zeroize]
version = "1.8"
optional = true
[target."cfg(unix)".dependencies.rustix]
version = "0.38"
features = ["process"]
[lints.clippy]
expect_used = "warn"
pedantic = "warn"
unwrap_used = "warn"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"