Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed May 4, 2024
1 parent bb89952 commit 2f2af07
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ members = [
"dummy_derive",
]

resolver = "2"
resolver = "2"
6 changes: 3 additions & 3 deletions dummy_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ edition = "2018"
proc-macro = true

[dependencies]
syn = "2.0"
darling = { version = "0.20", default-features = false }
proc-macro2 = { version = "1", default-features = false }
quote = "1.0"
darling = "0.20"
quote = { version = "1.0", default-features = false }
syn = { version = "2.0", default-features = false }
45 changes: 23 additions & 22 deletions fake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,33 @@ rust-version = "1.56"
all-features = true

[dependencies]
bigdecimal-rs = { version = "0.4", package = "bigdecimal", default-features = false, optional = true }
bson = { version = "2.10", optional = true }
chrono = { version = "0.4", features = ["clock", "std"], default-features = false, optional = true }
chrono-tz = { version = "0.9", default-features = false, optional = true }
deunicode = { version = "1.4", default-features = false }
dummy = { version = "0.7", path = "../dummy_derive", optional = true }
rand = "0.8"
random_color = { version = "0.6", optional = true }
deunicode = "1.4"
chrono = { version = "0.4", features = [
"std",
], default-features = false, optional = true }
chrono-tz = { version = "0.8", optional = true }
geo-types = { version = "0.7", default-features = false, optional = true }
http = { version = "1", optional = true }
semver = { version = "1", optional = true }
serde_json = { version = "1.0", optional = true }
ulid = { version = "1.1", optional = true }
uuid = { version = "1.5", features = ["v1", "v3", "v4", "v5"], optional = true }
time = { version = "0.3", features = ["formatting"], optional = true }
num-traits = { version = "0.2", optional = true }
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 }
glam = { version = "0.27.0", features = ["std"], default-features = false, optional = true }
http = { version = "1", features = ["std"], default-features = false, optional = true }
num-traits = { version = "0.2", default-features = false, optional = true }
rand = { version = "0.8", features = ["std_rng"], default-features = false }
rand_core = { version = "0.6", optional = true }
glam = { version = "0.27.0", optional = true }
random_color = { version = "0.8", optional = true }
rust_decimal = { version = "1.32", default-features = false, optional = true }
semver = { version = "1", default-features = false, optional = true }
serde_json = { version = "1.0", default-features = false, optional = true }
time = { version = "0.3.30", features = ["formatting"], default-features = false, optional = true }
ulid = { version = "1.1", default-features = false, optional = true }
url-escape = { version = "0.1", optional = true }
bson = { version = "2.10", optional = true }
uuid = { version = "1.5", features = ["v1", "v3", "v4", "v5"], default-features = false, optional = true }
zerocopy = { version = "0.7", features = ["byteorder"], default-features = false, optional = true }

[dev-dependencies]
chrono = { version = "0.4", features = ["clock"], default-features = false }
chrono = { version = "0.4", default-features = false }
fake = { path = ".", features = ["derive"] }
proptest = "1.0.0"
rand_chacha = "0.3"
proptest = { version = "1.0.0", features = ["std"], default-features = false }
rand_chacha = { version = "0.3", default-features = false }

[features]
# Provide derive(Dummy) macros.
Expand Down Expand Up @@ -79,3 +77,6 @@ required-features = [
name = "usage"
path = "examples/usage.rs"
required-features = ["derive"]

[package.metadata.cargo-all-features]
denylist = ["geo-types", "serde_json"]
1 change: 1 addition & 0 deletions fake/src/impls/color/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ impl Dummy<Faker> for RandomColor {
luminosity: Some(Luminosity::Random),
seed: Some((u64::MIN..u64::MAX).fake_with_rng::<u64, _>(rng)),
alpha: Some((0..10).fake_with_rng::<i8, _>(rng) as f32 / 10.),
..Default::default()
}
}
}

0 comments on commit 2f2af07

Please sign in to comment.