Skip to content

Commit

Permalink
avoid dependabot suggesting getrandom upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog committed Feb 8, 2025
1 parent 5af23b3 commit 7e6d117
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ cron = "0.15.0"
deepsize = "0.2.0"
educe = "0.6.0"
futures = "0.3.29"
getrandom = "0.2.11" # TODO(blocked): kill this and overrides once all deps are gone
getrandom-0-3 = { package = "getrandom", version = "0.3.1", features = [
getrandom-0-2 = { package = "getrandom", version = "0.2.11" } # TODO(blocked): kill this and overrides once all deps are gone
getrandom = { version = "0.3.1", features = [
"wasm_js", # Required on wasm32 and noop elsewhere
] }
gloo-net = "0.6.0"
Expand Down
2 changes: 1 addition & 1 deletion crdb-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ waaaa.workspace = true
web-time.workspace = true

[dev-dependencies]
getrandom = { workspace = true, features = ["js"] }
getrandom-0-2 = { workspace = true, features = ["js"] }
6 changes: 3 additions & 3 deletions crdb-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[features]
arbitrary = ["dep:arbitrary", "arbitrary-json", "rust_decimal/rust-fuzz"]
indexed-db = ["dep:indexed-db", "serde-wasm-bindgen", "web-sys"]
server = ["axum", "getrandom-0-3", "rand", "sqlx-postgres"]
server = ["axum", "getrandom", "rand", "sqlx-postgres"]
sqlx-postgres = ["sqlx", "sqlx/postgres", "sqlx/uuid", "uuid"]
sqlx-sqlite = ["sqlx", "sqlx/sqlite", "sqlx/uuid", "uuid"]
uuid = ["dep:uuid"]
Expand Down Expand Up @@ -35,7 +35,7 @@ writeable.workspace = true
arbitrary = { workspace = true, optional = true }
arbitrary-json = { workspace = true, optional = true }
axum = { workspace = true, optional = true }
getrandom-0-3 = { workspace = true, optional = true }
getrandom = { workspace = true, optional = true }
indexed-db = { workspace = true, optional = true }
rand = { workspace = true, optional = true }
serde-wasm-bindgen = { workspace = true, optional = true }
Expand All @@ -52,4 +52,4 @@ wasm-bindgen-futures.workspace = true

[dev-dependencies]
bolero.workspace = true
getrandom = { workspace = true, features = ["js"] }
getrandom-0-2 = { workspace = true, features = ["js"] }
4 changes: 2 additions & 2 deletions crdb-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[features]
js = [
"crdb-core/indexed-db",
"getrandom/js",
"getrandom-0-2/js",
"serde-wasm-bindgen",
"wasm-bindgen",
]
Expand All @@ -15,7 +15,7 @@ js = [
crdb-core.workspace = true

anyhow.workspace = true
getrandom.workspace = true
getrandom-0-2.workspace = true
serde_json.workspace = true

serde-wasm-bindgen = { workspace = true, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crdb-indexed-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _tests = [
"bolero",
"console_error_panic_hook",
"crdb-test-utils",
"getrandom-0-3",
"getrandom",
"rand",
"rand-0-8",
"tracing-wasm",
Expand Down Expand Up @@ -38,7 +38,7 @@ crdb-test-utils = { workspace = true, optional = true }
arbitrary = { workspace = true, optional = true }
bolero = { workspace = true, optional = true }
console_error_panic_hook = { workspace = true, optional = true }
getrandom-0-3 = { workspace = true, optional = true }
getrandom = { workspace = true, optional = true }
rand = { workspace = true, optional = true }
rand-0-8 = { workspace = true, optional = true }
tracing-wasm = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crdb-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ serde_json.workspace = true
waaaa.workspace = true

[dev-dependencies]
getrandom = { workspace = true, features = ["js"] }
getrandom-0-2 = { workspace = true, features = ["js"] }
2 changes: 1 addition & 1 deletion crdb-test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ulid.workspace = true
waaaa.workspace = true

[dev-dependencies]
getrandom = { workspace = true, features = ["js"] }
getrandom-0-2 = { workspace = true, features = ["js"] }
2 changes: 1 addition & 1 deletion crdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ crdb-indexed-db = { workspace = true, optional = true }
crdb-server = { workspace = true, optional = true }

[dev-dependencies]
getrandom = { workspace = true, features = ["js"] }
getrandom-0-2 = { workspace = true, features = ["js"] }

0 comments on commit 7e6d117

Please sign in to comment.