#mccs #vcp #ddc #vesa

mccs-db

MCCS specification VCP database

7 releases

0.2.0 Feb 16, 2023
0.1.3 Feb 16, 2023
0.1.2 Mar 27, 2018
0.0.2 Mar 25, 2018

#1912 in Hardware support

Download history 99/week @ 2024-09-05 147/week @ 2024-09-12 120/week @ 2024-09-19 223/week @ 2024-09-26 115/week @ 2024-10-03 90/week @ 2024-10-10 116/week @ 2024-10-17 109/week @ 2024-10-24 196/week @ 2024-10-31 95/week @ 2024-11-07 89/week @ 2024-11-14 128/week @ 2024-11-21 102/week @ 2024-11-28 126/week @ 2024-12-05 201/week @ 2024-12-12 99/week @ 2024-12-19

538 downloads per month
Used in 6 crates (3 directly)

MIT license

39KB
775 lines

MCCS Database

release-badge docs-badge license-badge

mccs-db contains the human-readable descriptions of VCP features from the MCCS spec.

Documentation

See the documentation for up to date information.


lib.rs:

Monitor Command Control Set VCP feature code meanings and data interpretation.

Example

use mccs_db::Database;

// Read the capabilities from an external source, such as a monitor over DDC.
let caps = mccs_caps::parse_capabilities(read_display_capability_string()).unwrap();

// Load the MCCS version spec and filter by the monitor's capabilities
let mut db = Database::from_version(caps.mccs_version.as_ref().unwrap());
db.apply_capabilities(&caps);

println!("Display Capabilities: {:#?}", db);

Dependencies

~2.6–3.5MB
~75K SLoC