mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2025-05-22 06:43:05 +00:00
Add install scaffold, dist-keys
This commit is contained in:
parent
e646347714
commit
c5dd2c6bba
4 changed files with 40 additions and 5 deletions
|
@ -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)'] }
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue