mirror of
https://github.com/nukesor/pueue
synced 2024-09-28 20:13:57 +00:00
Bumped MSRV to 1.70
This commit is contained in:
parent
7f234e9935
commit
f0254f2bce
|
@ -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
|
||||
|
||||
|
|
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1288,7 +1288,6 @@ dependencies = [
|
|||
"handlebars",
|
||||
"interim",
|
||||
"log",
|
||||
"once_cell",
|
||||
"pest",
|
||||
"pest_derive",
|
||||
"pretty_assertions",
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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" }
|
||||
|
|
|
@ -7,7 +7,7 @@ use std::{
|
|||
sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
mpsc::{channel, Receiver, Sender},
|
||||
Arc, Mutex,
|
||||
Arc, Mutex, OnceLock,
|
||||
},
|
||||
thread,
|
||||
time::Duration,
|
||||
|
@ -15,7 +15,6 @@ use std::{
|
|||
|
||||
use anyhow::{anyhow, bail, Result};
|
||||
use log::{debug, error};
|
||||
use once_cell::sync::OnceCell;
|
||||
use windows::{
|
||||
core::{PCWSTR, PWSTR},
|
||||
Win32::{
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue