From 6ac168b91df5853f5cb77b36b35b59a42cc4c80f Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 22 Jun 2023 16:10:48 +0900 Subject: [PATCH] Add a version to the example/fixture dependencies on uniffi This should allow to vendor the crates without hacks like https://searchfox.org/mozilla-central/rev/fb55a4ee44a9a95d099aa806ca494eb988252ded/Cargo.toml#192-197 The downside is that it requires updating the version when the uniffi version bumps in a semver-incompatible way. --- examples/app/uniffi-bindgen-cli/Cargo.toml | 2 +- examples/arithmetic/Cargo.toml | 6 +++--- examples/callbacks/Cargo.toml | 6 +++--- examples/custom-types/Cargo.toml | 6 +++--- examples/geometry/Cargo.toml | 6 +++--- examples/rondpoint/Cargo.toml | 6 +++--- examples/sprites/Cargo.toml | 6 +++--- examples/todolist/Cargo.toml | 6 +++--- examples/traits/Cargo.toml | 6 +++--- fixtures/benchmarks/Cargo.toml | 4 ++-- fixtures/callbacks/Cargo.toml | 6 +++--- fixtures/coverall/Cargo.toml | 6 +++--- fixtures/ext-types/guid/Cargo.toml | 6 +++--- fixtures/ext-types/lib/Cargo.toml | 6 +++--- fixtures/ext-types/uniffi-one/Cargo.toml | 4 ++-- fixtures/external-types/lib/Cargo.toml | 6 +++--- fixtures/foreign-executor/Cargo.toml | 6 +++--- fixtures/futures/Cargo.toml | 6 +++--- fixtures/keywords/kotlin/Cargo.toml | 6 +++--- fixtures/keywords/rust/Cargo.toml | 6 +++--- fixtures/keywords/swift/Cargo.toml | 6 +++--- fixtures/metadata/Cargo.toml | 2 +- fixtures/proc-macro/Cargo.toml | 6 +++--- fixtures/reexport-scaffolding-macro/Cargo.toml | 4 ++-- .../cdylib-crate-type-dependency/ffi-crate/Cargo.toml | 6 +++--- fixtures/regressions/enum-without-i32-helpers/Cargo.toml | 6 +++--- fixtures/regressions/fully-qualified-types/Cargo.toml | 4 ++-- .../kotlin-experimental-unsigned-types/Cargo.toml | 6 +++--- fixtures/regressions/logging-callback-interface/Cargo.toml | 6 +++--- fixtures/regressions/missing-newline/Cargo.toml | 6 +++--- fixtures/regressions/swift-callbacks-omit-labels/Cargo.toml | 6 +++--- fixtures/regressions/swift-dictionary-nesting/Cargo.toml | 6 +++--- fixtures/regressions/unary-result-alias/Cargo.toml | 6 +++--- fixtures/simple-fns/Cargo.toml | 6 +++--- fixtures/simple-iface/Cargo.toml | 6 +++--- fixtures/swift-bridging-header-compile/Cargo.toml | 6 +++--- fixtures/swift-omit-labels/Cargo.toml | 6 +++--- fixtures/trait-methods/Cargo.toml | 6 +++--- fixtures/type-limits/Cargo.toml | 6 +++--- fixtures/uitests/Cargo.toml | 2 +- fixtures/uniffi-fixture-time/Cargo.toml | 6 +++--- fixtures/version-mismatch/Cargo.toml | 4 ++-- 42 files changed, 115 insertions(+), 115 deletions(-) diff --git a/examples/app/uniffi-bindgen-cli/Cargo.toml b/examples/app/uniffi-bindgen-cli/Cargo.toml index 4edd7fe9fe..76e46a744c 100644 --- a/examples/app/uniffi-bindgen-cli/Cargo.toml +++ b/examples/app/uniffi-bindgen-cli/Cargo.toml @@ -9,4 +9,4 @@ name = "uniffi-bindgen" path = "uniffi-bindgen.rs" [dependencies] -uniffi = { path = "../../../uniffi", features = ["cli"] } +uniffi = { path = "../../../uniffi", version = "0.24", features = ["cli"] } diff --git a/examples/arithmetic/Cargo.toml b/examples/arithmetic/Cargo.toml index 771fa1fb6e..7be3b6801c 100644 --- a/examples/arithmetic/Cargo.toml +++ b/examples/arithmetic/Cargo.toml @@ -11,11 +11,11 @@ crate-type = ["lib", "cdylib"] name = "arithmetical" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/callbacks/Cargo.toml b/examples/callbacks/Cargo.toml index 80daaee928..f5d50f1b4c 100644 --- a/examples/callbacks/Cargo.toml +++ b/examples/callbacks/Cargo.toml @@ -11,11 +11,11 @@ crate-type = ["lib", "cdylib"] name = "uniffi_callbacks" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/custom-types/Cargo.toml b/examples/custom-types/Cargo.toml index 194f17099f..4616a6c82e 100644 --- a/examples/custom-types/Cargo.toml +++ b/examples/custom-types/Cargo.toml @@ -14,11 +14,11 @@ name = "custom_types" anyhow = "1" bytes = "1.3" serde_json = "1" -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } url = "2.2" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/geometry/Cargo.toml b/examples/geometry/Cargo.toml index 4601185607..158e4317f4 100644 --- a/examples/geometry/Cargo.toml +++ b/examples/geometry/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_geometry" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/rondpoint/Cargo.toml b/examples/rondpoint/Cargo.toml index a3f8a9d217..16b3a2739c 100644 --- a/examples/rondpoint/Cargo.toml +++ b/examples/rondpoint/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_rondpoint" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/sprites/Cargo.toml b/examples/sprites/Cargo.toml index 15d7a4fca4..3f3c22fdf7 100644 --- a/examples/sprites/Cargo.toml +++ b/examples/sprites/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_sprites" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/todolist/Cargo.toml b/examples/todolist/Cargo.toml index 76aa2e4962..26d57a1f9d 100644 --- a/examples/todolist/Cargo.toml +++ b/examples/todolist/Cargo.toml @@ -11,12 +11,12 @@ crate-type = ["lib", "cdylib"] name = "uniffi_todolist" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } once_cell = "1.12" thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/examples/traits/Cargo.toml b/examples/traits/Cargo.toml index 42cb31e3be..b53df91c04 100644 --- a/examples/traits/Cargo.toml +++ b/examples/traits/Cargo.toml @@ -11,12 +11,12 @@ crate-type = ["lib", "cdylib"] name = "uniffi_traits" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/benchmarks/Cargo.toml b/fixtures/benchmarks/Cargo.toml index 77914717b9..f5a72ae5e0 100644 --- a/fixtures/benchmarks/Cargo.toml +++ b/fixtures/benchmarks/Cargo.toml @@ -12,12 +12,12 @@ name = "uniffi_benchmarks" bench = false [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } clap = { version = "4", features = ["cargo", "std", "derive"] } criterion = "0.5.1" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] uniffi_bindgen = {path = "../../uniffi_bindgen"} diff --git a/fixtures/callbacks/Cargo.toml b/fixtures/callbacks/Cargo.toml index 33c5de32a4..7ff5520479 100644 --- a/fixtures/callbacks/Cargo.toml +++ b/fixtures/callbacks/Cargo.toml @@ -11,11 +11,11 @@ crate-type = ["lib", "cdylib"] name = "uniffi_fixture_callbacks" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/coverall/Cargo.toml b/fixtures/coverall/Cargo.toml index 777d2134b9..a755924b3f 100644 --- a/fixtures/coverall/Cargo.toml +++ b/fixtures/coverall/Cargo.toml @@ -11,12 +11,12 @@ crate-type = ["lib", "cdylib"] name = "uniffi_coverall" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } once_cell = "1.12" thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/ext-types/guid/Cargo.toml b/fixtures/ext-types/guid/Cargo.toml index f204dbc1ab..435bd20c37 100644 --- a/fixtures/ext-types/guid/Cargo.toml +++ b/fixtures/ext-types/guid/Cargo.toml @@ -15,10 +15,10 @@ anyhow = "1" bytes = "1.3" serde_json = "1" thiserror = "1.0" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/ext-types/lib/Cargo.toml b/fixtures/ext-types/lib/Cargo.toml index 323dba2e9b..de3e01a956 100644 --- a/fixtures/ext-types/lib/Cargo.toml +++ b/fixtures/ext-types/lib/Cargo.toml @@ -20,7 +20,7 @@ name = "uniffi_ext_types_lib" [dependencies] anyhow = "1" bytes = "1.3" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } uniffi-fixture-ext-types-lib-one = {path = "../uniffi-one"} uniffi-fixture-ext-types-guid = {path = "../guid"} @@ -31,7 +31,7 @@ uniffi-example-custom-types = {path = "../../../examples/custom-types"} url = "2.2" [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/ext-types/uniffi-one/Cargo.toml b/fixtures/ext-types/uniffi-one/Cargo.toml index 5e4a6be4b4..de1dbf9807 100644 --- a/fixtures/ext-types/uniffi-one/Cargo.toml +++ b/fixtures/ext-types/uniffi-one/Cargo.toml @@ -13,7 +13,7 @@ name = "uniffi_one" [dependencies] anyhow = "1" bytes = "1.3" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } diff --git a/fixtures/external-types/lib/Cargo.toml b/fixtures/external-types/lib/Cargo.toml index 35a6bd6304..297d32dcbc 100644 --- a/fixtures/external-types/lib/Cargo.toml +++ b/fixtures/external-types/lib/Cargo.toml @@ -13,12 +13,12 @@ name = "uniffi_external_types_lib" [dependencies] anyhow = "1" bytes = "1.3" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } crate_one = {path = "../crate-one"} crate_two = {path = "../crate-two"} [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/foreign-executor/Cargo.toml b/fixtures/foreign-executor/Cargo.toml index adc6741fdb..d12f34569a 100644 --- a/fixtures/foreign-executor/Cargo.toml +++ b/fixtures/foreign-executor/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_fixture_foreign_executor" [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = { path = "../../uniffi", features = ["build"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = { path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/futures/Cargo.toml b/fixtures/futures/Cargo.toml index c089e9ea8d..18526a81e9 100644 --- a/fixtures/futures/Cargo.toml +++ b/fixtures/futures/Cargo.toml @@ -15,11 +15,11 @@ name = "uniffi-fixtures-futures" path = "src/bin.rs" [dependencies] -uniffi = { path = "../../uniffi", features = ["tokio", "cli"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["tokio", "cli"] } tokio = { version = "1.24.1", features = ["time"] } [build-dependencies] -uniffi = { path = "../../uniffi", features = ["build"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = { path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/keywords/kotlin/Cargo.toml b/fixtures/keywords/kotlin/Cargo.toml index 63c7343059..97d9a5214b 100644 --- a/fixtures/keywords/kotlin/Cargo.toml +++ b/fixtures/keywords/kotlin/Cargo.toml @@ -11,10 +11,10 @@ name = "uniffi_keywords_kotlin" [dependencies] thiserror = "1.0" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/keywords/rust/Cargo.toml b/fixtures/keywords/rust/Cargo.toml index 73819025c3..98939c1a4c 100644 --- a/fixtures/keywords/rust/Cargo.toml +++ b/fixtures/keywords/rust/Cargo.toml @@ -11,10 +11,10 @@ name = "uniffi_keywords_rust" [dependencies] thiserror = "1.0" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/keywords/swift/Cargo.toml b/fixtures/keywords/swift/Cargo.toml index 4c323d9207..b7c35fd0bb 100644 --- a/fixtures/keywords/swift/Cargo.toml +++ b/fixtures/keywords/swift/Cargo.toml @@ -11,10 +11,10 @@ name = "uniffi_keywords_swift" [dependencies] thiserror = "1.0" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/metadata/Cargo.toml b/fixtures/metadata/Cargo.toml index 23ea205801..8807874989 100644 --- a/fixtures/metadata/Cargo.toml +++ b/fixtures/metadata/Cargo.toml @@ -9,6 +9,6 @@ publish = false name = "uniffi_fixture_metadata" [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } uniffi_meta = { path = "../../uniffi_meta" } uniffi_core = { path = "../../uniffi_core" } diff --git a/fixtures/proc-macro/Cargo.toml b/fixtures/proc-macro/Cargo.toml index 4719955337..b504919b40 100644 --- a/fixtures/proc-macro/Cargo.toml +++ b/fixtures/proc-macro/Cargo.toml @@ -11,12 +11,12 @@ name = "uniffi_proc_macro" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } thiserror = "1.0" lazy_static = "1.4" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/reexport-scaffolding-macro/Cargo.toml b/fixtures/reexport-scaffolding-macro/Cargo.toml index 4e9bb25390..5e0f95048d 100644 --- a/fixtures/reexport-scaffolding-macro/Cargo.toml +++ b/fixtures/reexport-scaffolding-macro/Cargo.toml @@ -15,10 +15,10 @@ crate-type = ["lib", "cdylib"] [dependencies] uniffi-fixture-callbacks = { path = "../callbacks" } uniffi-fixture-coverall = { path = "../coverall" } -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } uniffi_bindgen = { path = "../../uniffi_bindgen" } [dev-dependencies] cargo_metadata = "0.15" libloading = "0.7" -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } diff --git a/fixtures/regressions/cdylib-crate-type-dependency/ffi-crate/Cargo.toml b/fixtures/regressions/cdylib-crate-type-dependency/ffi-crate/Cargo.toml index c51c6ef3d6..cd46829794 100644 --- a/fixtures/regressions/cdylib-crate-type-dependency/ffi-crate/Cargo.toml +++ b/fixtures/regressions/cdylib-crate-type-dependency/ffi-crate/Cargo.toml @@ -11,11 +11,11 @@ crate-type = ["lib", "cdylib"] name = "uniffi_empty" [dependencies] -uniffi = {path = "../../../../uniffi"} +uniffi = {path = "../../../../uniffi", version = "0.24" } uniffi-fixture-regression-cdylib-dependency = {path = "../cdylib-dependency"} [build-dependencies] -uniffi = {path = "../../../../uniffi", features = ["build"] } +uniffi = {path = "../../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/enum-without-i32-helpers/Cargo.toml b/fixtures/regressions/enum-without-i32-helpers/Cargo.toml index d9cfe30af3..447274d90f 100644 --- a/fixtures/regressions/enum-without-i32-helpers/Cargo.toml +++ b/fixtures/regressions/enum-without-i32-helpers/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_i356" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/fully-qualified-types/Cargo.toml b/fixtures/regressions/fully-qualified-types/Cargo.toml index c028c5cd0b..0175d9cc6e 100644 --- a/fixtures/regressions/fully-qualified-types/Cargo.toml +++ b/fixtures/regressions/fully-qualified-types/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_i1015" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } diff --git a/fixtures/regressions/kotlin-experimental-unsigned-types/Cargo.toml b/fixtures/regressions/kotlin-experimental-unsigned-types/Cargo.toml index baa420e215..40d699945b 100644 --- a/fixtures/regressions/kotlin-experimental-unsigned-types/Cargo.toml +++ b/fixtures/regressions/kotlin-experimental-unsigned-types/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_kt_unsigned_types" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/logging-callback-interface/Cargo.toml b/fixtures/regressions/logging-callback-interface/Cargo.toml index c2c710d117..4a7f7bd952 100644 --- a/fixtures/regressions/logging-callback-interface/Cargo.toml +++ b/fixtures/regressions/logging-callback-interface/Cargo.toml @@ -11,10 +11,10 @@ name = "uniffi_regression_logging_callback_interface" [dependencies] log = "0.4" -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/missing-newline/Cargo.toml b/fixtures/regressions/missing-newline/Cargo.toml index f1af491fac..03c5559b51 100644 --- a/fixtures/regressions/missing-newline/Cargo.toml +++ b/fixtures/regressions/missing-newline/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_missing_newline" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/swift-callbacks-omit-labels/Cargo.toml b/fixtures/regressions/swift-callbacks-omit-labels/Cargo.toml index ef1ff6b811..a2e8b927f0 100644 --- a/fixtures/regressions/swift-callbacks-omit-labels/Cargo.toml +++ b/fixtures/regressions/swift-callbacks-omit-labels/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_callbacks_omit_labels" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/swift-dictionary-nesting/Cargo.toml b/fixtures/regressions/swift-dictionary-nesting/Cargo.toml index 8bfec25a83..b48ad28290 100644 --- a/fixtures/regressions/swift-dictionary-nesting/Cargo.toml +++ b/fixtures/regressions/swift-dictionary-nesting/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_regression_test_swift_dictionary_nesting" [dependencies] -uniffi = {path = "../../../uniffi"} +uniffi = {path = "../../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/regressions/unary-result-alias/Cargo.toml b/fixtures/regressions/unary-result-alias/Cargo.toml index db34747d9c..b092599617 100644 --- a/fixtures/regressions/unary-result-alias/Cargo.toml +++ b/fixtures/regressions/unary-result-alias/Cargo.toml @@ -10,11 +10,11 @@ name = "uniffi_unary_result_alias" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../../uniffi" } +uniffi = { path = "../../../uniffi", version = "0.24" } thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../../uniffi", features = ["build"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/simple-fns/Cargo.toml b/fixtures/simple-fns/Cargo.toml index a6b34ed6dc..050996b401 100644 --- a/fixtures/simple-fns/Cargo.toml +++ b/fixtures/simple-fns/Cargo.toml @@ -11,10 +11,10 @@ name = "uniffi_simple_fns" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/simple-iface/Cargo.toml b/fixtures/simple-iface/Cargo.toml index f0feae3a52..5c0cf05be5 100644 --- a/fixtures/simple-iface/Cargo.toml +++ b/fixtures/simple-iface/Cargo.toml @@ -11,12 +11,12 @@ name = "uniffi_simple_iface" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } thiserror = "1.0" lazy_static = "1.4" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/swift-bridging-header-compile/Cargo.toml b/fixtures/swift-bridging-header-compile/Cargo.toml index e1b1072803..d9f45c54a5 100644 --- a/fixtures/swift-bridging-header-compile/Cargo.toml +++ b/fixtures/swift-bridging-header-compile/Cargo.toml @@ -10,13 +10,13 @@ name = "uniffi_swift_bridging_header_compiler" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } camino = "1.0.8" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests", "cli"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests", "cli"] } uniffi_testing = { path = "../../uniffi_testing" } anyhow = "1" diff --git a/fixtures/swift-omit-labels/Cargo.toml b/fixtures/swift-omit-labels/Cargo.toml index e2a5d6be87..7acca8296b 100644 --- a/fixtures/swift-omit-labels/Cargo.toml +++ b/fixtures/swift-omit-labels/Cargo.toml @@ -11,10 +11,10 @@ crate-type = ["lib", "cdylib"] name = "uniffi_omit_argument_labels" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/trait-methods/Cargo.toml b/fixtures/trait-methods/Cargo.toml index 038fff8eb0..563a242af3 100644 --- a/fixtures/trait-methods/Cargo.toml +++ b/fixtures/trait-methods/Cargo.toml @@ -10,13 +10,13 @@ crate-type = ["lib", "cdylib"] name = "uniffi_trait_methods" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } once_cell = "1.12" thiserror = "1.0" [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/type-limits/Cargo.toml b/fixtures/type-limits/Cargo.toml index 71b546967e..85407f1f3c 100644 --- a/fixtures/type-limits/Cargo.toml +++ b/fixtures/type-limits/Cargo.toml @@ -10,10 +10,10 @@ name = "uniffi_type_limits" crate-type = ["lib", "cdylib"] [dependencies] -uniffi = { path = "../../uniffi" } +uniffi = { path = "../../uniffi", version = "0.24" } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/uitests/Cargo.toml b/fixtures/uitests/Cargo.toml index a3ba44b990..3f536ce5ca 100644 --- a/fixtures/uitests/Cargo.toml +++ b/fixtures/uitests/Cargo.toml @@ -10,7 +10,7 @@ publish = false name = "uniffi_uitests" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } uniffi_macros = {path = "../../uniffi_macros"} [dev-dependencies] diff --git a/fixtures/uniffi-fixture-time/Cargo.toml b/fixtures/uniffi-fixture-time/Cargo.toml index de5e009589..df96ab3f6b 100644 --- a/fixtures/uniffi-fixture-time/Cargo.toml +++ b/fixtures/uniffi-fixture-time/Cargo.toml @@ -11,12 +11,12 @@ crate-type = ["lib", "cdylib"] name = "uniffi_chronological" [dependencies] -uniffi = {path = "../../uniffi"} +uniffi = {path = "../../uniffi", version = "0.24" } thiserror = "1.0" chrono = { version = "0.4.23", default-features = false, features = ["alloc", "std"] } [build-dependencies] -uniffi = {path = "../../uniffi", features = ["build"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["build"] } [dev-dependencies] -uniffi = {path = "../../uniffi", features = ["bindgen-tests"] } +uniffi = {path = "../../uniffi", version = "0.24", features = ["bindgen-tests"] } diff --git a/fixtures/version-mismatch/Cargo.toml b/fixtures/version-mismatch/Cargo.toml index f416a652e7..d02e28c172 100644 --- a/fixtures/version-mismatch/Cargo.toml +++ b/fixtures/version-mismatch/Cargo.toml @@ -20,7 +20,7 @@ default = [] proc_macro_v2 = [] [dependencies] -uniffi = { path = "../../uniffi", features = ["cli"]} +uniffi = { path = "../../uniffi", version = "0.24", features = ["cli"]} [build-dependencies] -uniffi = { path = "../../uniffi", features = ["build"] } +uniffi = { path = "../../uniffi", version = "0.24", features = ["build"] }