Skip to content

Commit 7b643c4

Browse files
crumplecupCopilot
andcommitted
fix: use workspace = true exclusively in elicit_sqlx
- elicit_db: path dep → workspace - sqlx-core: version pin → workspace (added to workspace deps) - dotenvy: version pin in dev-deps → workspace Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 552ca1e commit 7b643c4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ surrealdb = { version = "3.0.5", features = [
226226
"scripting",
227227
] }
228228
rust_decimal = "1"
229+
sqlx-core = "0.8"
229230
sqlx = { version = "0.8", features = [
230231
"runtime-tokio",
231232
"tls-native-tls",

crates/elicit_sqlx/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ api = []
1818

1919
[dependencies]
2020
elicitation = { workspace = true, features = ["sqlx-types", "emit"] }
21-
elicit_db = { path = "../elicit_db" }
21+
elicit_db.workspace = true
2222
elicitation_derive.workspace = true
2323
sqlx = { workspace = true }
2424
# Direct dep for types not re-exported by the `sqlx` facade crate
2525
# (AnyColumn, AnyValueKind). Fields accessed are pub but #[doc(hidden)],
2626
# meaning they are semver-exempt — acceptable at our version pin.
27-
sqlx-core = "0.8"
27+
sqlx-core.workspace = true
2828
inventory.workspace = true
2929
rmcp.workspace = true
3030
schemars.workspace = true
@@ -42,7 +42,7 @@ derive-getters = { workspace = true }
4242
[dev-dependencies]
4343
tokio = { workspace = true, features = ["macros", "rt"] }
4444
serde_json = { workspace = true }
45-
dotenvy = "0.15"
45+
dotenvy.workspace = true
4646

4747
[lints.rust]
4848
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)', 'cfg(creusot)', 'cfg(prusti)', 'cfg(verus)', 'cfg(feature, values("emit"))'] }

0 commit comments

Comments
 (0)