Skip to content

Commit d380203

Browse files
committed
upgrade uniffi to 0.31
1 parent 93a0548 commit d380203

File tree

44 files changed

+365
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+365
-363
lines changed

Cargo.lock

Lines changed: 180 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DEPENDENCIES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,11 @@ The following text applies to code linked from these dependencies:
564564
[security-framework](https://github.com/kornelski/rust-security-framework),
565565
[semver](https://github.com/dtolnay/semver),
566566
[serde](https://github.com/serde-rs/serde),
567+
[serde_core](https://github.com/serde-rs/serde),
567568
[serde_derive](https://github.com/serde-rs/serde),
568569
[serde_json](https://github.com/serde-rs/json),
569570
[serde_path_to_error](https://github.com/dtolnay/path-to-error),
571+
[serde_spanned](https://github.com/toml-rs/toml),
570572
[serde_urlencoded](https://github.com/nox/serde_urlencoded),
571573
[sha2](https://github.com/RustCrypto/hashes),
572574
[shlex](https://github.com/comex/rust-shlex),
@@ -582,6 +584,10 @@ The following text applies to code linked from these dependencies:
582584
[thiserror](https://github.com/dtolnay/thiserror),
583585
[thread_local](https://github.com/Amanieu/thread_local-rs),
584586
[toml](https://github.com/alexcrichton/toml-rs),
587+
[toml](https://github.com/toml-rs/toml),
588+
[toml_datetime](https://github.com/toml-rs/toml),
589+
[toml_parser](https://github.com/toml-rs/toml),
590+
[toml_writer](https://github.com/toml-rs/toml),
585591
[typenum](https://github.com/paholg/typenum),
586592
[url](https://github.com/servo/rust-url),
587593
[utf8_iter](https://github.com/hsivonen/utf8_iter),

build-scripts/component-common.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ ext.configureUniFFIBindgen = { crateName ->
121121

122122
workingDir project.rootDir
123123
commandLine bindgen
124-
args 'generate', '--library', libraryPath, "--crate", crateName, '--language', 'kotlin', '--out-dir', uniffiOutDir.get(), '--no-format'
124+
args 'generate', '--library', "--crate", crateName, '--language', 'kotlin', '--out-dir', uniffiOutDir.get(), '--no-format', libraryPath
125125

126126
outputs.dir uniffiOutDir
127127
// Re-generate when the native megazord library is rebuilt
@@ -143,7 +143,7 @@ ext.configureUniFFIBindgen = { crateName ->
143143
}
144144
exec {
145145
workingDir project.rootDir
146-
commandLine '/usr/bin/env', 'cargo', 'uniffi-bindgen', 'generate', '--library', libraryPath, "--crate", crateName, '--language', 'kotlin', '--out-dir', uniffiOutDir.get(), '--no-format'
146+
commandLine '/usr/bin/env', 'cargo', 'uniffi-bindgen', 'generate', "--crate", crateName, '--language', 'kotlin', '--out-dir', uniffiOutDir.get(), '--no-format', libraryPath
147147
}
148148
}
149149

components/ads-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ serde = "1"
2323
serde_json = "1"
2424
thiserror = "2"
2525
once_cell = "1.5"
26-
uniffi = { version = "0.29.0" }
26+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
2727
url = { version = "2", features = ["serde"] }
2828
uuid = { version = "1.3", features = ["v4"] }
2929
viaduct = { path = "../viaduct" }
@@ -35,4 +35,4 @@ mockito = { version = "0.31", default-features = false }
3535
viaduct-dev = { path = "../support/viaduct-dev" }
3636

3737
[build-dependencies]
38-
uniffi = { version = "0.29.0", features = ["build"] }
38+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16", features = ["build"] }

components/as-ohttp-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ exclude = ["/ios"]
1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

1212
[dependencies]
13-
uniffi = { version = "0.29.0" }
13+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
1414
thiserror = "2"
1515
parking_lot = "0.12"
1616
rusqlite = { version = "0.37.0", features = ["bundled"] }
1717
bhttp = "0.7.1"
1818
ohttp = { version = "0.7.1", default-features = false, features = ["client", "server", "app-svc", "external-sqlite"] }
1919

2020
[build-dependencies]
21-
uniffi = { version = "0.29.0", features=["build"]}
21+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16", features=["build"]}

components/autofill/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random"
2323
sync15 = { path = "../sync15", features = ["sync-engine"] }
2424
thiserror = "2"
2525
types = { path = "../support/types" }
26-
uniffi = { version = "0.29.0" }
26+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
2727
url = { version = "2.2", features = ["serde"] }
2828

2929
[dev-dependencies]
@@ -32,4 +32,4 @@ nss = { path = "../support/rc_crypto/nss" }
3232
error-support = { path = "../support/error", features=["testing"] }
3333

3434
[build-dependencies]
35-
uniffi = { version = "0.29.0", features=["build"]}
35+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16", features=["build"]}

components/context_id/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
license = "MPL-2.0"
66

77
[build-dependencies]
8-
uniffi = { version = "0.29.0", features=["build"]}
8+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16", features=["build"]}
99

1010
[dependencies]
1111
chrono = "0.4"
@@ -15,7 +15,7 @@ parking_lot = "0.12"
1515
serde = "1"
1616
serde_json = "1"
1717
thiserror = "2"
18-
uniffi = { version = "0.29.0" }
18+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
1919
url = "2"
2020
uuid = { version = "1.3", features = ["v4"]}
2121
viaduct = { path = "../viaduct" }

components/crashtest/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude = ["/android", "/ios"]
99
[dependencies]
1010
log = "0.4"
1111
thiserror = "2"
12-
uniffi = { version = "0.29.0" }
12+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
1313

1414
[build-dependencies]
15-
uniffi = { version = "0.29.0", features=["build"]}
15+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16", features=["build"]}

components/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MPL-2.0"
1212
[dependencies]
1313
# UniFFI is a dependency for any shared Rust component, make the version match what the other
1414
# components are using.
15-
uniffi = { version = "0.29.0" }
15+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
1616
# app-services support crates that you probably want to use.
1717
error-support = { path = "../support/error" }
1818
interrupt-support = { path = "../support/interrupt" }

components/filter_adult/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ error-support = { path = "../support/error" }
1111
md-5 = "0.10"
1212
regex = "1"
1313
thiserror = "2"
14-
uniffi = { version = "0.29.0" }
14+
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "5897c6f07068182dc09869fc1810264d17516f16" }
1515

1616
[[bin]]
1717
name = "import-site-list"

0 commit comments

Comments
 (0)