Use rust2018

This commit is contained in:
2025-04-28 14:34:41 +02:00
parent 2bef133479
commit d11941f81f
4 changed files with 5 additions and 4 deletions

View File

@@ -1,9 +1,7 @@
cargo-features = ["edition2024"]
[package] [package]
name = "punlock" name = "punlock"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2018"
[lib] [lib]
name = "punlock" name = "punlock"

View File

@@ -1,3 +1,4 @@
use std::convert::{TryFrom, TryInto};
use std::path::Path; use std::path::Path;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};

View File

@@ -1,3 +1,4 @@
use std::convert::TryFrom;
use std::io::Write; use std::io::Write;
use serde::Serialize; use serde::Serialize;

View File

@@ -1,3 +1,4 @@
use std::convert::TryInto;
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use clap::Parser; use clap::Parser;
@@ -8,7 +9,7 @@ use punlock::{
store::UnmountedSecretStore, store::UnmountedSecretStore,
}; };
use tracing_subscriber::{ use tracing_subscriber::{
EnvFilter, fmt::format::FmtSpan, layer::SubscriberExt, util::SubscriberInitExt, fmt::format::FmtSpan, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter,
}; };
#[derive(Parser, Debug)] #[derive(Parser, Debug)]