Crates.io | vncserver |
lib.rs | vncserver |
version | 0.2.2 |
source | src |
created_at | 2021-04-06 10:44:58.858778 |
updated_at | 2021-04-12 08:20:10.91313 |
description | Rust bindings for the Libvncserver library |
homepage | https://github.com/rayylee/libvnc-rs |
repository | https://github.com/rayylee/libvnc-rs |
max_upload_size | |
id | 379776 |
size | 9,591 |
The libvnc-rs
repo aims to provide safe Rust binding over Libvncserver
-based libraries.
You can find more about Libvncserver
on https://github.com/LibVNC/libvncserver.
use vncserver::*;
fn main() {
let server = rfb_get_screen(400, 300, 8, 3, 4);
rfb_framebuffer_malloc(server, 400*300*4);
rfb_init_server(server);
rfb_run_event_loop(server, -1, 0);
}
You can quickly try out the examples by cloning this repo and running the following commands:
# Runs the "sample" example
cargo run --example sample
The libvnc-rs
is still in the very early stages of development. APIs can and will change. Important features are missing.