[package] name = "rvideo" version = "0.5.1" edition = "2021" authors = ["Serhij S. "] license = "Apache-2.0" description = "Real-time video server for embedded apps" repository = "https://github.com/roboplc/rvideo" keywords = ["realtime", "video", "roboplc", "plc", "industrial"] readme = "README.md" autoexamples = false [package.metadata.docs.rs] features = ["full"] [package.metadata.playground] features = ["full"] [dependencies] binrw = "0.14.0" thiserror = "1.0.61" tracing = "0.1.40" serde = { version = "1.0.203", features = ["derive"] } once_cell = "1.19.0" tokio = { version = "1.36.0", features = ["net", "io-util", "time"], optional = true } rtsc = "0.3" parking_lot = { version = "0.12.3", optional = true } parking_lot_rt = { version = "0.12.1", optional = true } bytemuck = "1.17.1" bytes = "1.7.1" [features] async = ["tokio"] full = ["async"] locking-default = ["dep:parking_lot", "rtsc/parking_lot"] locking-rt = ["dep:parking_lot_rt"] locking-rt-safe = [] default = ["locking-default"] [dev-dependencies] imageproc = "0.22" image = "0.23" rmp-serde = "1.3.0" tokio = { version = "=1.36.0", features = ["full"] } rusttype = "0.9.2" serde_json = "1.0.117" [[example]] name = "client" path = "examples/client.rs" [[example]] name = "client-async" path = "examples/client-async.rs" required-features = ["async"] [[example]] name = "server" path = "examples/server.rs" [[example]] name = "server-custom" path = "examples/server-custom.rs"