talaris 0.9.0

Low-latency HFT transport toolkit for Linux: io_uring proactor plus WebSocket/TLS/HTTP building blocks.
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 = "talaris"
version = "0.9.0"
authors = ["fdranger <fdrangerhere@gmail.com>"]
build = false
exclude = ["reports/**"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-latency HFT transport toolkit for Linux: io_uring proactor plus WebSocket/TLS/HTTP building blocks."
homepage = "https://github.com/fdrangersg/talaris"
documentation = "https://docs.rs/talaris"
readme = "README.md"
keywords = [
    "websocket",
    "io-uring",
    "tls",
    "network",
    "hft",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/fdrangersg/talaris"

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

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

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

[[bench]]
name = "live_compare"
path = "benches/live_compare.rs"
harness = false

[[bench]]
name = "live_pipeline"
path = "benches/live_pipeline.rs"
harness = false

[[bench]]
name = "live_redundancy"
path = "benches/live_redundancy.rs"
harness = false

[[bench]]
name = "local_compare"
path = "benches/local_compare.rs"
harness = false

[[bench]]
name = "local_lifecycle"
path = "benches/local_lifecycle.rs"
harness = false

[[bench]]
name = "local_pipeline"
path = "benches/local_pipeline.rs"
harness = false

[[bench]]
name = "local_redundancy"
path = "benches/local_redundancy.rs"
harness = false

[[bench]]
name = "local_tuning"
path = "benches/local_tuning.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.hdrhistogram]
version = "7"

[dependencies.libc]
version = "0.2"

[dependencies.ring]
version = "0.17"

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.sha1]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.webpki-roots]
version = "0.26"

[dev-dependencies.tungstenite]
version = "0.29"
features = ["handshake"]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"

[lints.clippy]
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
expect_used = "warn"
indexing_slicing = "warn"
inline_always = "allow"
mem_forget = "deny"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
use_self = "warn"

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

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

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

[lints.rust]
missing_debug_implementations = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_must_use = "warn"

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 2
strip = false

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
strip = "symbols"

[profile.release-debug]
debug = 2
inherits = "release"
strip = false