Skip to content

Commit

Permalink
Update glam to 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Duindam committed Mar 18, 2024
1 parent 5353ccc commit 19241d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions fake/examples/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 19241d4

Please sign in to comment.