Compare commits

..

No commits in common. "614e721b91f22d98a645a30575e287028fbcb569" and "d3dfedc95b1c5be91d1d1578f00aec84cd08d190" have entirely different histories.

5 changed files with 7 additions and 20 deletions

20
Cargo.lock generated
View file

@ -322,9 +322,9 @@ dependencies = [
[[package]] [[package]]
name = "bon" name = "bon"
version = "3.0.2" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a636f83af97c6946f3f5cf5c268ec02375bf5efd371110292dfd57961f57a509" checksum = "97493a391b4b18ee918675fb8663e53646fd09321c58b46afa04e8ce2499c869"
dependencies = [ dependencies = [
"bon-macros", "bon-macros",
"rustversion", "rustversion",
@ -332,16 +332,14 @@ dependencies = [
[[package]] [[package]]
name = "bon-macros" name = "bon-macros"
version = "3.0.2" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7eaf1bfaa5b8d512abfd36d0c432591fef139d3de9ee54f1f839ea109d70d33" checksum = "2a2af3eac944c12cdf4423eab70d310da0a8e5851a18ffb192c0a5e3f7ae1663"
dependencies = [ dependencies = [
"darling", "darling",
"ident_case", "ident_case",
"prettyplease",
"proc-macro2", "proc-macro2",
"quote", "quote",
"rustversion",
"syn", "syn",
] ]
@ -3410,16 +3408,6 @@ dependencies = [
"yansi", "yansi",
] ]
[[package]]
name = "prettyplease"
version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
"syn",
]
[[package]] [[package]]
name = "proc-macro-crate" name = "proc-macro-crate"
version = "3.2.0" version = "3.2.0"

View file

@ -81,7 +81,7 @@ time = "0.3"
standardwebhooks = "1.0" standardwebhooks = "1.0"
# boilerplate # boilerplate
bon = "3.0" bon = "2.0"
derive_more = { version = "1.0.0-beta", features = [ derive_more = { version = "1.0.0-beta", features = [
"as_ref", "as_ref",
"constructor", "constructor",

View file

@ -153,7 +153,6 @@ pub fn a_commit_sha() -> Sha {
} }
pub fn a_filesystem() -> kxio::fs::TempFileSystem { pub fn a_filesystem() -> kxio::fs::TempFileSystem {
#[allow(clippy::expect_used)]
kxio::fs::temp().expect("temp fs") kxio::fs::temp().expect("temp fs")
} }

View file

@ -6,7 +6,6 @@ use crate::alerts::{AlertsActor, History};
// //
pub fn a_filesystem() -> kxio::fs::TempFileSystem { pub fn a_filesystem() -> kxio::fs::TempFileSystem {
#[allow(clippy::expect_used)]
kxio::fs::temp().expect("temp fs") kxio::fs::temp().expect("temp fs")
} }

View file

@ -192,7 +192,8 @@ pub struct ForgeState {
pub repos: BTreeMap<RepoAlias, RepoState>, pub repos: BTreeMap<RepoAlias, RepoState>,
} }
#[derive(bon::Builder, Clone, Debug, PartialEq, Eq)] #[bon::builder]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct RepoMessage { pub struct RepoMessage {
text: String, text: String,
style: Style, style: Style,