#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

#2009 in Hardware support

Download history 108/week @ 2024-11-17 118/week @ 2024-11-24 105/week @ 2024-12-01 167/week @ 2024-12-08 177/week @ 2024-12-15 88/week @ 2024-12-22 45/week @ 2024-12-29 183/week @ 2025-01-05 196/week @ 2025-01-12 184/week @ 2025-01-19 87/week @ 2025-01-26 140/week @ 2025-02-02 171/week @ 2025-02-09 215/week @ 2025-02-16 304/week @ 2025-02-23 137/week @ 2025-03-02

857 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
~73K SLoC