Add install scaffold, dist-keys

This commit is contained in:
SkyfallWasTaken 2024-07-30 11:26:24 +01:00
parent e646347714
commit c5dd2c6bba
4 changed files with 40 additions and 5 deletions

View file

@ -13,3 +13,6 @@ tokio = { version = "1.38.0", features = ["fs"], optional = true }
[dev-dependencies]
maplit = "1.0.2"
pretty_assertions = "1.4.0"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }

View file

@ -44,14 +44,14 @@ pub enum RepositoryVariant {
// serde :/
#[allow(clippy::trivially_copy_pass_by_ref)]
#[cfg(not(tarpaullin_include))]
#[cfg(not(tarpaulin_include))]
#[inline(always)]
fn is_false(value: &bool) -> bool {
!value
}
#[inline(always)]
#[cfg(not(tarpaullin_include))]
#[cfg(not(tarpaulin_include))]
const fn default_as_false() -> bool {
false
}