diff --git a/fake/Cargo.toml b/fake/Cargo.toml index e2fa852..e4192b6 100644 --- a/fake/Cargo.toml +++ b/fake/Cargo.toml @@ -17,12 +17,12 @@ all-features = true [dependencies] dummy = { version = "0.7", path = "../dummy_derive", optional = true } rand = "0.8" -random_color = { version = "0.6", optional = true } +random_color = { version = "0.8", optional = true } deunicode = "1.4" chrono = { version = "0.4", features = [ "std", ], default-features = false, optional = true } -chrono-tz = { version = "0.8", optional = true } +chrono-tz = { version = "0.9", optional = true } geo-types = { version = "0.7", default-features = false, optional = true } http = { version = "1", optional = true } semver = { version = "1", optional = true } diff --git a/fake/src/impls/color/mod.rs b/fake/src/impls/color/mod.rs index 856aa9e..c020700 100644 --- a/fake/src/impls/color/mod.rs +++ b/fake/src/impls/color/mod.rs @@ -10,6 +10,7 @@ impl Dummy for RandomColor { luminosity: Some(Luminosity::Random), seed: Some((u64::MIN..u64::MAX).fake_with_rng::(rng)), alpha: Some((0..10).fake_with_rng::(rng) as f32 / 10.), + ..Default::default() } } }