monocoque-rs-core 0.3.0

Protocol-agnostic messaging kernel with pluggable io_uring (compio), tokio, or smol I/O
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.95"
name = "monocoque-rs-core"
version = "0.3.0"
authors = ["Matheus Santos <vorj.dux@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol-agnostic messaging kernel with pluggable io_uring (compio), tokio, or smol I/O"
homepage = "https://github.com/vorjdux/monocoque"
documentation = "https://docs.rs/monocoque-rs-core"
readme = "README.md"
keywords = [
    "messaging",
    "io_uring",
    "async",
    "zeromq",
    "kernel",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/vorjdux/monocoque"
resolver = "2"

[features]
default = ["runtime-compio"]
runtime-compio = ["dep:compio"]
runtime-smol = ["dep:smol"]
runtime-tokio = ["dep:tokio"]

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

[[test]]
name = "message_builder_tests"
path = "tests/message_builder_tests.rs"

[[test]]
name = "sleep_after_timeout_probe"
path = "tests/sleep_after_timeout_probe.rs"

[[test]]
name = "socket_options_tests"
path = "tests/socket_options_tests.rs"

[dependencies.async-lock]
version = "3.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.11.1"

[dependencies.compio]
version = "0.19"
features = [
    "runtime",
    "macros",
    "time",
    "io-uring",
    "net",
]
optional = true
default-features = false

[dependencies.compio-buf]
version = "0.8"
features = ["bytes"]

[dependencies.compio-io]
version = "0.10"

[dependencies.dashmap]
version = "6.0"

[dependencies.flume]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.hashbrown]
version = "0.14"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.smallvec]
version = "1.13"

[dependencies.smol]
version = "2"
optional = true

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "time",
]
optional = true

[dependencies.tracing]
version = "0.1"
features = ["release_max_level_info"]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
future_not_send = "allow"
items_after_statements = "allow"
let_underscore_future = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
never_loop = "allow"
option_if_let_else = "allow"
question_mark = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
uninlined_format_args = "allow"
unused_async = "allow"
while_let_loop = "allow"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1