rgb2vga

Crates.iorgb2vga
lib.rsrgb2vga
version
sourcesrc
created_at2025-03-14 13:14:45.827638+00
updated_at2025-03-20 19:12:06.17211+00
descriptionAn RGB pixel to VGA color converter implemented in rust
homepage
repositoryhttps://gitlab.com/mateolafalce/rgb2vga
max_upload_size
id1592192
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Mateo Lafalce (mateolafalce)

documentation

README

rgb2vga

crates.io github docs.rs

An RGB pixel to VGA color converter implemented in rust. This crate can be runned also in a no-std environment.

use rgb2vga::rgb2vga;

fn main() {
  let rgb = (250, 128, 114);
  let vga = rgb2vga(rgb);
  // do other things
}

Examples

cargo run --example simple
cargo run --example std
Commit count: 0

cargo fmt