#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

#1644 in Hardware support

Download history 68/week @ 2023-11-26 37/week @ 2023-12-03 54/week @ 2023-12-10 70/week @ 2023-12-17 55/week @ 2023-12-24 29/week @ 2023-12-31 53/week @ 2024-01-07 57/week @ 2024-01-14 48/week @ 2024-01-21 47/week @ 2024-01-28 50/week @ 2024-02-04 79/week @ 2024-02-11 100/week @ 2024-02-18 143/week @ 2024-02-25 97/week @ 2024-03-03 80/week @ 2024-03-10

433 downloads per month
Used in 5 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.7–3.5MB
~76K SLoC