[package]
name = "bloop-protocol"
description = "Core implementation of the Bloop wire protocol"
version = "1.0.0"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
[features]
hex = ["dep:hex"]
md5 = ["dep:md5"]
serde = ["dep:serde", "hex"]
[dependencies]
bloop-protocol-derive = { path = "../bloop-protocol-derive", version = "1.0.0" }
bitmask-enum = "2.2"
thiserror = "2.0"
tokio = { version = "1.48", default-features = false, features = ["io-util"] }
uuid = "1.19"
hex = { version = "0.4.3", optional = true }
md5 = { version = "0.8.0", optional = true }
serde = { version = "1.0", optional = true }
[dev-dependencies]
serde_json = "1.0"
tokio = { version = "1.48", features = ["io-util", "macros", "rt"] }
trybuild = "1.0"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(docsrs)"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]