[package] name = "hardlight" version = "2.0.0" edition = "2021" description = "A secure, real-time, low-latency binary WebSocket RPC subprotocol. Likely the fastest web-compatible RPC framework ever built." authors = ["Azz "] license = "MIT" repository = "https://github.com/valeralabs/hardlight" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-trait = "0.1.68" tokio = { version = "1.27.0", features = ["full"] } tokio-tungstenite = { version = "0.18.0", features = ["rustls-tls-native-roots"] } bytecheck = { version = "0.6.9", features = ["uuid"] } version = "3.0.0" tokio-rustls = { version = "0.23.4", default-features = false, features = ["dangerous_configuration"] } rcgen = { version = "0.10.0", default-features = false } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } tracing = "0.1.37" rustls-native-certs = "0.6.2" hardlight-macros = { path = "macros", version = "2.0.0" } array-init = "2.0" tokio-macros = "2.0.0" parking_lot = "0.12.1" rkyv_derive = { version = "0.7.40", features = ["copy"] } hashbrown = { version = "0.14.0", features = ["rkyv"] } rand = "0.8.5" rkyv = { version = "0.7.42", features = ["copy", "validation"] } [dependencies.flate2] version = "1.0.17" default-features = true [lib] doctest = false [features] # uses zlib-ng instead of miniz_oxide, which is faster # but requires a C compiler, so can be a pain to ship in unusual # environments unpure-compression = ["flate2/zlib-ng"] # disables most tracing in release mode quiet = ["tracing/release_max_level_debug"] # enables all tracing noisy = ["tracing/max_level_trace"] # disables any self-signed features, forcing the use of a CA disable-self-signed = ["hardlight-macros/disable-self-signed"] default = ["quiet"] [workspace] members = [ ".", "testing-project", "macros", ] [dev-dependencies] tracing-subscriber = "0.3.17"