From 8b48572816a9de6ebad9f0be793b1099fd2f0e50 Mon Sep 17 00:00:00 2001 From: Haim Gelfenbeyn Date: Fri, 26 Jul 2024 09:24:27 -0400 Subject: [PATCH] Dependencies upgrade --- Cargo.toml | 16 ++++++++-------- rustfmt.toml | 2 +- src/lib.rs | 1 + src/monitor.rs | 1 - 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1db72e9..8e218d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "ddc-macos" -version = "0.2.0" +version = "0.3.0" authors = ["Haim Gelfenbeyn "] -edition = "2018" +edition = "2021" description = "DDC/CI monitor control on MacOS" -documentation = "http://haimgel.github.io/ddc-macos-rs/ddc_macos" +documentation = "https://haimgel.github.io/ddc-macos-rs/ddc_macos" readme = "README.md" repository = "https://github.com/haimgel/ddc-macos-rs" license = "MIT" @@ -12,11 +12,11 @@ keywords = ["ddc", "mccs", "vcp", "vesa", "macos"] categories = ["hardware-support", "os::macos-apis"] [dependencies] -core-foundation = "^0.9.1" -core-foundation-sys = "^0.8.1" -core-graphics = "^0.22.1" -ddc = "^0.2.0" -io-kit-sys = "0.1.0" +core-foundation = "^0.10.0" +core-foundation-sys = "^0.8.3" +core-graphics = "^0.24.0" +ddc = "^0.3.0" +io-kit-sys = "0.4.1" mach = "^0.3.2" thiserror = "^1" diff --git a/rustfmt.toml b/rustfmt.toml index c1a42eb..481ef24 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,3 @@ max_width = 120 -edition = "2018" +edition = "2021" use_try_shorthand = true diff --git a/src/lib.rs b/src/lib.rs index 60dbc6c..9bb8b54 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,6 +16,7 @@ //! } //! # } //! ``` +#![doc(html_root_url = "https://haimgel.github.io/ddc-macos-rs/")] mod iokit; mod monitor; diff --git a/src/monitor.rs b/src/monitor.rs index e4a0534..d9ea222 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -1,5 +1,4 @@ #![deny(missing_docs)] -#![doc(html_root_url = "http://haimgel.github.io/ddc-macos-rs/")] use crate::iokit::display::*; use crate::iokit::io2c_interface::*;