#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

#1724 in Hardware support

Download history 204/week @ 2024-04-01 89/week @ 2024-04-08 90/week @ 2024-04-15 120/week @ 2024-04-22 122/week @ 2024-04-29 91/week @ 2024-05-06 118/week @ 2024-05-13 116/week @ 2024-05-20 367/week @ 2024-05-27 161/week @ 2024-06-03 121/week @ 2024-06-10 133/week @ 2024-06-17 110/week @ 2024-06-24 56/week @ 2024-07-01 105/week @ 2024-07-08 125/week @ 2024-07-15

412 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.8–4MB
~78K SLoC