Skip to content

Commit

Permalink
Merge pull request #173 from thomas-tribus/master
Browse files Browse the repository at this point in the history
Update glam to 0.26
  • Loading branch information
cksac committed Mar 19, 2024
2 parents 5353ccc + 19241d4 commit 94173e5
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 94173e5

Please sign in to comment.