[package] name = "lighthouse-client" description = "Client SDK for Project Lighthouse" categories = ["api-bindings", "asynchronous"] repository = "https://github.com/ProjectLighthouseCAU/lighthouse-rust" version.workspace = true edition.workspace = true license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["tokio"] async-std = ["dep:async-std", "async-tungstenite/async-std-runtime", "async-tungstenite/async-native-tls"] tokio = ["dep:tokio", "async-tungstenite/tokio-runtime", "async-tungstenite/tokio-native-tls"] [dependencies] async-std = { version = "1.10", features = ["attributes"], optional = true } tokio = { version = "1.21", features = ["rt"], optional = true } async-tungstenite = { version = "0.25", features = [] } futures = "0.3" lighthouse-protocol = { workspace = true } tracing = "0.1" serde = { version = "1.0", features = ["derive"] } serde_with = "3.4" rmp-serde = "1.0" rand = "0.8" thiserror = "1.0.58" stream-guard = "1.0.0" [dev-dependencies] tracing-subscriber = { version = "0.3", features = ["env-filter", "std"] } tokio = { version = "1.21", features = ["rt", "rt-multi-thread", "macros", "time"] } clap = { version = "4.5", features = ["derive", "env"] } dotenvy = "0.15"