Unverified Commit 50c5be6d authored by Fedor Sakharov's avatar Fedor Sakharov Committed by GitHub
Browse files

chore: bump uniffi dep (#1100)

parent 989881be
......@@ -51,7 +51,7 @@ jobs:
uses: actions-rs/install@v0.1
with:
crate: uniffi_bindgen
version: 0.17.0 # Must be in sync with version in Cargo.toml
version: 0.18.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
......
......@@ -39,7 +39,7 @@ jobs:
uses: actions-rs/install@v0.1
with:
crate: uniffi_bindgen
version: 0.17.0 # Must be in sync with version in Cargo.toml
version: 0.18.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Install additional rust targets
......
......@@ -40,7 +40,7 @@ jobs:
uses: actions-rs/install@v0.1
with:
crate: uniffi_bindgen
version: 0.17.0 # Must be in sync with version in Cargo.toml
version: 0.18.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
......
......@@ -46,7 +46,7 @@ jobs:
uses: actions-rs/install@v0.1
with:
crate: uniffi_bindgen
version: 0.17.0 # Must be in sync with version in Cargo.toml
version: 0.18.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
......
......@@ -45,7 +45,7 @@ jobs:
uses: actions-rs/install@v0.1
with:
crate: uniffi_bindgen
version: 0.17.0 # Must be in sync with version in Cargo.toml
version: 0.18.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
......
......@@ -102,10 +102,10 @@ Sub-folders of the `rust` folder:
If you get errors like `cargo: feature X is required`, it most likely means you have an old version of Rust. Update it by running `rustup update stable`.
**2.** Install `uniffi-bindgen`. Version has to match the version of `uniffi` crates specified
in the project (currently it is `0.17.0`):
in the project (currently it is `0.18.0`):
```bash
cargo install uniffi_bindgen --version 0.17.0
cargo install uniffi_bindgen --version 0.18.0
```
## iOS
......
......@@ -124,9 +124,9 @@ checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "askama"
version = "0.10.5"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134"
checksum = "fb98f10f371286b177db5eeb9a6e5396609555686a35e1d4f7b9a9c6d8af0139"
dependencies = [
"askama_derive",
"askama_escape",
......@@ -135,9 +135,9 @@ dependencies = [
[[package]]
name = "askama_derive"
version = "0.10.5"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522"
checksum = "87bf87e6e8b47264efa9bde63d6225c6276a52e05e91bf37eaa8afd0032d6b71"
dependencies = [
"askama_shared",
"proc-macro2",
......@@ -152,12 +152,14 @@ checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341"
[[package]]
name = "askama_shared"
version = "0.11.2"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d6083ccb191711e9c2b80b22ee24a8381a18524444914c746d4239e21d1afaf"
checksum = "bf722b94118a07fcbc6640190f247334027685d4e218b794dbfe17c32bf38ed0"
dependencies = [
"askama_escape",
"nom 6.1.2",
"mime",
"mime_guess",
"nom 7.1.1",
"proc-macro2",
"quote",
"serde",
......@@ -241,28 +243,16 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitvec"
version = "0.19.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55f93d0ef3363c364d5976646a38f04cf67cfe1d4c8d160cdea02cab2c116b33"
dependencies = [
"funty 1.1.0",
"radium 0.5.3",
"tap",
"wyz 0.2.0",
]
[[package]]
name = "bitvec"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b"
dependencies = [
"funty 2.0.0",
"radium 0.7.0",
"funty",
"radium",
"tap",
"wyz 0.5.0",
"wyz",
]
[[package]]
......@@ -441,13 +431,41 @@ dependencies = [
[[package]]
name = "clap"
version = "2.34.0"
version = "3.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b"
dependencies = [
"atty",
"bitflags",
"clap_derive",
"clap_lex",
"indexmap",
"lazy_static",
"strsim",
"termcolor",
"textwrap",
"unicode-width",
]
[[package]]
name = "clap_derive"
version = "3.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25320346e922cffe59c0bbc5410c8d8784509efb321488971081313cb1e1a33c"
dependencies = [
"heck",
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "clap_lex"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a37c35f1112dad5e6e0b1adaff798507497a18fceeb30cceb3bae7d1427b9213"
dependencies = [
"os_str_bytes",
]
[[package]]
......@@ -931,6 +949,12 @@ dependencies = [
"serde",
]
[[package]]
name = "fs-err"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bd79fa345a495d3ae89fb7165fec01c0e72f41821d642dda363a1e97975652e"
[[package]]
name = "fs2"
version = "0.4.3"
......@@ -941,12 +965,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "funty"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
[[package]]
name = "funty"
version = "2.0.0"
......@@ -1159,6 +1177,12 @@ dependencies = [
"crunchy",
]
[[package]]
name = "hashbrown"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
[[package]]
name = "hashbrown"
version = "0.12.0"
......@@ -1170,12 +1194,9 @@ dependencies = [
[[package]]
name = "heck"
version = "0.3.3"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
dependencies = [
"unicode-segmentation",
]
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
[[package]]
name = "hermit-abi"
......@@ -1334,6 +1355,16 @@ dependencies = [
"syn",
]
[[package]]
name = "indexmap"
version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
dependencies = [
"autocfg",
"hashbrown 0.11.2",
]
[[package]]
name = "indicatif"
version = "0.16.2"
......@@ -1510,19 +1541,6 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7efd1d698db0759e6ef11a7cd44407407399a910c774dd804c64c032da7826ff"
[[package]]
name = "lexical-core"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe"
dependencies = [
"arrayvec 0.5.2",
"bitflags",
"cfg-if",
"ryu",
"static_assertions",
]
[[package]]
name = "libc"
version = "0.2.126"
......@@ -1643,7 +1661,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a"
dependencies = [
"hash-db",
"hashbrown",
"hashbrown 0.12.0",
"parity-util-mem",
]
......@@ -1665,6 +1683,28 @@ dependencies = [
"zeroize",
]
[[package]]
name = "mime"
version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
[[package]]
name = "mime_guess"
version = "2.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
dependencies = [
"mime",
"unicase",
]
[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
version = "0.4.4"
......@@ -1756,15 +1796,12 @@ dependencies = [
[[package]]
name = "nom"
version = "6.1.2"
version = "7.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
dependencies = [
"bitvec 0.19.6",
"funty 1.1.0",
"lexical-core",
"memchr",
"version_check",
"minimal-lexical",
]
[[package]]
......@@ -1966,6 +2003,12 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "os_str_bytes"
version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa"
[[package]]
name = "output_vt100"
version = "0.1.3"
......@@ -2005,7 +2048,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066"
dependencies = [
"arrayvec 0.7.2",
"bitvec 1.0.0",
"bitvec",
"byte-slice-cast",
"impl-trait-for-tuples",
"parity-scale-codec-derive",
......@@ -2031,7 +2074,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f"
dependencies = [
"cfg-if",
"hashbrown",
"hashbrown 0.12.0",
"impl-trait-for-tuples",
"parity-util-mem-derive",
"parking_lot 0.12.0",
......@@ -2108,7 +2151,7 @@ dependencies = [
name = "parser"
version = "0.1.0"
dependencies = [
"bitvec 1.0.0",
"bitvec",
"defaults",
"definitions",
"frame-metadata",
......@@ -2270,6 +2313,30 @@ dependencies = [
"toml",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
"proc-macro2",
"quote",
"syn",
"version_check",
]
[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
"proc-macro2",
"quote",
"version_check",
]
[[package]]
name = "proc-macro2"
version = "1.0.37"
......@@ -2307,7 +2374,7 @@ dependencies = [
name = "qrcode_rtx"
version = "0.1.0"
dependencies = [
"bitvec 1.0.0",
"bitvec",
"constants",
"hex",
"png",
......@@ -2321,7 +2388,7 @@ name = "qrcode_static"
version = "0.1.0"
dependencies = [
"anyhow",
"bitvec 1.0.0",
"bitvec",
"constants",
"hex",
"png",
......@@ -2354,12 +2421,6 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "radium"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
[[package]]
name = "radium"
version = "0.7.0"
......@@ -2655,7 +2716,7 @@ version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0563970d79bcbf3c537ce3ad36d859b30d36fc5b190efd227f1f7a84d7cf0d42"
dependencies = [
"bitvec 1.0.0",
"bitvec",
"cfg-if",
"derive_more",
"parity-scale-codec",
......@@ -3385,6 +3446,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "substrate-bip39"
version = "0.4.4"
......@@ -3454,12 +3521,9 @@ dependencies = [
[[package]]
name = "textwrap"
version = "0.11.0"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"unicode-width",
]
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
[[package]]
name = "thiserror"
......@@ -3714,7 +3778,7 @@ dependencies = [
name = "transaction_parsing"
version = "0.1.0"
dependencies = [
"bitvec 1.0.0",
"bitvec",
"constants",
"db_handling",
"definitions",
......@@ -3755,7 +3819,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83"
dependencies = [
"hash-db",
"hashbrown",
"hashbrown 0.12.0",
"log",
"rustc-hex",
"smallvec",
......@@ -3812,6 +3876,15 @@ dependencies = [
"static_assertions",
]
[[package]]
name = "unicase"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
dependencies = [
"version_check",
]
[[package]]
name = "unicode-normalization"
version = "0.1.19"
......@@ -3821,18 +3894,6 @@ dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-segmentation"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99"
[[package]]
name = "unicode-width"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
[[package]]
name = "unicode-xid"
version = "0.2.2"
......@@ -3841,9 +3902,9 @@ checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "uniffi"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c70e9d90cc703c4bfa842b5be1647c039578f00e3fd575f796d5acb90bae3fa"
checksum = "d0fe14882ae6ea89f31ac922ad8e6f76b3f346f07965791a60ade60cc3bcdd60"
dependencies = [
"anyhow",
"bytes",
......@@ -3857,9 +3918,9 @@ dependencies = [
[[package]]
name = "uniffi_bindgen"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f70a820a6a598cd6026e097a1a1520e429fb846efe4719934f816f264d3ba96a"
checksum = "49a9810482e988792ed22fc6747d872bd32600f7e3bfc11fe93019d155d7e89c"
dependencies = [
"anyhow",
"askama",
......@@ -3869,14 +3930,14 @@ dependencies = [
"paste",
"serde",
"toml",
"weedle",
"weedle2",
]
[[package]]
name = "uniffi_build"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7b35d8e19c773c42176343a92ce8480443e5aa19f02deb75572acf7f8a51bbb"
checksum = "bcb7401cfd8da93541c23a0683c1dab3c782d2a118254536106b0aa4d9b30607"
dependencies = [
"anyhow",
"uniffi_bindgen",
......@@ -4061,11 +4122,12 @@ dependencies = [
]
[[package]]
name = "weedle"
version = "0.12.0"
name = "weedle2"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "610950904727748ca09682e857f0d6d6437f0ca862f32f9229edba8cec8b2635"
checksum = "8a69b360c3d0df7dc1a18124677ee8476576c806418f30a360a6cf6cf4e072a6"
dependencies = [
"fs-err",
"nom 5.1.2",
]
......@@ -4149,12 +4211,6 @@ version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
[[package]]
name = "wyz"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
[[package]]
name = "wyz"
version = "0.5.0"
......
......@@ -8,7 +8,7 @@ edition = "2018"
anyhow = "1.0"
ffi-support = "0.4"
hex = "0.4.3"
uniffi = { version="0.17.0", features=["builtin-bindgen"] }
uniffi = { version = "0.18.0", features=["builtin-bindgen"] }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["full_crypto"] }
......@@ -29,7 +29,7 @@ log = "0.4.17"
[build-dependencies]
definitions = {path = "../definitions"}
generate_message = {path = "../generate_message"}
uniffi_build = { version = "0.17.0", features = ["builtin-bindgen"] }
uniffi_build = { version = "0.18.0", features = ["builtin-bindgen"] }
[lib]
crate-type = ["staticlib", "cdylib"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment