From 19241d4e404521c37a6251c3a966045d17603d68 Mon Sep 17 00:00:00 2001 From: Thomas Duindam Date: Mon, 18 Mar 2024 09:23:47 +0100 Subject: [PATCH] Update glam to 0.26 --- fake/Cargo.toml | 2 +- fake/examples/utils.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fake/Cargo.toml b/fake/Cargo.toml index eba41c8..2f74b8a 100644 --- a/fake/Cargo.toml +++ b/fake/Cargo.toml @@ -35,7 +35,7 @@ rust_decimal = { version = "1.32", default-features = false, optional = true } bigdecimal-rs = { version = "0.4", package = "bigdecimal", default-features = false, optional = true } zerocopy = { version = "0.7", optional = true } rand_core = { version = "0.6", optional = true } -glam = { version = "0.24", optional = true } +glam = { version = "0.26.0", optional = true } url-escape = { version = "0.1", optional = true } [dev-dependencies] diff --git a/fake/examples/utils.rs b/fake/examples/utils.rs index 811737b..469e2f5 100644 --- a/fake/examples/utils.rs +++ b/fake/examples/utils.rs @@ -6,11 +6,13 @@ use fake::{ #[derive(Debug, Dummy)] struct Foo { + #[allow(unused)] #[dummy(faker = "either(PhoneNumber(), CellNumber())", wrapper = "WrappedVal")] phone_number: String, } fn main() { + #[allow(clippy::disallowed_names)] for _ in 0..10 { let foo: Foo = Faker.fake(); println!("{:?}", foo);