fix: upgrade to Rust 1.83.0

This commit is contained in:
Harsh Shandilya 2024-12-23 21:48:40 +05:30
parent cd434640fa
commit ce98913d45
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
use std::str::FromStr;
use anyhow::{bail, Result};
use anyhow::{Result, bail};
use regex::Regex;
use serde_derive::Deserialize;
use tracing::trace;

View file

@ -1,12 +1,12 @@
use tracing::Level;
use tracing::dispatcher::SetGlobalDefaultError;
use tracing::subscriber::set_global_default;
use tracing::Level;
use tracing_subscriber::filter::Targets;
#[cfg(not(feature = "journald"))]
fn configure_tracing(filter: Targets) -> Result<(), SetGlobalDefaultError> {
use tracing_subscriber::layer::SubscriberExt;
use tracing_subscriber::{fmt, Layer};
use tracing_subscriber::{Layer, fmt};
let stdout_log = fmt::layer().pretty();
let subscriber =

View file

@ -6,7 +6,7 @@ mod test;
use std::path::PathBuf;
use anyhow::{anyhow, bail, Result};
use anyhow::{Result, anyhow, bail};
use dirs::config_dir;
use tracing::debug;