Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mart committed Feb 28, 2024
1 parent aa98237 commit 7e34032
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
[package]
name = "monoff"
authors = ["Tim Martin"]
version = "0.4.5"
repository = "https://github.com/t-mart/monoff"
documentation = "https://docs.rs/monoff"
homepage = "https://github.com/t-mart/monoff"
version = "0.4.6"
edition = "2021"
description = "Turns off monitors on Windows"
license = "MIT"
keywords = ["monitor", "display", "off", "windows"]
categories = ["accessibility", "command-line-utilities", "hardware-support"]

[dependencies]
clap = { version = "4.5.1", features = ["derive"] }
Expand Down
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//! This file is used to compile the icon into the executable.
#![warn(missing_docs)]
#![warn(clippy::pedantic)]

use {
std::{env, io},
winres::WindowsResource,
Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
//! A simple program to turn off the monitors on Windows.
#![warn(clippy::pedantic)]
#![warn(missing_docs)]
#![warn(clippy::cargo)]
// prevent a console window from flashing
#![windows_subsystem = "windows"]

Expand Down

0 comments on commit 7e34032

Please sign in to comment.