[package]
edition = "2024"
name = "celerity"
version = "0.1.0"
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"
[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 = "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