libmsg 0.1.6

A flexible and lightweight messaging library for distributed systems
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 = "2024"
rust-version = "1.89"
name = "libmsg"
version = "0.1.6"
authors = ["Chainbound Developers <dev@chainbound.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible and lightweight messaging library for distributed systems"
homepage = "https://github.com/chainbound/msg-rs"
readme = false
license = "MIT"
repository = "https://github.com/chainbound/msg-rs"
resolver = "2"

[features]
default = []
quic = ["msg-transport/quic"]
tcp-tls = ["msg-transport/tcp-tls"]

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

[[example]]
name = "durable"
path = "examples/durable.rs"

[[example]]
name = "ipc"
path = "examples/ipc.rs"

[[example]]
name = "pubsub"
path = "examples/pubsub.rs"

[[example]]
name = "pubsub_auth"
path = "examples/pubsub_auth.rs"

[[example]]
name = "pubsub_compression"
path = "examples/pubsub_compression.rs"

[[example]]
name = "quic_vs_tcp"
path = "examples/quic_vs_tcp.rs"
required-features = ["quic"]

[[example]]
name = "reqrep"
path = "examples/reqrep.rs"

[[example]]
name = "reqrep_auth"
path = "examples/reqrep_auth.rs"

[[example]]
name = "reqrep_challenge"
path = "examples/reqrep_challenge.rs"

[[example]]
name = "reqrep_compression"
path = "examples/reqrep_compression.rs"

[[example]]
name = "reqrep_mtls"
path = "examples/reqrep_mtls.rs"
required-features = ["tcp-tls"]

[[bench]]
name = "pubsub"
path = "benches/pubsub.rs"
harness = false
required-features = ["quic"]

[[bench]]
name = "reqrep"
path = "benches/reqrep.rs"
harness = false
required-features = ["tcp-tls"]

[dependencies.msg-socket]
version = "0.1.6"

[dependencies.msg-transport]
version = "0.1.6"

[dependencies.msg-wire]
version = "0.1.6"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.openssl]
version = "0.10"

[dev-dependencies.pprof]
version = "0.15"
features = [
    "flamegraph",
    "criterion",
]

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.thiserror]
version = "2"

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

[dev-dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[target.'cfg(all(not(windows), not(target_env = "msvc")))'.dev-dependencies.tikv-jemallocator]
version = "0.6.1"
features = ["profiling"]