application-services/Cargo.lock

4142 строки
92 KiB
Plaintext
Исходник Обычный вид История

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
2020-05-13 20:00:36 +03:00
[[package]]
name = "addr2line"
version = "0.17.0"
2020-05-13 20:00:36 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
2020-05-13 20:00:36 +03:00
dependencies = [
"gimli",
]
2020-06-12 23:13:45 +03:00
[[package]]
name = "adler"
version = "1.0.2"
2020-06-12 23:13:45 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
2020-06-12 23:13:45 +03:00
[[package]]
name = "ahash"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
dependencies = [
"getrandom 0.2.7",
"once_cell",
"serde",
"version_check",
]
[[package]]
name = "aho-corasick"
version = "0.7.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
dependencies = [
2020-01-31 15:59:58 +03:00
"memchr",
]
[[package]]
name = "ansi_term"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
dependencies = [
"winapi",
]
[[package]]
name = "ansi_term"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
"winapi",
]
2019-05-03 17:46:30 +03:00
[[package]]
2019-11-18 18:52:15 +03:00
name = "anyhow"
version = "1.0.58"
2019-05-03 17:46:30 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704"
2019-05-03 17:46:30 +03:00
[[package]]
2019-08-20 20:22:03 +03:00
name = "arrayref"
2020-02-03 02:22:18 +03:00
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
[[package]]
name = "arrayvec"
2020-11-04 03:43:37 +03:00
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-11-04 03:43:37 +03:00
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]]
name = "askama"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134"
dependencies = [
"askama_derive 0.10.5",
"askama_escape",
"askama_shared 0.11.2",
]
[[package]]
name = "askama"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb98f10f371286b177db5eeb9a6e5396609555686a35e1d4f7b9a9c6d8af0139"
dependencies = [
"askama_derive 0.11.2",
"askama_escape",
"askama_shared 0.12.2",
]
[[package]]
name = "askama_derive"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522"
dependencies = [
"askama_shared 0.11.2",
"proc-macro2",
"syn",
]
[[package]]
name = "askama_derive"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87bf87e6e8b47264efa9bde63d6225c6276a52e05e91bf37eaa8afd0032d6b71"
dependencies = [
"askama_shared 0.12.2",
"proc-macro2",
"syn",
]
[[package]]
name = "askama_escape"
2022-03-11 04:07:02 +03:00
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341"
[[package]]
name = "askama_shared"
2022-03-11 04:07:02 +03:00
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "7d6083ccb191711e9c2b80b22ee24a8381a18524444914c746d4239e21d1afaf"
dependencies = [
"askama_escape",
"humansize",
"nom 6.1.2",
"num-traits",
"percent-encoding",
"proc-macro2",
"quote",
"serde",
"syn",
"toml",
]
[[package]]
name = "askama_shared"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf722b94118a07fcbc6640190f247334027685d4e218b794dbfe17c32bf38ed0"
dependencies = [
"askama_escape",
"mime",
"mime_guess",
"nom 7.1.1",
"proc-macro2",
"quote",
"serde",
"syn",
"toml",
]
[[package]]
name = "assert-json-diff"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12"
dependencies = [
2020-01-31 15:59:58 +03:00
"serde",
"serde_json",
]
[[package]]
name = "atty"
2019-11-19 04:31:44 +03:00
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
2020-01-31 15:59:58 +03:00
"hermit-abi",
"libc",
"winapi",
]
2020-01-10 22:48:27 +03:00
[[package]]
name = "autocfg"
2022-03-11 04:07:02 +03:00
version = "1.1.0"
2020-01-10 22:48:27 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
2020-01-10 22:48:27 +03:00
2020-09-19 01:49:22 +03:00
[[package]]
name = "autofill"
version = "0.1.0"
dependencies = [
"anyhow",
"env_logger 0.7.1",
2020-09-19 01:49:22 +03:00
"error-support",
"interrupt-support",
"jwcrypto",
"lazy_static",
2020-09-19 01:49:22 +03:00
"libsqlite3-sys",
"log",
2020-09-19 01:49:22 +03:00
"nss_build_common",
"rusqlite",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
2020-09-19 01:49:22 +03:00
"thiserror",
"types",
2020-11-12 06:20:10 +03:00
"uniffi",
"uniffi_build",
2020-09-19 01:49:22 +03:00
"url",
]
[[package]]
name = "backtrace"
version = "0.3.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7"
dependencies = [
2020-05-13 20:00:36 +03:00
"addr2line",
"cc",
2020-10-19 20:13:15 +03:00
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"libc",
2020-06-12 23:13:45 +03:00
"miniz_oxide",
2020-05-13 20:00:36 +03:00
"object",
2020-01-31 15:59:58 +03:00
"rustc-demangle",
]
[[package]]
name = "base16"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "d27c3610c36aee21ce8ac510e6224498de4228ad772a171ed65643a24693a5a8"
2020-03-13 22:53:20 +03:00
[[package]]
name = "base64"
version = "0.12.3"
2020-03-13 22:53:20 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
2020-03-13 22:53:20 +03:00
[[package]]
name = "base64"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
2019-05-29 19:47:40 +03:00
[[package]]
name = "bincode"
version = "1.3.3"
2019-05-29 19:47:40 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
2019-05-29 19:47:40 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"serde",
2019-05-29 19:47:40 +03:00
]
[[package]]
name = "bit-set"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de"
dependencies = [
"bit-vec",
]
[[package]]
name = "bit-vec"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
[[package]]
name = "bitflags"
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",
"radium",
"tap",
"wyz",
]
[[package]]
2019-08-20 20:22:03 +03:00
name = "blake2b_simd"
2020-11-04 03:43:37 +03:00
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-11-04 03:43:37 +03:00
checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
dependencies = [
2020-01-31 15:59:58 +03:00
"arrayref",
"arrayvec",
"constant_time_eq",
]
2019-10-21 19:55:52 +03:00
[[package]]
name = "block"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
2019-10-21 19:55:52 +03:00
[[package]]
name = "block-buffer"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
dependencies = [
"generic-array",
]
[[package]]
2019-07-08 20:47:55 +03:00
name = "bstr"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
2019-07-08 20:47:55 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"lazy_static",
"memchr",
"regex-automata",
"serde",
2019-07-08 20:47:55 +03:00
]
[[package]]
name = "bumpalo"
version = "3.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
[[package]]
name = "bytecount"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c"
[[package]]
name = "byteorder"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "bytes"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"
2021-05-26 11:04:01 +03:00
[[package]]
name = "camino"
version = "1.0.9"
2021-05-26 11:04:01 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412"
2021-05-26 11:04:01 +03:00
dependencies = [
"serde",
]
[[package]]
name = "cargo-platform"
version = "0.1.2"
2021-05-26 11:04:01 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
2021-05-26 11:04:01 +03:00
dependencies = [
"serde",
]
[[package]]
name = "cargo_metadata"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
dependencies = [
2021-05-26 11:04:01 +03:00
"camino",
"cargo-platform",
"semver 1.0.12",
"serde",
"serde_json",
]
[[package]]
name = "caseless"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "808dab3318747be122cb31d36de18d4d1c81277a76f8332a02b81a3d73463d7f"
dependencies = [
2020-01-31 15:59:58 +03:00
"regex",
"unicode-normalization",
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "cast"
version = "0.2.7"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a"
2019-11-18 18:52:15 +03:00
dependencies = [
"rustc_version 0.4.0",
2019-11-18 18:52:15 +03:00
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "cast"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "cc"
2022-03-11 04:07:02 +03:00
version = "1.0.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
2019-04-15 23:29:05 +03:00
[[package]]
2019-05-03 17:46:30 +03:00
name = "cfg-if"
2019-09-27 20:12:07 +03:00
version = "0.1.10"
2019-04-15 23:29:05 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
2019-04-15 23:29:05 +03:00
2020-10-19 20:13:15 +03:00
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
2020-10-05 17:22:12 +03:00
version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-10-05 17:22:12 +03:00
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
dependencies = [
2020-10-05 17:22:12 +03:00
"libc",
2020-01-31 15:59:58 +03:00
"num-integer",
"num-traits",
"serde",
2022-03-11 04:07:02 +03:00
"time 0.1.44",
"winapi",
]
[[package]]
name = "clap"
version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
dependencies = [
"ansi_term 0.12.1",
2020-01-31 15:59:58 +03:00
"atty",
"bitflags",
"strsim 0.8.0",
"textwrap 0.11.0",
2020-01-31 15:59:58 +03:00
"unicode-width",
"vec_map",
"yaml-rust 0.3.5",
]
[[package]]
name = "clap"
version = "3.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "190814073e85d238f31ff738fcb0bf6910cedeb73376c87cd69291028966fd83"
dependencies = [
"atty",
"bitflags",
"clap_derive",
"clap_lex",
"indexmap",
"once_cell",
"strsim 0.10.0",
"termcolor",
"textwrap 0.15.0",
]
[[package]]
name = "clap_derive"
version = "3.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "759bf187376e1afa7b85b959e6a664a3e7a95203415dba952ad19139e798f902"
dependencies = [
"heck 0.4.0",
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "clap_lex"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
dependencies = [
"os_str_bytes",
]
[[package]]
name = "cli-support"
version = "0.1.0"
dependencies = [
"anyhow",
"env_logger 0.7.1",
2020-01-31 15:59:58 +03:00
"fxa-client",
"log",
2020-01-31 15:59:58 +03:00
"sync15",
"url",
"webbrowser",
]
2019-10-21 19:55:52 +03:00
[[package]]
name = "clipboard"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "25a904646c0340239dcf7c51677b33928bf24fdf424b79a57909c0109075b2e7"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"clipboard-win",
"objc",
"objc-foundation",
"objc_id",
"x11-clipboard",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "clipboard-win"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "e3a093d6fed558e5fe24c3dfc85a68bb68f1c824f440d3ba5aca189e2998786b"
2019-10-21 19:55:52 +03:00
dependencies = [
"winapi",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "colored"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
dependencies = [
2020-01-31 15:59:58 +03:00
"atty",
"lazy_static",
"winapi",
]
2019-02-11 21:49:47 +03:00
[[package]]
name = "console"
2020-05-22 21:10:26 +03:00
version = "0.11.3"
2019-02-11 21:49:47 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-22 21:10:26 +03:00
checksum = "8c0994e656bba7b922d8dd1245db90672ffb701e684e45be58f20719d69abc5a"
2019-02-11 21:49:47 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"encode_unicode",
"lazy_static",
"libc",
"regex",
2020-05-05 19:44:26 +03:00
"terminal_size",
2020-01-31 15:59:58 +03:00
"termios",
"unicode-width",
"winapi",
2020-05-05 19:44:26 +03:00
"winapi-util",
2019-02-11 21:49:47 +03:00
]
[[package]]
name = "constant_time_eq"
2020-01-13 20:43:18 +03:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]]
name = "core-foundation"
2022-03-11 04:07:02 +03:00
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
dependencies = [
2020-01-31 15:59:58 +03:00
"core-foundation-sys",
"libc",
]
[[package]]
name = "core-foundation-sys"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
[[package]]
name = "cpufeatures"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b"
dependencies = [
"libc",
]
[[package]]
name = "crashtest"
version = "0.1.0"
dependencies = [
"log",
"thiserror",
"uniffi",
"uniffi_build",
"uniffi_macros",
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "criterion"
version = "0.3.6"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"atty",
"cast 0.3.0",
"clap 2.34.0",
2020-01-31 15:59:58 +03:00
"criterion-plot",
"csv",
"itertools",
2020-01-31 15:59:58 +03:00
"lazy_static",
"num-traits",
"oorandom",
"plotters",
"rayon",
"regex",
"serde",
"serde_cbor",
2020-01-31 15:59:58 +03:00
"serde_derive",
"serde_json",
"tinytemplate",
"walkdir",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "criterion-plot"
version = "0.4.4"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57"
2019-02-01 01:28:16 +03:00
dependencies = [
"cast 0.2.7",
"itertools",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "crossbeam-channel"
version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c02a4d71819009c192cf4872265391563fd6a84c81ff2c0f2a7026ca4c1d85c"
dependencies = [
2020-11-04 03:43:37 +03:00
"cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
dependencies = [
2020-11-04 03:43:37 +03:00
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07db9d94cbd326813772c968ccd25999e5f8ae22f4f8d1b11effa37ef6ce281d"
dependencies = [
"autocfg",
2020-11-04 03:43:37 +03:00
"cfg-if 1.0.0",
"crossbeam-utils",
2020-01-31 15:59:58 +03:00
"memoffset",
"once_cell",
2020-01-31 15:59:58 +03:00
"scopeguard",
]
2019-11-18 18:52:15 +03:00
[[package]]
name = "crossbeam-utils"
version = "0.8.10"
2020-11-04 03:43:37 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83"
2020-11-04 03:43:37 +03:00
dependencies = [
"cfg-if 1.0.0",
"once_cell",
2020-11-04 03:43:37 +03:00
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "csv"
version = "1.1.6"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"bstr",
"csv-core",
"itoa 0.4.8",
2020-01-31 15:59:58 +03:00
"ryu",
"serde",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "csv-core"
2020-02-25 18:14:15 +03:00
version = "0.1.10"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-02-25 18:14:15 +03:00
checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"memchr",
2019-02-01 01:28:16 +03:00
]
2020-04-16 21:32:59 +03:00
[[package]]
name = "ctest2"
version = "0.4.4"
2020-04-16 21:32:59 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d10027de6a4e3136c87203d417b661e0e656e69b6ca0d77690033119db5a98"
2020-04-16 21:32:59 +03:00
dependencies = [
"cc",
"garando_syntax",
"rustc_version 0.4.0",
2020-04-16 21:32:59 +03:00
]
[[package]]
name = "ctor"
version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c"
dependencies = [
2020-01-31 15:59:58 +03:00
"quote",
"syn",
]
[[package]]
name = "ctrlc"
version = "3.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b37feaa84e6861e00a1f5e5aa8da3ee56d605c9992d33e082786754828e20865"
dependencies = [
2020-01-31 15:59:58 +03:00
"nix",
"winapi",
]
2019-02-11 21:49:47 +03:00
[[package]]
name = "dialoguer"
2020-05-05 19:44:26 +03:00
version = "0.6.2"
2019-02-11 21:49:47 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-05 19:44:26 +03:00
checksum = "f4aa86af7b19b40ef9cbef761ed411a49f0afa06b7b6dcd3dfe2f96a3c546138"
2019-02-11 21:49:47 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"console",
"lazy_static",
"tempfile",
2019-02-11 21:49:47 +03:00
]
[[package]]
name = "difference"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
[[package]]
name = "digest"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
dependencies = [
"generic-array",
]
[[package]]
name = "dirs"
Bookmark APIs for iOS and Kotlin and implement them using the FFI (#743) * Define conversions to/from protobuf types * Define bookmark message types * Add method of getting 'shallow' tree info * Properly provide parent/position for items * Add the rust side of the Bookmarks FFI * Kotlin bookmarks FFI * Copy xcode project over from logins to start places ios ffi * places ios: C bindings for places * protobuf setup for places ios (and docs) * Fix some things that were annoying me about BookmarkRootGuid, and move it to it's own file * Add a bookmarks FFI function to return all bookmarks with the requested URL * Clean up leftover logins stuff in places ios * Implement swift bookmarks API * Fix bad comment and missing null check in kotlin bookmarks * Try and add places to the iOS megazord (hit issue with msg_types name collision) * Rename msg_types to be unique, finish integration with iOS megazord * Finish documenting how to pass protobuf data back and forth for swift * Comment tweak and change canEdit -> isRoot * Small tweaks to the swift API (some renaming, change class => struct, etc) * Don't require type in update (since it can't be changed), and handle errors better * Undo struct -> class change since it subtly broke things * Respond to feedback from justin * Allow requesting a only the first level of folder children * connUseAfterApiClosed -> connUseAfterAPIClosed * WIP iOS tests * Make iOS tests build * Improve path handling for iOS * Fix megazord test setup and document the weird testing steps that were needed * Fix failing iOS tests * Move protobuf-returning functions into their own file * Add searchBookmarks function * Use a sealed class and data classes in the kotlin API * Require that callers of getBookmarksTree pass in the root and whether or not to fetch recursively, rather than using the most expensive possible default * rename deleteBookmark => deleteBookmarkNode * Use InterruptScope in the reader bookmark methods * Fix rebase issue * Allow interrupt() on iOS * Use changes from #788 to make places xcode project build much faster * Change `extern` to `public`, use fewer protobuf types in the rust because they make testing it painful * More tests of new rust code * Expose relevant errors over the FFI, and document them (also, fix the kotlin doc formatting) * fix 'its' being wrong basically everywhere * Fix many doc typos * Use FfiStr in bookmarks * Fix doc nit * Make missing titles come through as '' for better API consistency * Tests for the rest of the new rust functions * Clarify doc nit * Changelog entry for bookmark ffi * Expose runMaintenance to Swift * Handle NoItem => NoSuchGuid * Rename places::storage::bookmarks::public to places::storage::bookmarks::public_node * Lina's review feedback
2019-03-19 18:41:19 +03:00
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
"redox_users 0.3.5",
"winapi",
]
[[package]]
name = "dirs"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
dependencies = [
2020-10-19 20:13:15 +03:00
"cfg-if 0.1.10",
"dirs-sys",
]
[[package]]
name = "dirs-sys"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
dependencies = [
"libc",
"redox_users 0.4.3",
"winapi",
]
[[package]]
name = "dogear"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "268360cf7696c0c2c83061edb6af090cfea85cbde7d1b8425d6e4ffe9f1c0ec9"
dependencies = [
"log",
2020-01-31 15:59:58 +03:00
"smallbitvec",
]
[[package]]
name = "ece"
2022-03-11 04:07:02 +03:00
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "8dd5463ffecc0677adcd786c4481f73b215714d4757edf2eb37a573c03d00459"
dependencies = [
2022-03-11 04:07:02 +03:00
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"byteorder",
"hex",
2020-01-31 15:59:58 +03:00
"once_cell",
"serde",
"thiserror",
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "either"
version = "1.7.0"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
2019-02-01 01:28:16 +03:00
[[package]]
name = "embedded-uniffi-bindgen"
version = "0.1.0"
dependencies = [
"anyhow",
"uniffi_bindgen",
]
[[package]]
name = "encode_unicode"
2019-08-30 18:30:04 +03:00
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
[[package]]
name = "encoding_rs"
version = "0.8.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
dependencies = [
2020-11-04 03:43:37 +03:00
"cfg-if 1.0.0",
]
[[package]]
name = "env_logger"
2019-10-18 17:17:08 +03:00
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
dependencies = [
2020-01-31 15:59:58 +03:00
"atty",
"humantime 1.3.0",
"log",
2020-01-31 15:59:58 +03:00
"regex",
"termcolor",
]
[[package]]
name = "env_logger"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
dependencies = [
"atty",
"humantime 2.1.0",
"log",
"termcolor",
]
[[package]]
name = "error-support"
version = "0.1.0"
dependencies = [
"backtrace",
"lazy_static",
"log",
"parking_lot",
"uniffi",
"uniffi_build",
"uniffi_macros",
]
2020-09-19 01:49:22 +03:00
[[package]]
name = "example-autofill-utils"
version = "0.1.0"
dependencies = [
"anyhow",
"autofill",
2020-09-19 01:49:22 +03:00
"cli-support",
"error-support",
"fxa-client",
"interrupt-support",
"log",
"rusqlite",
"serde_json",
"sql-support",
2020-09-19 01:49:22 +03:00
"structopt",
"sync-guid",
"sync15",
"viaduct-reqwest",
2020-09-19 01:49:22 +03:00
]
[[package]]
name = "example-places-autocomplete"
version = "0.1.0"
dependencies = [
"anyhow",
"clap 2.34.0",
"find-places-db",
"interrupt-support",
"log",
"places",
"rand",
"rusqlite",
"sql-support",
"tempfile",
"termion",
"types",
"url",
]
[[package]]
name = "example-places-utils"
version = "0.1.0"
dependencies = [
"anyhow",
"cli-support",
"ctrlc",
"error-support",
"find-places-db",
"fxa-client",
"interrupt-support",
"log",
"places",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"structopt",
"sync-guid",
"sync15",
"tempfile",
"types",
"url",
"viaduct-reqwest",
]
[[package]]
name = "example-push-livetest"
version = "0.1.0"
dependencies = [
"hex",
"push",
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "example-sync-pass"
version = "0.1.0"
dependencies = [
"anyhow",
"base64 0.13.0",
"chrono",
"clap 2.34.0",
"cli-support",
"fxa-client",
"log",
"logins",
"prettytable-rs",
"rusqlite",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
"tempfile",
2021-06-22 22:24:13 +03:00
"viaduct-reqwest",
]
[[package]]
name = "example-tabs-sync"
version = "0.1.0"
dependencies = [
"anyhow",
2022-08-07 09:55:04 +03:00
"base64 0.13.0",
"chrono",
"cli-support",
"clipboard",
"log",
"serde_json",
"structopt",
"tabs",
"viaduct-reqwest",
]
[[package]]
name = "examples-fxa-client"
version = "0.1.0"
dependencies = [
"anyhow",
"cli-support",
"dialoguer",
"fxa-client",
"sync15",
"url",
"viaduct-reqwest",
"webbrowser",
]
2019-04-12 07:24:25 +03:00
[[package]]
name = "fallible-iterator"
version = "0.2.0"
2019-04-12 07:24:25 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
2019-04-12 07:24:25 +03:00
[[package]]
name = "fallible-streaming-iterator"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
2019-04-12 07:24:25 +03:00
[[package]]
name = "fancy-regex"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d6b8560a05112eb52f04b00e5d3790c0dd75d9d980eb8a122fb23b92a623ccf"
dependencies = [
"bit-set",
"regex",
]
2022-03-11 04:07:02 +03:00
[[package]]
name = "fastrand"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf"
dependencies = [
"instant",
]
[[package]]
name = "ffi-support"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27838c6815cfe9de2d3aeb145ffd19e565f577414b33f3bdbf42fe040e9e0ff6"
2020-04-01 19:12:36 +03:00
dependencies = [
"lazy_static",
"log",
2020-04-01 19:12:36 +03:00
]
[[package]]
name = "find-places-db"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1594bf39a5c2a21fb4ea7fd6f6cfeeeba9ece09012d9c6081349c5de1c441076"
dependencies = [
"anyhow",
"dirs 2.0.2",
"log",
]
[[package]]
name = "fixedbitset"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
[[package]]
name = "fnv"
2020-05-22 21:10:26 +03:00
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-22 21:10:26 +03:00
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "foreign-types"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
2020-01-31 15:59:58 +03:00
"foreign-types-shared",
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "form_urlencoded"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
dependencies = [
"matches",
"percent-encoding",
]
[[package]]
name = "fraction"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aba3510011eee8825018be07f08d9643421de007eaf62a3bde58d89b058abfa7"
dependencies = [
"lazy_static",
"num",
]
[[package]]
name = "fs-err"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bd79fa345a495d3ae89fb7165fec01c0e72f41821d642dda363a1e97975652e"
[[package]]
name = "funty"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
[[package]]
2020-01-14 21:07:19 +03:00
name = "futures-channel"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010"
2020-01-14 21:07:19 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"futures-core",
2020-01-14 21:07:19 +03:00
]
[[package]]
2020-01-14 21:07:19 +03:00
name = "futures-core"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
2020-01-14 21:07:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3"
2020-01-14 21:07:19 +03:00
[[package]]
name = "futures-io"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
2020-01-14 21:07:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b"
2020-01-14 21:07:19 +03:00
[[package]]
name = "futures-sink"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
2020-01-14 21:07:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868"
2020-01-14 21:07:19 +03:00
[[package]]
name = "futures-task"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
2020-01-14 21:07:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a"
2020-01-14 21:07:19 +03:00
[[package]]
name = "futures-util"
2022-03-11 04:07:02 +03:00
version = "0.3.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a"
dependencies = [
2020-01-31 15:59:58 +03:00
"futures-core",
"futures-io",
"futures-task",
"memchr",
"pin-project-lite",
2020-01-31 15:59:58 +03:00
"pin-utils",
"slab",
]
[[package]]
name = "fxa-client"
version = "0.1.0"
dependencies = [
"anyhow",
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"error-support",
"hex",
2020-07-20 22:54:37 +03:00
"jwcrypto",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"mockiato",
"mockito",
"rate-limiter",
2020-01-31 15:59:58 +03:00
"rc_crypto",
"serde",
"serde_derive",
"serde_json",
"sync-guid",
2020-01-31 15:59:58 +03:00
"sync15",
"thiserror",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "garando_errors"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18495ec4aced5922809efe4d2862918ff0e8d75e122bde57bba9bae45965256a"
dependencies = [
"garando_pos",
"libc",
"serde",
"term 0.6.1",
"unicode-xid",
]
[[package]]
name = "garando_pos"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c9386fc75dca486daefbbf5a8d2ea6f379237f95c9b982776159cd66f220aaf"
dependencies = [
"serde",
]
[[package]]
name = "garando_syntax"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c482830d7f29a9c6bf038d445e317921123fa727f99de847f100cd3e4abecd6"
dependencies = [
"bitflags",
"garando_errors",
"garando_pos",
"log",
"serde",
"serde_json",
"unicode-xid",
]
[[package]]
name = "generic-array"
2022-03-11 04:07:02 +03:00
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803"
dependencies = [
"typenum",
"version_check",
]
[[package]]
name = "getrandom"
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
dependencies = [
"cfg-if 1.0.0",
2020-10-19 20:13:15 +03:00
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "getrandom"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
dependencies = [
"cfg-if 1.0.0",
"libc",
"wasi 0.11.0+wasi-snapshot-preview1",
]
2020-05-13 20:00:36 +03:00
[[package]]
name = "gimli"
version = "0.26.1"
2020-05-13 20:00:36 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
2020-05-13 20:00:36 +03:00
[[package]]
name = "glean-build"
version = "6.1.2"
dependencies = [
"xshell-venv",
]
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
[[package]]
name = "glob"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "goblin"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7666983ed0dd8d21a6f6576ee00053ca0926fb281a5522577a4dbd0f1b54143"
dependencies = [
"log",
"plain",
"scroll",
]
[[package]]
name = "h2"
version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http",
"indexmap",
"slab",
"tokio",
"tokio-util",
2020-07-17 20:55:39 +03:00
"tracing",
]
[[package]]
name = "half"
version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
[[package]]
name = "hashbrown"
2022-12-08 07:01:25 +03:00
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-12-08 07:01:25 +03:00
checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3"
dependencies = [
"ahash",
]
[[package]]
name = "hashlink"
2022-12-08 07:01:25 +03:00
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-12-08 07:01:25 +03:00
checksum = "69fe1fcf8b4278d860ad0548329f892a3631fb63f82574df68275f34cdbe0ffa"
dependencies = [
2022-12-08 07:01:25 +03:00
"hashbrown",
]
[[package]]
name = "hawk"
version = "3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7539c8d8699bae53238aacd3f93cfb0bcaef77b85dc963902b9367c5d7a84c48"
dependencies = [
"anyhow",
"base64 0.12.3",
"log",
2020-01-31 15:59:58 +03:00
"once_cell",
"thiserror",
2020-01-31 15:59:58 +03:00
"url",
]
[[package]]
name = "heck"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
dependencies = [
2020-01-31 15:59:58 +03:00
"unicode-segmentation",
2019-10-31 22:14:42 +03:00
]
[[package]]
name = "heck"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
2019-10-31 22:14:42 +03:00
[[package]]
name = "hermit-abi"
version = "0.1.19"
2019-10-31 22:14:42 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
2019-10-31 22:14:42 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
]
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "http"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"fnv",
"itoa 1.0.2",
]
2019-07-08 20:47:55 +03:00
[[package]]
name = "http-body"
version = "0.4.5"
2019-07-08 20:47:55 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
2019-07-08 20:47:55 +03:00
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"http",
"pin-project-lite",
2019-07-08 20:47:55 +03:00
]
[[package]]
name = "httparse"
version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c"
2020-09-23 18:18:34 +03:00
[[package]]
name = "httpdate"
version = "1.0.2"
2020-09-23 18:18:34 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
2020-09-23 18:18:34 +03:00
[[package]]
name = "humansize"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02296996cb8796d7c6e3bc2d9211b7802812d36999a51bb754123ead7d37d026"
[[package]]
name = "humantime"
2019-09-13 17:20:01 +03:00
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
dependencies = [
2020-01-31 15:59:58 +03:00
"quick-error",
]
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
version = "0.14.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"futures-channel",
"futures-core",
"futures-util",
"h2",
"http",
"http-body",
"httparse",
2020-09-23 18:18:34 +03:00
"httpdate",
"itoa 1.0.2",
"pin-project-lite",
2020-06-05 18:33:57 +03:00
"socket2",
2020-01-31 15:59:58 +03:00
"tokio",
"tower-service",
2020-07-17 20:55:39 +03:00
"tracing",
2020-01-31 15:59:58 +03:00
"want",
]
[[package]]
name = "hyper-tls"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"hyper",
"native-tls",
"tokio",
"tokio-native-tls",
]
[[package]]
name = "id-arena"
version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"
[[package]]
name = "idna"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
dependencies = [
2020-01-31 15:59:58 +03:00
"matches",
"unicode-bidi",
"unicode-normalization",
]
[[package]]
name = "indexmap"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
2019-10-31 22:14:42 +03:00
dependencies = [
"autocfg",
2022-12-08 07:01:25 +03:00
"hashbrown",
2019-10-31 22:14:42 +03:00
]
[[package]]
name = "instant"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
"cfg-if 1.0.0",
]
2020-04-24 00:35:06 +03:00
[[package]]
name = "interrupt-support"
version = "0.1.0"
dependencies = [
"lazy_static",
"parking_lot",
"rusqlite",
]
2020-04-24 00:35:06 +03:00
[[package]]
name = "ipnet"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "879d54834c8c76457ef4293a689b2a8c59b076067ad77b15efafbb05f92a592b"
2019-02-01 01:28:16 +03:00
[[package]]
name = "iso8601"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5b94fbeb759754d87e1daea745bc8efd3037cd16980331fe1d1524c9a79ce96"
dependencies = [
"nom 7.1.1",
]
[[package]]
name = "itertools"
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
[[package]]
name = "itoa"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
[[package]]
name = "jexl-eval"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41bb0cb58f20e39d58869c2cf1a69b88aaa7854557904ed404e829d3b64e1046"
dependencies = [
"anyhow",
"jexl-parser",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "jexl-parser"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab43a7eb505d3871a8debbaebc35b3402e26968dd4bcac258e6f40881238673"
dependencies = [
"lalrpop-util",
"regex",
]
[[package]]
name = "js-sys"
version = "0.3.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27"
dependencies = [
2020-01-31 15:59:58 +03:00
"wasm-bindgen",
]
[[package]]
name = "jsonschema"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "877e398ffb23c1c311c417ef5e72e8699c3822dbf835468f009c6ce91b6c206b"
dependencies = [
"ahash",
"base64 0.13.0",
"bytecount",
"fancy-regex",
"fraction",
"iso8601",
"itoa 0.4.8",
"lazy_static",
"num-cmp",
"parking_lot",
"percent-encoding",
"regex",
"serde",
"serde_json",
"time 0.3.11",
"url",
"uuid",
]
2020-07-20 22:54:37 +03:00
[[package]]
name = "jwcrypto"
version = "0.1.0"
dependencies = [
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
"error-support",
"log",
2020-07-20 22:54:37 +03:00
"rc_crypto",
"serde",
"serde_derive",
"serde_json",
"thiserror",
]
[[package]]
name = "lalrpop-util"
version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcf796c978e9b4d983414f4caedc9273aa33ee214c5b887bd55fde84c85d2dc4"
dependencies = [
"regex",
]
[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "lexical-core"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe"
dependencies = [
"arrayvec",
"bitflags",
"cfg-if 1.0.0",
"ryu",
"static_assertions",
]
[[package]]
name = "libc"
version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "libsqlite3-sys"
2022-12-08 07:01:25 +03:00
version = "0.25.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-12-08 07:01:25 +03:00
checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa"
dependencies = [
2020-01-31 15:59:58 +03:00
"cc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "linked-hash-map"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
[[package]]
name = "lmdb-rkv"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "447a296f7aca299cfbb50f4e4f3d49451549af655fb7215d7f8c0c3d64bad42b"
dependencies = [
"bitflags",
"byteorder",
"libc",
"lmdb-rkv-sys",
]
[[package]]
name = "lmdb-rkv-sys"
2022-03-11 04:07:02 +03:00
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "61b9ce6b3be08acefa3003c57b7565377432a89ec24476bbe72e11d101f852fe"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]]
name = "lock_api"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
dependencies = [
"autocfg",
"scopeguard",
]
[[package]]
name = "log"
version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
"cfg-if 1.0.0",
]
[[package]]
name = "logins"
version = "0.1.0"
dependencies = [
"anyhow",
"env_logger 0.7.1",
2020-01-31 15:59:58 +03:00
"error-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
"jwcrypto",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"more-asserts",
"parking_lot",
2020-01-31 15:59:58 +03:00
"rusqlite",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
"tempfile",
"thiserror",
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
]
2019-10-21 19:55:52 +03:00
[[package]]
name = "malloc_buf"
version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "matches"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
2019-04-30 22:18:13 +03:00
[[package]]
name = "megazord"
version = "0.1.0"
dependencies = [
"autofill",
"crashtest",
"error-support",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
"fxa-client",
2020-01-31 15:59:58 +03:00
"lazy_static",
"logins",
"nimbus-sdk",
Places uniffication (#4770) * initial conversion of errors for places uniffication * Converted history metadata functions for places uniffication * Converted kotlin history metadata functions * Converted iOS history metadata functions * [Places uniffication] Fix places error issues (#4687) * remove uniffi-specific wrapper and updated error test * Uniffi VisitObservation and apply_observation (#4689) * uniffied VisitObservation, HistoryVisitInfo and methods using those structs * Uniffi top frecent site info (#4711) * Uniffi top frecent site info * Uniffis FrecencyThresholdOption * Uniffi Places Sync (#4714) * uniffi places sync and sync15 functions * Uniffi Search result and match url (#4720) * Uniffi query autocomplete * uniffi places_accept_result * uniffi places_match_url * cargo fmt * cargo clippy * remove accept_result from ffi crate * Adds comment on the uniffi bug with varaint shadowing type * Uniffi Places Interrupt methods (#4726) * uniffi places interrupt functions * Consolidate types (#4736) * Updates the visit observation to use URL * Uses VisitTransition for HistoryVisitInfo * updates uniffi to 0.16 * Uniffied bookmarks * switch to use uint in the apis for adding bookmarks (#4747) * Remove the manual places FFI entirely. * folders and separators now have non-nullable parents * Always insert via Insertable items, and clarify separation between node types. * Add json_tree module with all json-based types and implementation. * Fix swift warnings re non-null parentGuid * bookmarks: Remove public_node and introduce a fetch module * Update swift code to make breaking changes fixes cleaner (#4766) * rebased and added changelog entry Co-authored-by: lougeniac64 <lougeniaC64@users.noreply.github.com> Co-authored-by: Tarik Eshaq <teshaq@mozilla.com> Co-authored-by: Mark Hammond <mhammond@skippinet.com.au>
2022-01-20 23:00:00 +03:00
"places",
"push",
2020-01-31 15:59:58 +03:00
"rc_log_ffi",
"sync_manager",
"tabs",
2020-01-31 15:59:58 +03:00
"viaduct",
2019-04-30 22:18:13 +03:00
]
[[package]]
name = "megazord_focus"
version = "0.1.0"
dependencies = [
"error-support",
"nimbus-sdk",
"rc_log_ffi",
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "megazord_ios"
version = "0.1.0"
dependencies = [
"autofill",
"crashtest",
"error-support",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
"fxa-client",
"logins",
"nimbus-sdk",
Places uniffication (#4770) * initial conversion of errors for places uniffication * Converted history metadata functions for places uniffication * Converted kotlin history metadata functions * Converted iOS history metadata functions * [Places uniffication] Fix places error issues (#4687) * remove uniffi-specific wrapper and updated error test * Uniffi VisitObservation and apply_observation (#4689) * uniffied VisitObservation, HistoryVisitInfo and methods using those structs * Uniffi top frecent site info (#4711) * Uniffi top frecent site info * Uniffis FrecencyThresholdOption * Uniffi Places Sync (#4714) * uniffi places sync and sync15 functions * Uniffi Search result and match url (#4720) * Uniffi query autocomplete * uniffi places_accept_result * uniffi places_match_url * cargo fmt * cargo clippy * remove accept_result from ffi crate * Adds comment on the uniffi bug with varaint shadowing type * Uniffi Places Interrupt methods (#4726) * uniffi places interrupt functions * Consolidate types (#4736) * Updates the visit observation to use URL * Uses VisitTransition for HistoryVisitInfo * updates uniffi to 0.16 * Uniffied bookmarks * switch to use uint in the apis for adding bookmarks (#4747) * Remove the manual places FFI entirely. * folders and separators now have non-nullable parents * Always insert via Insertable items, and clarify separation between node types. * Add json_tree module with all json-based types and implementation. * Fix swift warnings re non-null parentGuid * bookmarks: Remove public_node and introduce a fetch module * Update swift code to make breaking changes fixes cleaner (#4766) * rebased and added changelog entry Co-authored-by: lougeniac64 <lougeniaC64@users.noreply.github.com> Co-authored-by: Tarik Eshaq <teshaq@mozilla.com> Co-authored-by: Mark Hammond <mhammond@skippinet.com.au>
2022-01-20 23:00:00 +03:00
"places",
"push",
2020-01-31 15:59:58 +03:00
"rc_log_ffi",
"sync15",
"tabs",
2020-01-31 15:59:58 +03:00
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "memchr"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
name = "memoffset"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
dependencies = [
"autocfg",
]
[[package]]
name = "mime"
2020-01-10 22:48:27 +03:00
version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
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"
2020-06-12 23:13:45 +03:00
[[package]]
name = "miniz_oxide"
version = "0.5.3"
2020-06-12 23:13:45 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
2020-06-12 23:13:45 +03:00
dependencies = [
"adler",
2020-06-12 23:13:45 +03:00
]
[[package]]
name = "mio"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf"
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
"log",
"wasi 0.11.0+wasi-snapshot-preview1",
"windows-sys",
]
[[package]]
name = "mockiato"
version = "0.9.5"
2019-07-08 21:11:07 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "32ab84f0c1bf24789b915accc69d662674a87df893f38fd08c36375acdbcf83c"
dependencies = [
2020-01-31 15:59:58 +03:00
"mockiato-codegen",
"nameof",
"nearly_eq",
"rustc_version 0.2.3",
]
[[package]]
name = "mockiato-codegen"
version = "0.9.5"
2019-07-08 21:11:07 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "1d0ea1407c509b9cf6e0eb0d92e97063b24dd73d5a2f12c49c40ee209f15594b"
dependencies = [
"heck 0.3.3",
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"rustc_version 0.2.3",
2020-01-31 15:59:58 +03:00
"syn",
]
[[package]]
name = "mockito"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "401edc088069634afaa5f4a29617b36dba683c0c16fe4435a86debad23fa2f1a"
dependencies = [
2020-01-31 15:59:58 +03:00
"assert-json-diff",
"colored",
"httparse",
"lazy_static",
"log",
"rand",
2020-01-31 15:59:58 +03:00
"regex",
"serde_json",
"serde_urlencoded",
"similar",
]
[[package]]
name = "more-asserts"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
[[package]]
name = "multimap"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
[[package]]
name = "nameof"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ce8b389a86cabeb0d8b33a61e60f3cbb4de38914342fe274e69111f3b5d9c44"
[[package]]
name = "native-tls"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd7e2f3618557f980e0b17e8856252eee3c97fa12c54dff0ca290fb6266ca4a9"
dependencies = [
2020-01-31 15:59:58 +03:00
"lazy_static",
"libc",
"log",
2020-01-31 15:59:58 +03:00
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework",
"security-framework-sys",
"tempfile",
]
[[package]]
name = "nearly_eq"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "a629868a433328c35d654e1e1fb4648a68a042e3c71de4e507a9bcf4602c5635"
[[package]]
name = "nimbus-fml"
version = "0.1.0"
dependencies = [
"anyhow",
"askama 0.10.5",
"clap 2.34.0",
"glob",
"heck 0.3.3",
"jsonschema",
"reqwest",
"serde",
"serde_json",
"serde_yaml",
"tempfile",
"textwrap 0.14.2",
"thiserror",
"unicode-segmentation",
"url",
]
[[package]]
name = "nimbus-sdk"
version = "0.10.0"
dependencies = [
"anyhow",
"chrono",
"clap 2.34.0",
"env_logger 0.7.1",
"error-support",
"glean-build",
"hex",
"jexl-eval",
"log",
2021-03-19 00:02:04 +03:00
"mockito",
"once_cell",
2021-02-24 23:32:25 +03:00
"rkv",
"serde",
"serde_derive",
"serde_json",
"sha2",
"tempfile",
"thiserror",
"unicode-segmentation",
"uniffi",
"uniffi_build",
"url",
"uuid",
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "nix"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9"
dependencies = [
"bitflags",
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"libc",
]
[[package]]
name = "nom"
version = "6.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
dependencies = [
"bitvec",
"funty",
"lexical-core",
"memchr",
"version_check",
]
[[package]]
name = "nom"
version = "7.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
dependencies = [
"memchr",
"minimal-lexical",
]
2019-07-09 21:00:48 +03:00
[[package]]
name = "nss"
version = "0.1.0"
dependencies = [
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"error-support",
"nss_sys",
"serde",
"serde_derive",
"thiserror",
2019-07-09 21:00:48 +03:00
]
[[package]]
name = "nss_build_common"
version = "0.1.0"
2019-07-09 21:00:48 +03:00
[[package]]
name = "nss_sys"
version = "0.1.0"
dependencies = [
"libsqlite3-sys",
2020-01-31 15:59:58 +03:00
"nss_build_common",
2019-07-09 21:00:48 +03:00
]
[[package]]
name = "num"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36"
dependencies = [
"num-bigint",
"num-complex",
"num-integer",
"num-iter",
"num-rational",
"num-traits",
]
[[package]]
name = "num-bigint"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
dependencies = [
"autocfg",
"num-integer",
"num-traits",
]
[[package]]
name = "num-cmp"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63335b2e2c34fae2fb0aa2cecfd9f0832a1e24b3b32ecec612c3426d46dc8aaa"
[[package]]
name = "num-complex"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
dependencies = [
"autocfg",
"num-traits",
]
2019-04-15 23:29:05 +03:00
[[package]]
2019-05-03 17:46:30 +03:00
name = "num-integer"
version = "0.1.45"
2019-04-15 23:29:05 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
2019-04-15 23:29:05 +03:00
dependencies = [
"autocfg",
2020-01-31 15:59:58 +03:00
"num-traits",
2019-03-27 00:35:50 +03:00
]
[[package]]
name = "num-iter"
version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252"
dependencies = [
"autocfg",
"num-integer",
"num-traits",
]
[[package]]
name = "num-rational"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
dependencies = [
"autocfg",
"num-bigint",
"num-integer",
"num-traits",
]
[[package]]
2019-05-03 17:46:30 +03:00
name = "num-traits"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
2019-07-08 20:47:55 +03:00
dependencies = [
"autocfg",
2019-07-08 20:47:55 +03:00
]
[[package]]
name = "num_cpus"
2022-03-11 04:07:02 +03:00
version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
dependencies = [
2020-01-31 15:59:58 +03:00
"hermit-abi",
"libc",
]
2022-03-11 04:07:02 +03:00
[[package]]
name = "num_threads"
version = "0.1.6"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44"
2022-03-11 04:07:02 +03:00
dependencies = [
"libc",
]
2019-02-11 21:49:47 +03:00
[[package]]
name = "numtoa"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
2019-02-11 21:49:47 +03:00
2019-10-21 19:55:52 +03:00
[[package]]
name = "objc"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"malloc_buf",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "objc-foundation"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"block",
"objc",
"objc_id",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "objc_id"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"objc",
2019-10-21 19:55:52 +03:00
]
2020-05-13 20:00:36 +03:00
[[package]]
name = "object"
version = "0.29.0"
2020-05-13 20:00:36 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53"
dependencies = [
"memchr",
]
2020-05-13 20:00:36 +03:00
[[package]]
name = "once_cell"
version = "1.13.0"
2020-02-03 02:22:18 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
2020-02-03 02:22:18 +03:00
[[package]]
name = "oorandom"
version = "11.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "opaque-debug"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]]
name = "openssl"
version = "0.10.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb81a6430ac911acb25fe5ac8f1d2af1b4ea8a4fdfda0f1ee4292af2e2d8eb0e"
dependencies = [
"bitflags",
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"foreign-types",
"libc",
"once_cell",
"openssl-macros",
2020-01-31 15:59:58 +03:00
"openssl-sys",
]
[[package]]
name = "openssl-macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "openssl-probe"
2022-03-11 04:07:02 +03:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
2019-08-14 20:57:50 +03:00
[[package]]
name = "openssl-src"
version = "111.22.0+1.1.1q"
2019-08-14 20:57:50 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f31f0d509d1c1ae9cada2f9539ff8f37933831fd5098879e482aa687d659853"
2019-08-14 20:57:50 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"cc",
2019-08-14 20:57:50 +03:00
]
[[package]]
name = "openssl-sys"
version = "0.9.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "835363342df5fba8354c5b453325b110ffd54044e588c539cf2f20a8014e4cb1"
dependencies = [
"autocfg",
2020-01-31 15:59:58 +03:00
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
[[package]]
name = "ordered-float"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96bcbab4bfea7a59c2c0fe47211a1ac4e3e96bea6eb446d704f310bc5c732ae2"
dependencies = [
"num-traits",
]
[[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"
2022-03-11 04:07:02 +03:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66"
dependencies = [
"winapi",
]
[[package]]
name = "parking_lot"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
"parking_lot_core",
]
[[package]]
name = "parking_lot_core"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
dependencies = [
"cfg-if 1.0.0",
"libc",
"redox_syscall 0.2.13",
"smallvec",
2022-03-11 04:07:02 +03:00
"windows-sys",
]
[[package]]
name = "paste"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc"
[[package]]
2020-01-14 21:07:19 +03:00
name = "percent-encoding"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
2019-10-04 16:47:08 +03:00
[[package]]
2020-01-14 21:07:19 +03:00
name = "petgraph"
2020-05-29 17:39:00 +03:00
version = "0.5.1"
2019-10-04 16:47:08 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-29 17:39:00 +03:00
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
2019-10-04 16:47:08 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"fixedbitset",
"indexmap",
2019-10-04 16:47:08 +03:00
]
2019-08-30 18:30:04 +03:00
[[package]]
2020-01-14 21:07:19 +03:00
name = "pin-project-lite"
version = "0.2.9"
2019-08-30 18:30:04 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
2019-08-30 18:30:04 +03:00
[[package]]
2020-01-14 21:07:19 +03:00
name = "pin-utils"
2020-04-23 20:53:50 +03:00
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-04-23 20:53:50 +03:00
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "pkg-config"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
[[package]]
name = "places"
version = "0.1.0"
dependencies = [
"anyhow",
"bitflags",
2020-01-31 15:59:58 +03:00
"caseless",
"dogear",
"env_logger 0.7.1",
2020-01-31 15:59:58 +03:00
"error-support",
"idna",
2020-04-24 00:35:06 +03:00
"interrupt-support",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"memchr",
"parking_lot",
2020-02-11 18:13:16 +03:00
"percent-encoding",
2020-01-31 15:59:58 +03:00
"pretty_assertions",
"rusqlite",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
"tempfile",
"thiserror",
"types",
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
]
[[package]]
name = "places-bench"
version = "0.1.0"
dependencies = [
"criterion",
"parking_lot",
"places",
"serde_json",
"sql-support",
"tempfile",
"types",
"url",
]
[[package]]
name = "places-integration-tests"
version = "0.1.0"
dependencies = [
"dogear",
"env_logger 0.7.1",
"parking_lot",
"places",
"rusqlite",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
"tempfile",
"types",
"url",
]
[[package]]
name = "plain"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
2020-02-03 02:22:18 +03:00
[[package]]
name = "plotters"
version = "0.3.2"
2020-02-03 02:22:18 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9428003b84df1496fb9d6eeee9c5f8145cb41ca375eb0dad204328888832811f"
2020-02-03 02:22:18 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"num-traits",
"plotters-backend",
"plotters-svg",
2020-01-31 15:59:58 +03:00
"wasm-bindgen",
"web-sys",
2020-02-03 02:22:18 +03:00
]
[[package]]
name = "plotters-backend"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142"
[[package]]
name = "plotters-svg"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0918736323d1baff32ee0eade54984f6f201ad7e97d5cfb5d6ab4a358529615"
dependencies = [
"plotters-backend",
]
[[package]]
name = "ppv-lite86"
2022-03-11 04:07:02 +03:00
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
[[package]]
name = "pretty_assertions"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427"
dependencies = [
"ansi_term 0.11.0",
2020-01-31 15:59:58 +03:00
"ctor",
"difference",
"output_vt100",
]
[[package]]
name = "prettytable-rs"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e"
dependencies = [
2020-01-31 15:59:58 +03:00
"atty",
"csv",
"encode_unicode",
"lazy_static",
2020-04-16 21:32:59 +03:00
"term 0.5.2",
2020-01-31 15:59:58 +03:00
"unicode-width",
]
2020-04-17 22:08:49 +03:00
[[package]]
name = "proc-macro-error"
version = "1.0.4"
2020-04-17 22:08:49 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
2020-04-17 22:08:49 +03:00
dependencies = [
2020-05-22 21:10:26 +03:00
"proc-macro-error-attr",
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
2020-03-13 22:53:20 +03:00
"version_check",
]
2020-04-17 22:08:49 +03:00
[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
2020-04-17 22:08:49 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
2020-04-17 22:08:49 +03:00
dependencies = [
"proc-macro2",
"quote",
"version_check",
]
[[package]]
name = "proc-macro2"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7"
dependencies = [
"unicode-ident",
]
[[package]]
name = "prost"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"prost-derive",
]
[[package]]
name = "prost-build"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603"
dependencies = [
"bytes",
"heck 0.3.3",
"itertools",
"log",
2020-01-31 15:59:58 +03:00
"multimap",
"petgraph",
"prost",
"prost-types",
"tempfile",
"which",
]
[[package]]
name = "prost-derive"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba"
dependencies = [
2020-01-31 15:59:58 +03:00
"anyhow",
"itertools",
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "prost-types"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"prost",
]
2020-04-08 22:26:45 +03:00
[[package]]
name = "protobuf-gen"
version = "0.1.0"
dependencies = [
"clap 2.34.0",
2020-04-08 22:26:45 +03:00
"prost-build",
"serde",
"serde_derive",
"toml",
]
[[package]]
name = "push"
version = "0.1.0"
dependencies = [
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"bincode",
Fix UAID and registration_id confusion in the push component. (#4605) There's one UAID and one registration_id per device, not per-subscription. Fixes #4575 * `uaid`, auth-key and `registration_id` are no longer stored in the database against each subscription, but instead stored in the `metadata` table, and thus assumed to be the same for all subscriptions. * If a `subscribe()` call returns a different UAID than we had previously, we consider all existing subscriptions dead - we delete all old subscriptions and the old UAID, then store the new subscription against the new UAID. * To help with managing the UAID correctly, the `ConnectHttp` object, which holds on to the UAID etc, is now short-lived - it only lives as long as one API call (whereas it previously lived for as long as the push manager). This means that the UAID persisted in the meta-data table is the canonical source of truth. * The "registration id" (think FCM token) is now ignored in the constructor (it should be removed ASAP, but it's there and ignored to avoid a breaking change. The only way to supply this is to call the `update()` method - but the component will persist this value. The end result is that, assuming we've ever called `update()` in the past, is that after startup we can still call `subscribe` before we've called `update()` as we will use the previous value. This means we can avoid some complexity in android-components where we have a complicated error prone dance to avoid constructing the component until FCM has initialized.
2021-10-29 05:13:27 +03:00
"env_logger 0.8.4",
"error-support",
2020-01-31 15:59:58 +03:00
"hex",
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"mockito",
"rc_crypto",
"rusqlite",
"serde",
"serde_derive",
"serde_json",
"sql-support",
Fix UAID and registration_id confusion in the push component. (#4605) There's one UAID and one registration_id per device, not per-subscription. Fixes #4575 * `uaid`, auth-key and `registration_id` are no longer stored in the database against each subscription, but instead stored in the `metadata` table, and thus assumed to be the same for all subscriptions. * If a `subscribe()` call returns a different UAID than we had previously, we consider all existing subscriptions dead - we delete all old subscriptions and the old UAID, then store the new subscription against the new UAID. * To help with managing the UAID correctly, the `ConnectHttp` object, which holds on to the UAID etc, is now short-lived - it only lives as long as one API call (whereas it previously lived for as long as the push manager). This means that the UAID persisted in the meta-data table is the canonical source of truth. * The "registration id" (think FCM token) is now ignored in the constructor (it should be removed ASAP, but it's there and ignored to avoid a breaking change. The only way to supply this is to call the `update()` method - but the component will persist this value. The end result is that, assuming we've ever called `update()` in the past, is that after startup we can still call `subscribe` before we've called `update()` as we will use the previous value. This means we can avoid some complexity in android-components where we have a complicated error prone dance to avoid constructing the component until FCM has initialized.
2021-10-29 05:13:27 +03:00
"tempfile",
"thiserror",
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
"viaduct",
"viaduct-reqwest",
]
[[package]]
name = "quick-error"
2020-01-03 17:35:09 +03:00
version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
[[package]]
name = "quote"
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
dependencies = [
2020-01-31 15:59:58 +03:00
"proc-macro2",
]
[[package]]
name = "radium"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
2022-03-11 04:07:02 +03:00
"rand_chacha",
"rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
2020-03-13 22:53:20 +03:00
"ppv-lite86",
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
dependencies = [
"getrandom 0.2.7",
]
[[package]]
name = "rand_rccrypto"
version = "0.1.0"
dependencies = [
"rand",
"rand_core",
"rc_crypto",
]
[[package]]
name = "rate-limiter"
version = "0.1.0"
2019-02-01 01:28:16 +03:00
[[package]]
name = "rayon"
version = "1.5.3"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d"
2019-02-01 01:28:16 +03:00
dependencies = [
"autocfg",
2020-01-31 15:59:58 +03:00
"crossbeam-deque",
"either",
"rayon-core",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "rayon-core"
version = "1.9.3"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f"
2019-02-01 01:28:16 +03:00
dependencies = [
"crossbeam-channel",
2020-01-31 15:59:58 +03:00
"crossbeam-deque",
"crossbeam-utils",
2020-01-31 15:59:58 +03:00
"num_cpus",
2019-02-01 01:28:16 +03:00
]
2019-07-09 21:00:48 +03:00
[[package]]
name = "rc_crypto"
version = "0.1.0"
dependencies = [
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"ece",
"error-support",
"hawk",
"hex",
"nss",
"thiserror",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "rc_log_ffi"
version = "0.1.0"
dependencies = [
2020-10-19 20:13:15 +03:00
"cfg-if 0.1.10",
"ffi-support",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
]
[[package]]
name = "redox_syscall"
2020-04-28 10:18:54 +03:00
version = "0.1.57"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-04-28 10:18:54 +03:00
checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
[[package]]
name = "redox_syscall"
version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
dependencies = [
"bitflags",
]
[[package]]
name = "redox_termios"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8440d8acb4fd3d277125b4bd01a6f38aee8d814b3b5fc09b3f2b825d37d3fe8f"
dependencies = [
"redox_syscall 0.2.13",
]
[[package]]
name = "redox_users"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
dependencies = [
"getrandom 0.1.16",
"redox_syscall 0.1.57",
2020-01-31 15:59:58 +03:00
"rust-argon2",
]
[[package]]
name = "redox_users"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
"getrandom 0.2.7",
"redox_syscall 0.2.13",
"thiserror",
]
[[package]]
name = "regex"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
dependencies = [
2020-01-31 15:59:58 +03:00
"aho-corasick",
"memchr",
"regex-syntax",
2019-07-08 20:47:55 +03:00
]
[[package]]
name = "regex-automata"
version = "0.1.10"
2019-07-08 20:47:55 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
[[package]]
name = "regex-syntax"
version = "0.6.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]]
name = "remove_dir_all"
2020-06-12 23:13:45 +03:00
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-06-12 23:13:45 +03:00
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
dependencies = [
"winapi",
]
[[package]]
name = "reqwest"
version = "0.11.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b75aa69a3f06bbcc66ede33af2af253c6f7a86b1ca0033f60c580a27074fbf92"
2020-01-31 15:59:58 +03:00
dependencies = [
"base64 0.13.0",
"bytes",
2020-01-31 15:59:58 +03:00
"encoding_rs",
"futures-core",
"futures-util",
2022-03-11 04:07:02 +03:00
"h2",
2020-01-31 15:59:58 +03:00
"http",
"http-body",
"hyper",
"hyper-tls",
"ipnet",
2020-01-31 15:59:58 +03:00
"js-sys",
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"mime",
"native-tls",
2020-02-11 18:13:16 +03:00
"percent-encoding",
"pin-project-lite",
2020-01-31 15:59:58 +03:00
"serde",
"serde_json",
"serde_urlencoded",
2020-01-31 15:59:58 +03:00
"tokio",
"tokio-native-tls",
"tower-service",
2020-01-31 15:59:58 +03:00
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"winreg",
]
2020-07-02 22:21:51 +03:00
[[package]]
name = "restmail-client"
version = "0.1.0"
dependencies = [
"log",
2020-07-02 22:21:51 +03:00
"serde_json",
"thiserror",
"url",
"viaduct",
]
[[package]]
name = "rkv"
version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6006704273063c72952370ad236b8d58556dcc4f99a95ced4d9ad40f3e80a69"
dependencies = [
"arrayref",
"bincode",
"bitflags",
"byteorder",
"id-arena",
"lazy_static",
"lmdb-rkv",
"log",
"ordered-float",
"paste",
"serde",
"serde_derive",
2021-01-25 14:26:24 +03:00
"thiserror",
"url",
"uuid",
]
[[package]]
name = "rusqlite"
2022-12-08 07:01:25 +03:00
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-12-08 07:01:25 +03:00
checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a"
dependencies = [
"bitflags",
2020-01-31 15:59:58 +03:00
"fallible-iterator",
"fallible-streaming-iterator",
"hashlink",
2020-01-31 15:59:58 +03:00
"libsqlite3-sys",
"serde_json",
"smallvec",
]
2019-08-20 20:22:03 +03:00
[[package]]
name = "rust-argon2"
version = "0.8.3"
2019-08-20 20:22:03 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
2019-08-20 20:22:03 +03:00
dependencies = [
"base64 0.13.0",
2020-01-31 15:59:58 +03:00
"blake2b_simd",
"constant_time_eq",
"crossbeam-utils",
2019-08-20 20:22:03 +03:00
]
[[package]]
name = "rustc-demangle"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
[[package]]
name = "rustc_version"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
dependencies = [
"semver 0.9.0",
]
[[package]]
name = "rustc_version"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
"semver 1.0.12",
]
[[package]]
name = "ryu"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
2019-02-01 01:28:16 +03:00
[[package]]
name = "same-file"
2020-01-13 20:43:18 +03:00
version = "1.0.6"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"winapi-util",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "schannel"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2"
dependencies = [
2020-01-31 15:59:58 +03:00
"lazy_static",
"windows-sys",
]
2019-07-08 20:47:55 +03:00
[[package]]
name = "scopeguard"
2020-02-25 18:14:15 +03:00
version = "1.1.0"
2019-07-08 20:47:55 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-02-25 18:14:15 +03:00
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
2019-07-08 20:47:55 +03:00
[[package]]
name = "scroll"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04c565b551bafbef4157586fa379538366e4385d42082f255bfd96e4fe8519da"
dependencies = [
"scroll_derive",
]
[[package]]
name = "scroll_derive"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdbda6ac5cd1321e724fa9cee216f3a61885889b896f073b8f82322789c5250e"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "security-framework"
2022-03-11 04:07:02 +03:00
version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "2dc14f172faf8a0194a3aded622712b0de276821addc574fa54fc0a1167e10dc"
dependencies = [
"bitflags",
2020-01-31 15:59:58 +03:00
"core-foundation",
"core-foundation-sys",
2020-04-17 22:08:49 +03:00
"libc",
2020-01-31 15:59:58 +03:00
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
2022-03-11 04:07:02 +03:00
version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556"
dependencies = [
2020-01-31 15:59:58 +03:00
"core-foundation-sys",
2020-03-06 20:50:18 +03:00
"libc",
]
[[package]]
name = "semver"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
dependencies = [
"semver-parser",
]
[[package]]
name = "semver"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2333e6df6d6598f2b1974829f853c2b4c5f4a6e503c10af918081aa6f8564e1"
dependencies = [
"serde",
]
[[package]]
name = "semver-parser"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]]
name = "serde"
version = "1.0.138"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1578c6245786b9d168c5447eeacfb96856573ca56c9d68fdcf394be134882a47"
2019-05-29 19:47:40 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"serde_derive",
2019-05-29 19:47:40 +03:00
]
[[package]]
name = "serde_cbor"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5"
dependencies = [
"half",
"serde",
]
[[package]]
name = "serde_derive"
version = "1.0.138"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "023e9b1467aef8a10fb88f25611870ada9800ef7e22afce356bb0d2387b6f27c"
dependencies = [
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "serde_json"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7"
dependencies = [
"itoa 1.0.2",
2020-01-31 15:59:58 +03:00
"ryu",
"serde",
]
[[package]]
name = "serde_test"
version = "1.0.138"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "844df772d885b3e52fddb7af284b402628e57a6b2e8eeda89816692c45317db9"
dependencies = [
2020-01-31 15:59:58 +03:00
"serde",
]
[[package]]
name = "serde_urlencoded"
2022-03-11 04:07:02 +03:00
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
dependencies = [
"form_urlencoded",
"itoa 1.0.2",
"ryu",
"serde",
]
[[package]]
name = "serde_yaml"
version = "0.8.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc"
dependencies = [
"indexmap",
"ryu",
"serde",
"yaml-rust 0.4.5",
]
[[package]]
name = "sha2"
2022-03-11 04:07:02 +03:00
version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
dependencies = [
"block-buffer",
"cfg-if 1.0.0",
"cpufeatures",
"digest",
"opaque-debug",
]
[[package]]
name = "similar"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e24979f63a11545f5f2c60141afe249d4f19f84581ea2138065e400941d83d3"
[[package]]
name = "slab"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32"
[[package]]
name = "smallbitvec"
version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75ce4f9dc4a41b4c3476cc925f1efb11b66df373a8fde5d4b8915fa91b5d995e"
2019-11-27 19:23:55 +03:00
[[package]]
name = "smallvec"
version = "1.9.0"
2019-11-27 19:23:55 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
2019-11-27 19:23:55 +03:00
[[package]]
name = "smawk"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043"
2020-06-05 18:33:57 +03:00
[[package]]
name = "socket2"
2022-03-11 04:07:02 +03:00
version = "0.4.4"
2020-06-05 18:33:57 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
2020-06-05 18:33:57 +03:00
dependencies = [
"libc",
"winapi",
2020-06-05 18:33:57 +03:00
]
[[package]]
name = "sql-support"
version = "0.1.0"
dependencies = [
"env_logger 0.7.1",
"ffi-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
"nss_build_common",
2020-01-31 15:59:58 +03:00
"rusqlite",
"tempfile",
"thiserror",
]
2021-02-24 23:32:25 +03:00
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "strsim"
2019-03-27 00:35:50 +03:00
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "structopt"
2022-03-11 04:07:02 +03:00
version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
dependencies = [
"clap 2.34.0",
2020-01-31 15:59:58 +03:00
"lazy_static",
"structopt-derive",
]
[[package]]
name = "structopt-derive"
version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
dependencies = [
"heck 0.3.3",
2020-05-22 21:10:26 +03:00
"proc-macro-error",
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "syn"
version = "1.0.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd"
dependencies = [
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "sync-guid"
version = "0.1.0"
dependencies = [
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
"rand",
2020-01-31 15:59:58 +03:00
"rusqlite",
"serde",
"serde_test",
]
[[package]]
name = "sync15"
version = "0.1.0"
dependencies = [
"anyhow",
2020-01-31 15:59:58 +03:00
"base16",
2022-06-06 03:57:17 +03:00
"base64 0.13.0",
"env_logger 0.7.1",
2020-01-31 15:59:58 +03:00
"error-support",
"ffi-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"rc_crypto",
"serde",
"serde_derive",
"serde_json",
"sync-guid",
"thiserror",
2020-01-31 15:59:58 +03:00
"url",
"viaduct",
]
[[package]]
name = "sync_manager"
version = "0.1.0"
dependencies = [
"anyhow",
"autofill",
"error-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
2020-01-31 15:59:58 +03:00
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"logins",
"parking_lot",
2020-01-31 15:59:58 +03:00
"places",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"sync15",
"tabs",
"thiserror",
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
]
2020-04-16 21:32:59 +03:00
[[package]]
name = "systest"
version = "0.1.0"
dependencies = [
"ctest2",
2020-04-16 21:32:59 +03:00
"libc",
"nss_sys",
]
2019-10-21 19:55:52 +03:00
[[package]]
name = "tabs"
version = "0.1.0"
dependencies = [
"anyhow",
"env_logger 0.8.4",
2020-01-31 15:59:58 +03:00
"error-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
"lazy_static",
"log",
"rusqlite",
2020-01-31 15:59:58 +03:00
"serde",
"serde_derive",
"serde_json",
"sql-support",
2020-01-31 15:59:58 +03:00
"sync-guid",
"sync15",
"tempfile",
"thiserror",
"uniffi",
"uniffi_build",
"uniffi_macros",
2020-01-31 15:59:58 +03:00
"url",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "tap"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "tempfile"
2022-03-11 04:07:02 +03:00
version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
dependencies = [
"cfg-if 1.0.0",
2022-03-11 04:07:02 +03:00
"fastrand",
2020-01-31 15:59:58 +03:00
"libc",
"redox_syscall 0.2.13",
2020-01-31 15:59:58 +03:00
"remove_dir_all",
"winapi",
]
2020-04-16 21:32:59 +03:00
[[package]]
name = "term"
version = "0.5.2"
2020-04-16 21:32:59 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
2020-04-16 21:32:59 +03:00
dependencies = [
"byteorder",
"dirs 1.0.5",
"winapi",
2020-04-16 21:32:59 +03:00
]
[[package]]
name = "term"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5"
dependencies = [
"dirs 2.0.2",
"winapi",
]
[[package]]
name = "termcolor"
2022-03-11 04:07:02 +03:00
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
dependencies = [
2020-01-31 15:59:58 +03:00
"winapi-util",
]
2020-05-05 19:44:26 +03:00
[[package]]
name = "terminal_size"
version = "0.1.17"
2020-05-05 19:44:26 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
2020-05-05 19:44:26 +03:00
dependencies = [
"libc",
"winapi",
2020-05-05 19:44:26 +03:00
]
[[package]]
name = "termion"
version = "1.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e"
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
"numtoa",
"redox_syscall 0.2.13",
2020-01-31 15:59:58 +03:00
"redox_termios",
]
2019-02-11 21:49:47 +03:00
[[package]]
name = "termios"
2020-10-19 20:13:15 +03:00
version = "0.3.3"
2019-02-11 21:49:47 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-10-19 20:13:15 +03:00
checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b"
2019-02-11 21:49:47 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
2019-02-11 21:49:47 +03:00
]
[[package]]
name = "textwrap"
2019-03-27 00:35:50 +03:00
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
2020-01-31 15:59:58 +03:00
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
dependencies = [
"smawk",
"unicode-linebreak",
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
[[package]]
name = "thiserror"
version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "time"
2022-03-11 04:07:02 +03:00
version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
2022-03-11 04:07:02 +03:00
"wasi 0.10.0+wasi-snapshot-preview1",
"winapi",
]
[[package]]
name = "time"
version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72c91f41dcb2f096c05f0873d667dceec1087ce5bcf984ec8ffb19acddbb3217"
dependencies = [
"libc",
2022-03-11 04:07:02 +03:00
"num_threads",
"time-macros",
]
[[package]]
name = "time-macros"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792"
2019-02-01 01:28:16 +03:00
[[package]]
name = "tinytemplate"
version = "1.2.1"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"serde",
"serde_json",
2019-02-01 01:28:16 +03:00
]
2020-06-18 18:53:03 +03:00
[[package]]
name = "tinyvec"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
dependencies = [
"tinyvec_macros",
]
[[package]]
name = "tinyvec_macros"
version = "0.1.0"
2020-06-18 18:53:03 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
2020-06-18 18:53:03 +03:00
[[package]]
name = "tokio"
version = "1.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439"
dependencies = [
"bytes",
"libc",
2020-01-31 15:59:58 +03:00
"memchr",
"mio",
"num_cpus",
"once_cell",
"pin-project-lite",
2022-03-11 04:07:02 +03:00
"socket2",
"winapi",
]
[[package]]
name = "tokio-native-tls"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
dependencies = [
2020-01-31 15:59:58 +03:00
"native-tls",
"tokio",
]
[[package]]
2020-01-14 21:07:19 +03:00
name = "tokio-util"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45"
dependencies = [
"bytes",
2020-01-31 15:59:58 +03:00
"futures-core",
"futures-sink",
"pin-project-lite",
2020-01-31 15:59:58 +03:00
"tokio",
"tracing",
]
Bookmark APIs for iOS and Kotlin and implement them using the FFI (#743) * Define conversions to/from protobuf types * Define bookmark message types * Add method of getting 'shallow' tree info * Properly provide parent/position for items * Add the rust side of the Bookmarks FFI * Kotlin bookmarks FFI * Copy xcode project over from logins to start places ios ffi * places ios: C bindings for places * protobuf setup for places ios (and docs) * Fix some things that were annoying me about BookmarkRootGuid, and move it to it's own file * Add a bookmarks FFI function to return all bookmarks with the requested URL * Clean up leftover logins stuff in places ios * Implement swift bookmarks API * Fix bad comment and missing null check in kotlin bookmarks * Try and add places to the iOS megazord (hit issue with msg_types name collision) * Rename msg_types to be unique, finish integration with iOS megazord * Finish documenting how to pass protobuf data back and forth for swift * Comment tweak and change canEdit -> isRoot * Small tweaks to the swift API (some renaming, change class => struct, etc) * Don't require type in update (since it can't be changed), and handle errors better * Undo struct -> class change since it subtly broke things * Respond to feedback from justin * Allow requesting a only the first level of folder children * connUseAfterApiClosed -> connUseAfterAPIClosed * WIP iOS tests * Make iOS tests build * Improve path handling for iOS * Fix megazord test setup and document the weird testing steps that were needed * Fix failing iOS tests * Move protobuf-returning functions into their own file * Add searchBookmarks function * Use a sealed class and data classes in the kotlin API * Require that callers of getBookmarksTree pass in the root and whether or not to fetch recursively, rather than using the most expensive possible default * rename deleteBookmark => deleteBookmarkNode * Use InterruptScope in the reader bookmark methods * Fix rebase issue * Allow interrupt() on iOS * Use changes from #788 to make places xcode project build much faster * Change `extern` to `public`, use fewer protobuf types in the rust because they make testing it painful * More tests of new rust code * Expose relevant errors over the FFI, and document them (also, fix the kotlin doc formatting) * fix 'its' being wrong basically everywhere * Fix many doc typos * Use FfiStr in bookmarks * Fix doc nit * Make missing titles come through as '' for better API consistency * Tests for the rest of the new rust functions * Clarify doc nit * Changelog entry for bookmark ffi * Expose runMaintenance to Swift * Handle NoItem => NoSuchGuid * Rename places::storage::bookmarks::public to places::storage::bookmarks::public_node * Lina's review feedback
2019-03-19 18:41:19 +03:00
[[package]]
2019-07-09 21:00:48 +03:00
name = "toml"
version = "0.5.9"
Bookmark APIs for iOS and Kotlin and implement them using the FFI (#743) * Define conversions to/from protobuf types * Define bookmark message types * Add method of getting 'shallow' tree info * Properly provide parent/position for items * Add the rust side of the Bookmarks FFI * Kotlin bookmarks FFI * Copy xcode project over from logins to start places ios ffi * places ios: C bindings for places * protobuf setup for places ios (and docs) * Fix some things that were annoying me about BookmarkRootGuid, and move it to it's own file * Add a bookmarks FFI function to return all bookmarks with the requested URL * Clean up leftover logins stuff in places ios * Implement swift bookmarks API * Fix bad comment and missing null check in kotlin bookmarks * Try and add places to the iOS megazord (hit issue with msg_types name collision) * Rename msg_types to be unique, finish integration with iOS megazord * Finish documenting how to pass protobuf data back and forth for swift * Comment tweak and change canEdit -> isRoot * Small tweaks to the swift API (some renaming, change class => struct, etc) * Don't require type in update (since it can't be changed), and handle errors better * Undo struct -> class change since it subtly broke things * Respond to feedback from justin * Allow requesting a only the first level of folder children * connUseAfterApiClosed -> connUseAfterAPIClosed * WIP iOS tests * Make iOS tests build * Improve path handling for iOS * Fix megazord test setup and document the weird testing steps that were needed * Fix failing iOS tests * Move protobuf-returning functions into their own file * Add searchBookmarks function * Use a sealed class and data classes in the kotlin API * Require that callers of getBookmarksTree pass in the root and whether or not to fetch recursively, rather than using the most expensive possible default * rename deleteBookmark => deleteBookmarkNode * Use InterruptScope in the reader bookmark methods * Fix rebase issue * Allow interrupt() on iOS * Use changes from #788 to make places xcode project build much faster * Change `extern` to `public`, use fewer protobuf types in the rust because they make testing it painful * More tests of new rust code * Expose relevant errors over the FFI, and document them (also, fix the kotlin doc formatting) * fix 'its' being wrong basically everywhere * Fix many doc typos * Use FfiStr in bookmarks * Fix doc nit * Make missing titles come through as '' for better API consistency * Tests for the rest of the new rust functions * Clarify doc nit * Changelog entry for bookmark ffi * Expose runMaintenance to Swift * Handle NoItem => NoSuchGuid * Rename places::storage::bookmarks::public to places::storage::bookmarks::public_node * Lina's review feedback
2019-03-19 18:41:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7"
Bookmark APIs for iOS and Kotlin and implement them using the FFI (#743) * Define conversions to/from protobuf types * Define bookmark message types * Add method of getting 'shallow' tree info * Properly provide parent/position for items * Add the rust side of the Bookmarks FFI * Kotlin bookmarks FFI * Copy xcode project over from logins to start places ios ffi * places ios: C bindings for places * protobuf setup for places ios (and docs) * Fix some things that were annoying me about BookmarkRootGuid, and move it to it's own file * Add a bookmarks FFI function to return all bookmarks with the requested URL * Clean up leftover logins stuff in places ios * Implement swift bookmarks API * Fix bad comment and missing null check in kotlin bookmarks * Try and add places to the iOS megazord (hit issue with msg_types name collision) * Rename msg_types to be unique, finish integration with iOS megazord * Finish documenting how to pass protobuf data back and forth for swift * Comment tweak and change canEdit -> isRoot * Small tweaks to the swift API (some renaming, change class => struct, etc) * Don't require type in update (since it can't be changed), and handle errors better * Undo struct -> class change since it subtly broke things * Respond to feedback from justin * Allow requesting a only the first level of folder children * connUseAfterApiClosed -> connUseAfterAPIClosed * WIP iOS tests * Make iOS tests build * Improve path handling for iOS * Fix megazord test setup and document the weird testing steps that were needed * Fix failing iOS tests * Move protobuf-returning functions into their own file * Add searchBookmarks function * Use a sealed class and data classes in the kotlin API * Require that callers of getBookmarksTree pass in the root and whether or not to fetch recursively, rather than using the most expensive possible default * rename deleteBookmark => deleteBookmarkNode * Use InterruptScope in the reader bookmark methods * Fix rebase issue * Allow interrupt() on iOS * Use changes from #788 to make places xcode project build much faster * Change `extern` to `public`, use fewer protobuf types in the rust because they make testing it painful * More tests of new rust code * Expose relevant errors over the FFI, and document them (also, fix the kotlin doc formatting) * fix 'its' being wrong basically everywhere * Fix many doc typos * Use FfiStr in bookmarks * Fix doc nit * Make missing titles come through as '' for better API consistency * Tests for the rest of the new rust functions * Clarify doc nit * Changelog entry for bookmark ffi * Expose runMaintenance to Swift * Handle NoItem => NoSuchGuid * Rename places::storage::bookmarks::public to places::storage::bookmarks::public_node * Lina's review feedback
2019-03-19 18:41:19 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"serde",
Bookmark APIs for iOS and Kotlin and implement them using the FFI (#743) * Define conversions to/from protobuf types * Define bookmark message types * Add method of getting 'shallow' tree info * Properly provide parent/position for items * Add the rust side of the Bookmarks FFI * Kotlin bookmarks FFI * Copy xcode project over from logins to start places ios ffi * places ios: C bindings for places * protobuf setup for places ios (and docs) * Fix some things that were annoying me about BookmarkRootGuid, and move it to it's own file * Add a bookmarks FFI function to return all bookmarks with the requested URL * Clean up leftover logins stuff in places ios * Implement swift bookmarks API * Fix bad comment and missing null check in kotlin bookmarks * Try and add places to the iOS megazord (hit issue with msg_types name collision) * Rename msg_types to be unique, finish integration with iOS megazord * Finish documenting how to pass protobuf data back and forth for swift * Comment tweak and change canEdit -> isRoot * Small tweaks to the swift API (some renaming, change class => struct, etc) * Don't require type in update (since it can't be changed), and handle errors better * Undo struct -> class change since it subtly broke things * Respond to feedback from justin * Allow requesting a only the first level of folder children * connUseAfterApiClosed -> connUseAfterAPIClosed * WIP iOS tests * Make iOS tests build * Improve path handling for iOS * Fix megazord test setup and document the weird testing steps that were needed * Fix failing iOS tests * Move protobuf-returning functions into their own file * Add searchBookmarks function * Use a sealed class and data classes in the kotlin API * Require that callers of getBookmarksTree pass in the root and whether or not to fetch recursively, rather than using the most expensive possible default * rename deleteBookmark => deleteBookmarkNode * Use InterruptScope in the reader bookmark methods * Fix rebase issue * Allow interrupt() on iOS * Use changes from #788 to make places xcode project build much faster * Change `extern` to `public`, use fewer protobuf types in the rust because they make testing it painful * More tests of new rust code * Expose relevant errors over the FFI, and document them (also, fix the kotlin doc formatting) * fix 'its' being wrong basically everywhere * Fix many doc typos * Use FfiStr in bookmarks * Fix doc nit * Make missing titles come through as '' for better API consistency * Tests for the rest of the new rust functions * Clarify doc nit * Changelog entry for bookmark ffi * Expose runMaintenance to Swift * Handle NoItem => NoSuchGuid * Rename places::storage::bookmarks::public to places::storage::bookmarks::public_node * Lina's review feedback
2019-03-19 18:41:19 +03:00
]
[[package]]
2020-01-14 21:07:19 +03:00
name = "tower-service"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
2020-07-17 20:55:39 +03:00
[[package]]
name = "tracing"
version = "0.1.35"
2020-07-17 20:55:39 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
2020-07-17 20:55:39 +03:00
dependencies = [
"cfg-if 1.0.0",
"pin-project-lite",
2020-07-17 20:55:39 +03:00
"tracing-core",
]
[[package]]
name = "tracing-core"
version = "0.1.28"
2020-07-17 20:55:39 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b7358be39f2f274f322d2aaed611acc57f382e8eb1e5b48cb9ae30933495ce7"
2020-07-17 20:55:39 +03:00
dependencies = [
"once_cell",
2020-07-17 20:55:39 +03:00
]
2019-03-27 00:35:50 +03:00
[[package]]
2020-01-14 21:07:19 +03:00
name = "try-lock"
2020-04-28 10:18:54 +03:00
version = "0.2.3"
2019-03-27 00:35:50 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-04-28 10:18:54 +03:00
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
2019-03-27 00:35:50 +03:00
[[package]]
name = "typenum"
2022-03-11 04:07:02 +03:00
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
2020-09-19 01:49:22 +03:00
[[package]]
name = "types"
version = "0.1.0"
dependencies = [
"rusqlite",
"serde",
"serde_derive",
"serde_json",
]
[[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-bidi"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
[[package]]
name = "unicode-ident"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c"
[[package]]
name = "unicode-linebreak"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a52dcaab0c48d931f7cc8ef826fa51690a08e1ea55117ef26f89864f532383f"
dependencies = [
"regex",
]
[[package]]
name = "unicode-normalization"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6"
2019-02-06 21:36:13 +03:00
dependencies = [
2020-06-18 18:53:03 +03:00
"tinyvec",
2019-02-06 21:36:13 +03:00
]
[[package]]
name = "unicode-segmentation"
2022-03-11 04:07:02 +03:00
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
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.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
[[package]]
name = "uniffi"
2022-10-15 00:23:55 +03:00
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-10-15 00:23:55 +03:00
checksum = "f54af5ada67d1173457a99a7bb44a7917f63e7466764cb4714865c7a6678b830"
dependencies = [
"anyhow",
"bytes",
"camino",
"cargo_metadata",
"log",
"once_cell",
"paste",
2021-02-24 23:32:25 +03:00
"static_assertions",
"uniffi_macros",
]
[[package]]
name = "uniffi_bindgen"
2022-10-15 00:23:55 +03:00
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-10-15 00:23:55 +03:00
checksum = "12cc4af3c0180c7e86c4a3acf2b6587af04ba2567b1e948993df10f421796621"
dependencies = [
"anyhow",
"askama 0.11.1",
"bincode",
"camino",
"clap 3.2.8",
"fs-err",
"goblin",
"heck 0.4.0",
"once_cell",
"paste",
"serde",
"serde_json",
"toml",
"uniffi_meta",
"weedle2",
]
[[package]]
name = "uniffi_build"
2022-10-15 00:23:55 +03:00
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-10-15 00:23:55 +03:00
checksum = "510287c368a9386eb731ebe824a6fc6c82a105e20d020af1aa20519c1c1561db"
dependencies = [
"anyhow",
"camino",
"uniffi_bindgen",
]
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
[[package]]
name = "uniffi_macros"
2022-10-15 00:23:55 +03:00
version = "0.21.0"
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-10-15 00:23:55 +03:00
checksum = "5c8604503caa2cbcf271578dc51ca236d40e3b22e1514ffa2e638e2c39f6ad10"
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
dependencies = [
"bincode",
"camino",
"fs-err",
"once_cell",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
"proc-macro2",
"quote",
"serde",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
"syn",
"toml",
2021-11-25 04:00:46 +03:00
"uniffi_build",
"uniffi_meta",
]
[[package]]
name = "uniffi_meta"
2022-10-15 00:23:55 +03:00
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-10-15 00:23:55 +03:00
checksum = "cd9417cc653937681436b93838d8c5f97a5b8c58697813982ee8810bd1dc3b57"
dependencies = [
"serde",
Restructure, UniFFI, and document the fxa-client crate. (#3876) This is a substantial refactor of the fxa-client crate, intended to bring it up to speed with our latest best-practices around developing cross-platform Rust components, in order to ease ongoing maintenance. THe core change here is that I've deleted the hand-written Kotlin and Swift bindings, replacing them with autogenerated bindings thanks to UniFFI. There is still a little bit of hand-written Kotlin, since we have a layer that automatically manages persistence via a callback. There is still a nontrivial amount of hand-written Swift, since we have a higher-level state machine built atop the lower-level fxa-client functionality (such state-machine also exists for Kotlin, but lives in the android-components repo). If UniFFI works out then we should look into moving more of that logic into shared Rust code over time. To support the introduction of UniFFI, I have restructured to Rust crate so that its public interface deliberately parallels the interface offered to Kotlin and Swift, and have moved the implementation details into a submodule named `internal`. It's my opinionated belief that structuring the crate this way will help us focus on producing a nice consumer API, which is not always the same thing as producing a nice Rust crate. On top of that, I've also revamped the documentation in the crate, leaning in to the use of `cargo doc` as the source of truth for both developer- and consumer-facing documentation. Let's consider that an experiment and see how we like it in practice. Unfortunately, this is a big PR, but I don't think I could have made it too much smaller. Hopefully it will be easier to review than its size suggests since it's mostly additions and deletions rather than complex changes.
2021-03-09 14:34:58 +03:00
]
2019-08-30 18:30:04 +03:00
[[package]]
name = "url"
version = "2.2.2"
2019-08-30 18:30:04 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
2019-08-30 18:30:04 +03:00
dependencies = [
"form_urlencoded",
2020-01-31 15:59:58 +03:00
"idna",
"matches",
2020-02-11 18:13:16 +03:00
"percent-encoding",
2020-01-31 15:59:58 +03:00
"serde",
]
[[package]]
name = "uuid"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
dependencies = [
"getrandom 0.2.7",
"serde",
]
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "vec_map"
2020-05-08 23:54:12 +03:00
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-08 23:54:12 +03:00
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
2019-11-18 18:52:15 +03:00
[[package]]
name = "version_check"
2022-03-11 04:07:02 +03:00
version = "0.9.4"
2019-11-18 18:52:15 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
2019-11-18 18:52:15 +03:00
2019-03-22 00:05:11 +03:00
[[package]]
name = "viaduct"
version = "0.1.0"
dependencies = [
"ffi-support",
"log",
"once_cell",
"parking_lot",
2020-01-31 15:59:58 +03:00
"prost",
"prost-derive",
"serde",
"serde_json",
"thiserror",
2020-01-31 15:59:58 +03:00
"url",
2019-03-22 00:05:11 +03:00
]
[[package]]
name = "viaduct-reqwest"
version = "0.2.0"
dependencies = [
"ffi-support",
"log",
"once_cell",
"reqwest",
"viaduct",
]
2019-02-01 01:28:16 +03:00
[[package]]
name = "walkdir"
version = "2.3.2"
2019-02-01 01:28:16 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
2019-02-01 01:28:16 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"same-file",
"winapi",
2020-01-31 15:59:58 +03:00
"winapi-util",
2019-02-01 01:28:16 +03:00
]
[[package]]
name = "want"
2020-01-14 21:07:19 +03:00
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
dependencies = [
"log",
2020-01-31 15:59:58 +03:00
"try-lock",
]
2019-08-20 20:22:03 +03:00
[[package]]
name = "wasi"
2020-01-10 22:48:27 +03:00
version = "0.9.0+wasi-snapshot-preview1"
2019-08-20 20:22:03 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
2019-08-20 20:22:03 +03:00
[[package]]
name = "wasi"
2022-03-11 04:07:02 +03:00
version = "0.10.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-03-11 04:07:02 +03:00
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994"
dependencies = [
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a"
dependencies = [
2020-01-31 15:59:58 +03:00
"bumpalo",
"lazy_static",
"log",
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-shared",
]
2020-01-14 21:07:19 +03:00
[[package]]
name = "wasm-bindgen-futures"
version = "0.4.31"
2020-01-14 21:07:19 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de9a9cec1733468a8c657e57fa2413d2ae2c0129b95e87c5b72b8ace4d13f31f"
2020-01-14 21:07:19 +03:00
dependencies = [
"cfg-if 1.0.0",
2020-01-31 15:59:58 +03:00
"js-sys",
"wasm-bindgen",
"web-sys",
2020-01-14 21:07:19 +03:00
]
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa"
dependencies = [
2020-01-31 15:59:58 +03:00
"quote",
"wasm-bindgen-macro-support",
]
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048"
dependencies = [
2020-01-31 15:59:58 +03:00
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be"
[[package]]
name = "web-sys"
version = "0.3.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fed94beee57daf8dd7d51f2b15dc2bcde92d7a72304cdf662a4371008b71b90"
dependencies = [
2020-01-31 15:59:58 +03:00
"js-sys",
"wasm-bindgen",
]
[[package]]
name = "webbrowser"
version = "0.5.5"
2019-02-11 21:49:47 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecad156490d6b620308ed411cfee90d280b3cbd13e189ea0d3fada8acc89158a"
2019-02-11 21:49:47 +03:00
dependencies = [
"web-sys",
2020-01-31 15:59:58 +03:00
"widestring",
"winapi",
2019-02-11 21:49:47 +03:00
]
[[package]]
name = "webext-storage"
version = "0.1.0"
dependencies = [
"env_logger 0.7.1",
"error-support",
"ffi-support",
2020-04-24 00:35:06 +03:00
"interrupt-support",
"lazy_static",
"libsqlite3-sys",
"log",
"nss_build_common",
"prettytable-rs",
"rusqlite",
"serde",
"serde_derive",
"serde_json",
"sql-support",
"sync-guid",
"sync15",
"tempfile",
"thiserror",
"url",
]
2020-04-28 10:18:54 +03:00
[[package]]
name = "webext-storage-ffi"
version = "0.1.0"
dependencies = [
"ffi-support",
2020-04-28 10:18:54 +03:00
"lazy_static",
"log",
2020-04-28 10:18:54 +03:00
"serde_json",
"webext-storage",
]
[[package]]
name = "weedle2"
version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e79c5206e1f43a2306fd64bdb95025ee4228960f2e6c5a8b173f3caaf807741"
dependencies = [
"nom 7.1.1",
]
2019-09-25 21:39:53 +03:00
[[package]]
name = "which"
version = "4.2.5"
2019-09-25 21:39:53 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
2019-09-25 21:39:53 +03:00
dependencies = [
"either",
"lazy_static",
2020-01-31 15:59:58 +03:00
"libc",
2019-09-25 21:39:53 +03:00
]
2019-02-11 21:49:47 +03:00
[[package]]
name = "widestring"
2020-10-05 17:22:12 +03:00
version = "0.4.3"
2019-02-11 21:49:47 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-10-05 17:22:12 +03:00
checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c"
2019-02-11 21:49:47 +03:00
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
2020-01-31 15:59:58 +03:00
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
2020-04-23 20:53:50 +03:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-04-23 20:53:50 +03:00
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
dependencies = [
"winapi",
]
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2022-03-11 04:07:02 +03:00
[[package]]
name = "windows-sys"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
2022-03-11 04:07:02 +03:00
dependencies = [
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_msvc",
]
[[package]]
name = "windows_aarch64_msvc"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
2022-03-11 04:07:02 +03:00
[[package]]
name = "windows_i686_gnu"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
2022-03-11 04:07:02 +03:00
[[package]]
name = "windows_i686_msvc"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
2022-03-11 04:07:02 +03:00
[[package]]
name = "windows_x86_64_gnu"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
2022-03-11 04:07:02 +03:00
[[package]]
name = "windows_x86_64_msvc"
version = "0.36.1"
2022-03-11 04:07:02 +03:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
2022-03-11 04:07:02 +03:00
[[package]]
name = "winreg"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"
dependencies = [
"winapi",
]
[[package]]
name = "wyz"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
2019-10-21 19:55:52 +03:00
[[package]]
name = "x11-clipboard"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "89bd49c06c9eb5d98e6ba6536cf64ac9f7ee3a009b2f53996d405b3944f6bcea"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"xcb",
2019-10-21 19:55:52 +03:00
]
[[package]]
name = "xcb"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-01-31 15:59:58 +03:00
checksum = "5e917a3f24142e9ff8be2414e36c649d47d6cc2ba81f16201cdef96e533e02de"
2019-10-21 19:55:52 +03:00
dependencies = [
2020-01-31 15:59:58 +03:00
"libc",
"log",
2020-01-31 15:59:58 +03:00
]
[[package]]
name = "xshell"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d47097dc5c85234b1e41851b3422dd6d19b3befdd35b4ae5ce386724aeca981"
dependencies = [
"xshell-macros",
]
[[package]]
name = "xshell-macros"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88301b56c26dd9bf5c43d858538f82d6f3f7764767defbc5d34e59459901c41a"
[[package]]
name = "xshell-venv"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f43c2e9236bfd40d392b5ef2c073ef2719f7c69a758293cec4d8eff909a8917c"
dependencies = [
"xshell",
]
[[package]]
name = "yaml-rust"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"
[[package]]
name = "yaml-rust"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
dependencies = [
"linked-hash-map",
]