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