Skip to content

Commit

Permalink
Bumped MSRV to 1.70
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Sep 9, 2024
1 parent 7f234e9 commit f0254f2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ TLDR: The new task state representation is more verbose but significantly cleane
- **Breaking**: Remove the `--children` commandline flags, that have been deprecated and no longer serve any function since `v3.0.0`.
- Send log output to `stderr` instead of `stdout` [#562](https://github.com/Nukesor/pueue/issues/562).
- Change default log level from error to warning [#562](https://github.com/Nukesor/pueue/issues/562).
- Bumped MSRV to 1.70.

### Add

Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage = "https://github.com/nukesor/pueue"
repository = "https://github.com/nukesor/pueue"
license = "MIT"
edition = "2021"
rust-version = "1.67"
rust-version = "1.70"

[workspace.dependencies]
# Chrono version is hard pinned to a specific version.
Expand Down
1 change: 0 additions & 1 deletion pueue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ ctrlc = { version = "3", features = ["termination"] }
handlebars = { workspace = true }
interim = { version = "0.1.2", features = ["chrono"] }
log = { workspace = true }
once_cell = "1.19.0"
pest = "2.7"
pest_derive = "2.7"
pueue-lib = { version = "0.26.1", path = "../pueue_lib" }
Expand Down
5 changes: 2 additions & 3 deletions pueue/src/daemon/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ use std::{
sync::{
atomic::{AtomicBool, Ordering},
mpsc::{channel, Receiver, Sender},
Arc, Mutex,
Arc, Mutex, OnceLock,
},
thread,
time::Duration,
};

use anyhow::{anyhow, bail, Result};
use log::{debug, error};
use once_cell::sync::OnceCell;
use windows::{
core::{PCWSTR, PWSTR},
Win32::{
Expand Down Expand Up @@ -58,7 +57,7 @@ struct Config {

const SERVICE_NAME: &str = "pueued";
const SERVICE_TYPE: ServiceType = ServiceType::OWN_PROCESS;
static CONFIG: OnceCell<Config> = OnceCell::new();
static CONFIG: OnceLock<Config> = OnceLock::new();

define_windows_service!(ffi_service_main, service_main);

Expand Down

0 comments on commit f0254f2

Please sign in to comment.