From cab99e8a5e5ccd394fd32e3f69030d8960cc9596 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 3 Dec 2024 21:20:45 -0500 Subject: [PATCH] Remove cargo workspace dependencies. Once in m-c, many of our crates need to be excluded from the main workspace, which means they can't use workspace deps. So we don't bother using them anywhere. --- Cargo.toml | 8 +++----- components/as-ohttp-client/Cargo.toml | 6 +++--- components/autofill/Cargo.toml | 8 ++++---- components/crashtest/Cargo.toml | 4 ++-- components/fxa-client/Cargo.toml | 4 ++-- components/logins/Cargo.toml | 6 +++--- components/nimbus/Cargo.toml | 4 ++-- components/places/Cargo.toml | 6 +++--- components/push/Cargo.toml | 6 +++--- components/relevancy/Cargo.toml | 6 +++--- components/remote_settings/Cargo.toml | 6 +++--- components/search/Cargo.toml | 4 ++-- components/suggest/Cargo.toml | 6 +++--- components/support/error/Cargo.toml | 4 ++-- components/support/guid/Cargo.toml | 2 +- components/support/interrupt/Cargo.toml | 6 +++--- components/support/nimbus-fml/Cargo.toml | 4 ++-- components/support/rc_crypto/nss/nss_sys/Cargo.toml | 2 +- components/support/rust-log-forwarder/Cargo.toml | 4 ++-- components/support/sql/Cargo.toml | 2 +- components/support/types/Cargo.toml | 2 +- components/sync15/Cargo.toml | 4 ++-- components/sync_manager/Cargo.toml | 4 ++-- components/tabs/Cargo.toml | 6 +++--- components/webext-storage/Cargo.toml | 6 +++--- examples/autofill-utils/Cargo.toml | 2 +- examples/places-autocomplete/Cargo.toml | 2 +- examples/sync-pass/Cargo.toml | 2 +- testing/separated/places-tests/Cargo.toml | 2 +- tools/embedded-uniffi-bindgen/Cargo.toml | 2 +- tools/uniffi-bindgen-library-mode/Cargo.toml | 4 ++-- 31 files changed, 66 insertions(+), 68 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c78c986656..661adc0bb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -129,11 +129,9 @@ default-members = [ "testing/separated/*/", ] -[workspace.dependencies] -rusqlite = "0.31.0" -libsqlite3-sys = "0.28.0" -uniffi = "0.28.2" -uniffi_bindgen = "0.28.2" +# * sob* - why can't we have nice things? Workspace properties don't work in m-c when our crates are +# "excluded" from the m-c workspace for unfortunate reasons. +# [workspace.dependencies] [profile.release] opt-level = "s" diff --git a/components/as-ohttp-client/Cargo.toml b/components/as-ohttp-client/Cargo.toml index 7f86b40858..c2754a316b 100644 --- a/components/as-ohttp-client/Cargo.toml +++ b/components/as-ohttp-client/Cargo.toml @@ -10,11 +10,11 @@ exclude = ["/ios"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } thiserror = "1.0" bhttp = "0.3" parking_lot = "0.12" -rusqlite = { workspace = true, features = ["bundled"] } +rusqlite = { version = "0.31.0", features = ["bundled"] } [dependencies.ohttp] version = "0.5.1" @@ -24,7 +24,7 @@ rev = "bf02e480d4722f9fba38a4245168d1a82f8fac6c" features = ["client", "server", "app-svc", "external-sqlite"] [build-dependencies] -uniffi = { workspace = true, features=["build"]} +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/autofill/Cargo.toml b/components/autofill/Cargo.toml index 8c07a2b45e..748732d872 100644 --- a/components/autofill/Cargo.toml +++ b/components/autofill/Cargo.toml @@ -15,7 +15,7 @@ interrupt-support = { path = "../support/interrupt" } jwcrypto = { path = "../support/jwcrypto" } lazy_static = "1.4" log = "0.4" -rusqlite = { workspace = true, features = ["functions", "bundled", "serde_json", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled", "serde_json", "unlock_notify"] } serde = "1" serde_derive = "1" serde_json = "1" @@ -24,15 +24,15 @@ sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random" sync15 = { path = "../sync15", features = ["sync-engine"] } thiserror = "1.0" types = { path = "../support/types" } -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = { version = "2.2", features = ["serde"] } [dev-dependencies] env_logger = { version = "0.10", default-features = false } -libsqlite3-sys = { workspace = true } +libsqlite3-sys = { version = "0.28.0" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/crashtest/Cargo.toml b/components/crashtest/Cargo.toml index cbc4136545..7674b6e1ff 100644 --- a/components/crashtest/Cargo.toml +++ b/components/crashtest/Cargo.toml @@ -9,10 +9,10 @@ exclude = ["/android", "/ios"] [dependencies] log = "0.4" thiserror = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/fxa-client/Cargo.toml b/components/fxa-client/Cargo.toml index 54f8f05e49..ed321c345e 100644 --- a/components/fxa-client/Cargo.toml +++ b/components/fxa-client/Cargo.toml @@ -25,11 +25,11 @@ error-support = { path = "../support/error" } thiserror = "1.0" anyhow = "1.0" sync-guid = { path = "../support/guid", features = ["random"] } -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } payload-support = { path = "../support/payload" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [dev-dependencies] viaduct-reqwest = { path = "../support/viaduct-reqwest" } diff --git a/components/logins/Cargo.toml b/components/logins/Cargo.toml index 361f612af3..703993441d 100644 --- a/components/logins/Cargo.toml +++ b/components/logins/Cargo.toml @@ -24,14 +24,14 @@ sql-support = { path = "../support/sql" } jwcrypto = { path = "../support/jwcrypto" } interrupt-support = { path = "../support/interrupt" } error-support = { path = "../support/error" } -rusqlite = { workspace = true, features = ["limits", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["limits", "unlock_notify"] } sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random"] } thiserror = "1.0" anyhow = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [dev-dependencies] more-asserts = "0.2" diff --git a/components/nimbus/Cargo.toml b/components/nimbus/Cargo.toml index d244cf03f6..752fa56f04 100644 --- a/components/nimbus/Cargo.toml +++ b/components/nimbus/Cargo.toml @@ -33,7 +33,7 @@ uuid = { version = "1.3", features = ["serde", "v4"]} sha2 = "^0.10" hex = "0.4" once_cell = "1" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } chrono = { version = "0.4", features = ["serde"]} unicode-segmentation = "1.8.0" error-support = { path = "../support/error" } @@ -43,7 +43,7 @@ regex = { version = "1.9", optional = true } firefox-versioning = { path = "../support/firefox-versioning", optional = true } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [dev-dependencies] viaduct-reqwest = { path = "../support/viaduct-reqwest" } diff --git a/components/places/Cargo.toml b/components/places/Cargo.toml index 14e676e320..c75a488871 100644 --- a/components/places/Cargo.toml +++ b/components/places/Cargo.toml @@ -22,7 +22,7 @@ lazy_static = "1.4" url = { version = "2.1", features = ["serde"] } percent-encoding = "2.1" caseless = "0.2" -rusqlite = { workspace = true, features = ["functions", "window", "bundled", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["functions", "window", "bundled", "unlock_notify"] } sql-support = { path = "../support/sql" } types = { path = "../support/types" } bitflags = "1.2" @@ -34,7 +34,7 @@ error-support = { path = "../support/error" } sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random"]} thiserror = "1.0" anyhow = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [dev-dependencies] pretty_assertions = "0.6" @@ -43,7 +43,7 @@ env_logger = {version = "0.10", default-features = false} sql-support = { path = "../support/sql" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/push/Cargo.toml b/components/push/Cargo.toml index caf6bc49dc..cf16a35fbe 100644 --- a/components/push/Cargo.toml +++ b/components/push/Cargo.toml @@ -13,18 +13,18 @@ bincode = "1.2" lazy_static = "1.4" base64 = "0.21" log = "0.4" -rusqlite = { workspace = true, features = ["bundled", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["bundled", "unlock_notify"] } url = "2.2" viaduct = { path = "../viaduct" } error-support = { path = "../support/error" } sql-support = { path = "../support/sql" } rc_crypto = { path = "../support/rc_crypto", features = ["ece"] } thiserror = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } types = { path = "../support/types" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [dev-dependencies] env_logger = { version = "0.10", default-features = false, features = ["humantime"] } diff --git a/components/relevancy/Cargo.toml b/components/relevancy/Cargo.toml index 819e274187..cb8bf17671 100644 --- a/components/relevancy/Cargo.toml +++ b/components/relevancy/Cargo.toml @@ -17,18 +17,18 @@ md-5 = "0.10" parking_lot = ">=0.11,<=0.12" rand = "0.8" rand_distr = "0.4" -rusqlite = { workspace = true, features = ["bundled"] } +rusqlite = { version = "0.31.0", features = ["bundled"] } serde = { version = "1", features = ["derive"] } serde_json = "1" serde_path_to_error = "0.1" thiserror = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = "2.5" remote_settings = { path = "../remote_settings"} base64 = "0.21.2" [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [lib] diff --git a/components/remote_settings/Cargo.toml b/components/remote_settings/Cargo.toml index 9b72869027..326dc4f707 100644 --- a/components/remote_settings/Cargo.toml +++ b/components/remote_settings/Cargo.toml @@ -16,7 +16,7 @@ jexl = ["dep:jexl-eval"] [dependencies] log = "0.4" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } thiserror = "1.0" serde = { version = "1", features=["derive"] } serde_json = "1" @@ -25,7 +25,7 @@ error-support = { path = "../support/error" } viaduct = { path = "../viaduct" } url = "2" camino = "1.0" -rusqlite = { workspace = true, features = ["bundled"] } +rusqlite = { version = "0.31.0", features = ["bundled"] } jexl-eval = { version = "0.3.0", optional = true } regex = "1.9" anyhow = "1.0" @@ -33,7 +33,7 @@ firefox-versioning = { path = "../support/firefox-versioning" } sha2 = "^0.10" [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [dev-dependencies] expect-test = "1.4" diff --git a/components/search/Cargo.toml b/components/search/Cargo.toml index e5d00b1e49..ab2ad5e11a 100644 --- a/components/search/Cargo.toml +++ b/components/search/Cargo.toml @@ -12,7 +12,7 @@ parking_lot = ">=0.11,<=0.12" serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } diff --git a/components/suggest/Cargo.toml b/components/suggest/Cargo.toml index 18abd2917c..241b332798 100644 --- a/components/suggest/Cargo.toml +++ b/components/suggest/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4" once_cell = "1.5" parking_lot = ">=0.11,<=0.12" remote_settings = { path = "../remote_settings" } -rusqlite = { workspace = true, features = ["functions", "bundled", "load_extension"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled", "load_extension"] } serde = { version = "1", features = ["derive"] } serde_json = "1" error-support = { path = "../support/error" } @@ -26,7 +26,7 @@ viaduct = { path = "../viaduct" } viaduct-reqwest = { path = "../support/viaduct-reqwest", optional=true } tempfile = { version = "3.2.0", optional = true } thiserror = "1" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = { version = "2.1", features = ["serde"] } [dev-dependencies] @@ -37,7 +37,7 @@ hex = "0.4" rc_crypto = { path = "../support/rc_crypto" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } [features] # Required for the benchmarks to work, wasted bytes otherwise. diff --git a/components/support/error/Cargo.toml b/components/support/error/Cargo.toml index 972f98326f..44ef06ab9e 100644 --- a/components/support/error/Cargo.toml +++ b/components/support/error/Cargo.toml @@ -11,7 +11,7 @@ exclude = ["/android"] log = "0.4" lazy_static = { version = "1.4" } parking_lot = { version = ">=0.11,<=0.12" } -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } error-support-macros = { path = "macros" } [dependencies.backtrace] @@ -19,7 +19,7 @@ optional = true version = "0.3" [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/support/guid/Cargo.toml b/components/support/guid/Cargo.toml index a15317c08e..dfb04d0721 100644 --- a/components/support/guid/Cargo.toml +++ b/components/support/guid/Cargo.toml @@ -6,7 +6,7 @@ license = "MPL-2.0" edition = "2021" [dependencies] -rusqlite = { workspace = true, optional = true, features = ["bundled"] } +rusqlite = { version = "0.31.0", optional = true, features = ["bundled"] } serde = { version = "1", optional = true } rand = { version = "0.8", optional = true } base64 = { version = "0.21", optional = true } diff --git a/components/support/interrupt/Cargo.toml b/components/support/interrupt/Cargo.toml index 7d976d9567..c1a6afb12e 100644 --- a/components/support/interrupt/Cargo.toml +++ b/components/support/interrupt/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] lazy_static = "1.4" parking_lot = ">=0.11,<=0.12" -rusqlite = { workspace = true, features = ["functions", "limits", "bundled", "unlock_notify"] } -uniffi = { workspace = true } +rusqlite = { version = "0.31.0", features = ["functions", "limits", "bundled", "unlock_notify"] } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features = ["build"] } diff --git a/components/support/nimbus-fml/Cargo.toml b/components/support/nimbus-fml/Cargo.toml index 7301582b42..ea0cc8f3b8 100644 --- a/components/support/nimbus-fml/Cargo.toml +++ b/components/support/nimbus-fml/Cargo.toml @@ -27,7 +27,7 @@ unicode-segmentation = "1.8.0" url = { version = "2", features = ["serde"] } reqwest = { version = "0.11", features = ["blocking", "json", "native-tls-vendored"] } glob = "0.3.0" -uniffi = { workspace = true, optional = true } +uniffi = { version = "0.28.2", optional = true } cfg-if = "1.0.0" console = "0.15.5" lazy_static = "1.4" @@ -36,7 +36,7 @@ sha2 = "^0.10" itertools = "0" [build-dependencies] -uniffi = { workspace = true, features = ["build"], optional = true } +uniffi = { version = "0.28.2", features = ["build"], optional = true } [dev-dependencies] tempfile = "3" diff --git a/components/support/rc_crypto/nss/nss_sys/Cargo.toml b/components/support/rc_crypto/nss/nss_sys/Cargo.toml index 6950694b25..9d07517807 100644 --- a/components/support/rc_crypto/nss/nss_sys/Cargo.toml +++ b/components/support/rc_crypto/nss/nss_sys/Cargo.toml @@ -12,7 +12,7 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__appsvc_ci_hack)'] } crate-type = ["lib"] [dependencies] -libsqlite3-sys = { workspace = true, features = ["bundled"] } +libsqlite3-sys = { version = "0.28.0", features = ["bundled"] } [build-dependencies] nss_build_common = {path = "../nss_build_common"} diff --git a/components/support/rust-log-forwarder/Cargo.toml b/components/support/rust-log-forwarder/Cargo.toml index d5ccab390a..2b6e0531e6 100644 --- a/components/support/rust-log-forwarder/Cargo.toml +++ b/components/support/rust-log-forwarder/Cargo.toml @@ -9,10 +9,10 @@ exclude = ["/android", "/ios"] [dependencies] log = "0.4" parking_lot = ">=0.11,<=0.12" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/support/sql/Cargo.toml b/components/support/sql/Cargo.toml index 380b708137..10bd20f1ef 100644 --- a/components/support/sql/Cargo.toml +++ b/components/support/sql/Cargo.toml @@ -20,7 +20,7 @@ tempfile = "3.1.0" parking_lot = ">=0.11,<=0.12" # disable for m-c :( # prettytable-rs = { version = "0.10", optional = true } -rusqlite = { workspace = true, features = ["functions", "limits", "bundled", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["functions", "limits", "bundled", "unlock_notify"] } [dev-dependencies] env_logger = {version = "0.10", default-features = false} diff --git a/components/support/types/Cargo.toml b/components/support/types/Cargo.toml index bd2d735899..f8e1ddf3e3 100644 --- a/components/support/types/Cargo.toml +++ b/components/support/types/Cargo.toml @@ -8,7 +8,7 @@ license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rusqlite = { workspace = true, features = ["functions", "bundled"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled"] } serde = "1" serde_derive = "1" serde_json = "1" diff --git a/components/sync15/Cargo.toml b/components/sync15/Cargo.toml index e13f74b6af..c7f2219096 100644 --- a/components/sync15/Cargo.toml +++ b/components/sync15/Cargo.toml @@ -60,7 +60,7 @@ serde_json = "1" serde_path_to_error = "0.1" sync-guid = { path = "../support/guid", features = ["random"] } thiserror = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = { version = "2", optional = true } viaduct = { path = "../viaduct", optional = true } @@ -68,7 +68,7 @@ viaduct = { path = "../viaduct", optional = true } env_logger = { version = "0.10", default-features = false } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/sync_manager/Cargo.toml b/components/sync_manager/Cargo.toml index 0de9e4ca90..d3b9e61493 100644 --- a/components/sync_manager/Cargo.toml +++ b/components/sync_manager/Cargo.toml @@ -24,10 +24,10 @@ serde_derive = "1" serde_json = "1" parking_lot = ">=0.11,<=0.12" interrupt-support = { path = "../support/interrupt" } -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/tabs/Cargo.toml b/components/tabs/Cargo.toml index 53bec317da..2315138c35 100644 --- a/components/tabs/Cargo.toml +++ b/components/tabs/Cargo.toml @@ -13,7 +13,7 @@ interrupt-support = { path = "../support/interrupt" } payload-support = { path = "../support/payload" } lazy_static = "1.4" log = "0.4" -rusqlite = { workspace = true, features = ["bundled", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["bundled", "unlock_notify"] } serde = "1" serde_derive = "1" serde_json = "1" @@ -21,7 +21,7 @@ sql-support = { path = "../support/sql" } sync-guid = { path = "../support/guid", features = ["random"] } sync15 = { path = "../sync15", features = ["sync-engine"] } thiserror = "1.0" -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = "2" types = { path = "../support/types" } @@ -30,7 +30,7 @@ env_logger = { version = "0.10.0", default-features = false, features = ["humant tempfile = "3.1" [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/components/webext-storage/Cargo.toml b/components/webext-storage/Cargo.toml index a1ccda3002..a3f342665a 100644 --- a/components/webext-storage/Cargo.toml +++ b/components/webext-storage/Cargo.toml @@ -18,14 +18,14 @@ interrupt-support = { path = "../support/interrupt" } lazy_static = "1.4" log = "0.4" parking_lot = ">=0.11,<=0.12" -rusqlite = { workspace = true, features = ["functions", "bundled", "serde_json", "unlock_notify"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled", "serde_json", "unlock_notify"] } serde = "1" serde_json = "1" serde_derive = "1" sql-support = { path = "../support/sql" } sync15 = {path = "../../components/sync15", features=["sync-engine"]} sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random"] } -uniffi = { workspace = true } +uniffi = { version = "0.28.2" } url = { version = "2.1", features = ["serde"] } [dev-dependencies] @@ -37,7 +37,7 @@ sql-support = { path = "../support/sql" } serde_json = { version = "1", features = ["preserve_order"] } [build-dependencies] -uniffi = { workspace = true, features = ["build"] } +uniffi = { version = "0.28.2", features=["build"]} # Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update. [lints.clippy] diff --git a/examples/autofill-utils/Cargo.toml b/examples/autofill-utils/Cargo.toml index ec6a3267bf..63f361294a 100644 --- a/examples/autofill-utils/Cargo.toml +++ b/examples/autofill-utils/Cargo.toml @@ -18,7 +18,7 @@ fxa-client = { path = "../../components/fxa-client" } error-support = { path = "../../components/support/error" } interrupt-support = { path = "../../components/support/interrupt" } # XXX - should be removed once we do interrupts correctly! log = "0.4" -rusqlite = { workspace = true, features = ["functions", "bundled", "serde_json", "unlock_notify"]} +rusqlite = { version = "0.31.0", features = ["functions", "bundled", "serde_json", "unlock_notify"]} serde_json = "1" sql-support = { path = "../../components/support/sql" } structopt = "0.3" diff --git a/examples/places-autocomplete/Cargo.toml b/examples/places-autocomplete/Cargo.toml index db3179fae1..72272462c1 100644 --- a/examples/places-autocomplete/Cargo.toml +++ b/examples/places-autocomplete/Cargo.toml @@ -22,7 +22,7 @@ clap = "4" tempfile = "3.1" rand = "0.8" find-places-db = { path = "../../components/support/find-places-db" } -rusqlite = { workspace = true, features = ["functions", "bundled"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled"] } # While we don't have a replacement for termion on Windows yet (and thus # our example doesn't work on Windows), it does get further in the compilation diff --git a/examples/sync-pass/Cargo.toml b/examples/sync-pass/Cargo.toml index 45ccd71ba7..34a3094e5d 100644 --- a/examples/sync-pass/Cargo.toml +++ b/examples/sync-pass/Cargo.toml @@ -27,4 +27,4 @@ tempfile = "3" serde_json = "1.0" url = "2.2" viaduct-reqwest = { path = "../../components/support/viaduct-reqwest" } -rusqlite = { workspace = true, features = ["limits"] } +rusqlite = { version = "0.31.0", features = ["limits"] } diff --git a/testing/separated/places-tests/Cargo.toml b/testing/separated/places-tests/Cargo.toml index 782cce1417..502f16f67c 100644 --- a/testing/separated/places-tests/Cargo.toml +++ b/testing/separated/places-tests/Cargo.toml @@ -21,4 +21,4 @@ url = "2" dogear = "0.5" tempfile = "3.1" env_logger = { version = "0.10", default-features = false } -rusqlite = { workspace = true, features = ["functions", "bundled"] } +rusqlite = { version = "0.31.0", features = ["functions", "bundled"] } diff --git a/tools/embedded-uniffi-bindgen/Cargo.toml b/tools/embedded-uniffi-bindgen/Cargo.toml index f43501ea90..0b83593d0e 100644 --- a/tools/embedded-uniffi-bindgen/Cargo.toml +++ b/tools/embedded-uniffi-bindgen/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" license = "MPL-2.0" [dependencies] -uniffi = { workspace = true, features = ["cli"] } +uniffi = { version = "0.28.2", features = ["cli"] } diff --git a/tools/uniffi-bindgen-library-mode/Cargo.toml b/tools/uniffi-bindgen-library-mode/Cargo.toml index fb3c4ed1be..a4fe64970f 100644 --- a/tools/uniffi-bindgen-library-mode/Cargo.toml +++ b/tools/uniffi-bindgen-library-mode/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" license = "MPL-2.0" [dependencies] -uniffi = { workspace = true, features = ["cli"] } -uniffi_bindgen = { workspace = true } +uniffi = { version = "0.28.2", features = ["cli"] } +uniffi_bindgen = { version = "0.28.2" } clap = "4" cargo_metadata = "0.15" camino = "1"