31 lines
863 B
TOML
31 lines
863 B
TOML
[package]
|
|
name = "vncstream_server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.86"
|
|
|
|
# vnc
|
|
vnc-rs = { git = "https://github.com/computernewb/vnc-rs.git" }
|
|
tokio = { version = "1.39.3", features = ["full"] }
|
|
|
|
#ws
|
|
axum = { version = "0.7.5", features = ["ws", "macros"] }
|
|
futures = "0.3"
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
|
|
# ffmpeg
|
|
ffmpeg = { version = "7.0.0", package = "ffmpeg-next" }
|
|
|
|
# misc stuff
|
|
rand = "0.8.5"
|
|
serde = "1.0.209"
|
|
serde_json = "1.0.128"
|
|
cudarc = { version = "0.12.1", features = [ "cuda-11050" ] }
|
|
|
|
|
|
[patch.crates-io]
|
|
ffmpeg = { version = "7.0.0", package = "ffmpeg-next", git = "https://github.com/hgaiser/rust-ffmpeg", branch = "codec-context-settable" }
|
|
ffmpeg-sys-next = { version = "7.0.0", git = "https://github.com/hgaiser/rust-ffmpeg-sys", branch = "cuda" }
|