Merge pull request #2894 from mozilla/ffi-support-crates-io

Use ffi-support from crates.io
This commit is contained in:
Thom Chiovoloni 2020-04-01 09:54:23 -07:00 коммит произвёл GitHub
Родитель e9f2989353 37c001daa5
Коммит 120e51dd5f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
26 изменённых файлов: 65 добавлений и 40 удалений

46
Cargo.lock сгенерированный
Просмотреть файл

@ -653,6 +653,16 @@ dependencies = [
"rayon",
]
[[package]]
name = "ffi-support"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "087be066eb6e85d7150f0c5400018a32802f99d688b2d3868c526f7bbfe17960"
dependencies = [
"lazy_static",
"log",
]
[[package]]
name = "find-places-db"
version = "0.1.0"
@ -770,7 +780,7 @@ dependencies = [
"dialoguer",
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hex",
"lazy_static",
"log",
@ -793,7 +803,7 @@ dependencies = [
name = "fxaclient_ffi"
version = "0.1.0"
dependencies = [
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fxa-client",
"lazy_static",
"log",
@ -1100,7 +1110,7 @@ dependencies = [
"env_logger",
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"fxa-client",
"interrupt",
"lazy_static",
@ -1126,7 +1136,7 @@ name = "logins_ffi"
version = "0.1.0"
dependencies = [
"base16",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static",
"log",
"logins",
@ -1606,7 +1616,7 @@ dependencies = [
"env_logger",
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"find-places-db",
"fxa-client",
"idna",
@ -1639,7 +1649,7 @@ dependencies = [
name = "places-ffi"
version = "0.1.0"
dependencies = [
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"interrupt",
"lazy_static",
"log",
@ -1793,7 +1803,7 @@ dependencies = [
"error-support",
"failure",
"failure_derive",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hex",
"lazy_static",
"log",
@ -1817,7 +1827,7 @@ name = "push-ffi"
version = "0.1.0"
dependencies = [
"base64 0.12.0",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static",
"log",
"prost",
@ -1956,7 +1966,7 @@ name = "rc_log_ffi"
version = "0.1.0"
dependencies = [
"cfg-if",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static",
"log",
]
@ -2287,7 +2297,7 @@ checksum = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc"
name = "sql-support"
version = "0.1.0"
dependencies = [
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"interrupt",
"lazy_static",
"log",
@ -2384,7 +2394,7 @@ dependencies = [
"env_logger",
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"interrupt",
"lazy_static",
"log",
@ -2403,7 +2413,7 @@ name = "sync15-traits"
version = "0.1.0"
dependencies = [
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log",
"serde",
"serde_json",
@ -2417,7 +2427,7 @@ version = "0.1.0"
dependencies = [
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"interrupt",
"lazy_static",
"log",
@ -2439,7 +2449,7 @@ dependencies = [
name = "sync_manager_ffi"
version = "0.1.0"
dependencies = [
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log",
"logins_ffi",
"places-ffi",
@ -2470,7 +2480,7 @@ dependencies = [
"clipboard",
"error-support",
"failure",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"interrupt",
"log",
"prost",
@ -2490,7 +2500,7 @@ name = "tabs_ffi"
version = "0.1.0"
dependencies = [
"base16",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static",
"log",
"prost",
@ -2748,7 +2758,7 @@ version = "0.1.0"
dependencies = [
"failure",
"failure_derive",
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log",
"once_cell",
"prost",
@ -2763,7 +2773,7 @@ dependencies = [
name = "viaduct-reqwest"
version = "0.1.0"
dependencies = [
"ffi-support",
"ffi-support 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static",
"log",
"reqwest",

Просмотреть файл

@ -455,6 +455,7 @@ The following text applies to code linked from these dependencies:
[failure_derive](https://github.com/rust-lang-nursery/failure),
[fallible-iterator](https://github.com/sfackler/rust-fallible-iterator),
[fallible-streaming-iterator](https://github.com/sfackler/fallible-streaming-iterator),
[ffi-support](https://github.com/mozilla/application-services),
[fixedbitset](https://github.com/bluss/fixedbitset),
[fnv](https://github.com/servo/rust-fnv),
[foreign-types-shared](https://github.com/sfackler/foreign-types),

Просмотреть файл

@ -19,7 +19,7 @@ serde_derive = "1.0.104"
serde_json = "1.0.50"
sync15 = { path = "../sync15" }
url = "2.1.1"
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
viaduct = { path = "../viaduct" }
rc_crypto = { path = "../support/rc_crypto", features = ["ece", "hawk"] }
error-support = { path = "../support/error" }

Просмотреть файл

@ -10,7 +10,7 @@ name = "fxaclient_ffi"
crate-type = ["lib"]
[dependencies]
ffi-support = { path = "../../support/ffi" }
ffi-support = "0.4"
log = "0.4.8"
serde_json = "1.0.50"
lazy_static = "1.4.0"

Просмотреть файл

@ -19,7 +19,7 @@ lazy_static = "1.4.0"
url = "2.1.1"
failure = "0.1.6"
sql-support = { path = "../support/sql" }
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
interrupt = { path = "../support/interrupt" }
error-support = { path = "../support/error" }
sync-guid = { path = "../support/guid", features = ["rusqlite_support", "random"] }

Просмотреть файл

@ -20,6 +20,8 @@ viaduct = { path = "../../viaduct" }
# For SqlInterruptHandle
sql-support = { path = "../../support/sql" }
ffi-support = "0.4"
[dependencies.rusqlite]
version = "0.21.0"
features = ["sqlcipher"]
@ -29,6 +31,3 @@ path = ".."
[dependencies.sync15]
path = "../../sync15"
[dependencies.ffi-support]
path = "../../support/ffi"

Просмотреть файл

@ -21,7 +21,7 @@ percent-encoding = "2.1.0"
failure = "0.1.6"
caseless = "0.2.1"
sql-support = { path = "../support/sql" }
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
bitflags = "1.2.1"
idna = "0.2.0"
memchr = "2.2.1"

Просмотреть файл

@ -16,7 +16,7 @@ default = []
serde_json = "1.0.50"
log = "0.4"
url = "2.1.1"
ffi-support = { path = "../../support/ffi" }
ffi-support = "0.4"
lazy_static = "1.4.0"
prost = "0.6.1"
viaduct = { path = "../../viaduct" }

Просмотреть файл

@ -21,7 +21,7 @@ log = "0.4.8"
rusqlite = { version = "0.21.0", features = ["bundled"] }
url = "2.1.1"
viaduct = { path = "../viaduct" }
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
sql-support = { path = "../support/sql" }
error-support = { path = "../support/error" }
rc_crypto = { path = "../support/rc_crypto", features = ["ece"] }

Просмотреть файл

@ -13,7 +13,7 @@ crate-type = ["lib"]
serde_json = "1.0.50"
log = "0.4"
url = "2.1.1"
ffi-support = { path = "../../support/ffi" }
ffi-support = "0.4"
lazy_static = "1.4.0"
base64 = "0.12.0"
push = { path = ".." }

Просмотреть файл

@ -16,6 +16,6 @@ force_android = []
[dependencies]
log = "0.4.8"
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
lazy_static = "1.4.0"
cfg-if = "0.1.9"

Просмотреть файл

@ -13,7 +13,7 @@ log_query_plans = []
log = "0.4"
lazy_static = "1.4.0"
interrupt = { path = "../interrupt" }
ffi-support = { path = "../ffi" }
ffi-support = "0.4"
[dependencies.rusqlite]
version = "0.21.0"

Просмотреть файл

@ -13,6 +13,6 @@ sync-guid = { path = "../guid" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
ffi-support = {path = "../ffi"}
ffi-support = "0.4"
url = "2.1"
failure = "0.1.6"

Просмотреть файл

@ -14,6 +14,6 @@ default = []
[dependencies]
viaduct = { path = "../../viaduct" }
reqwest = { version = "0.10.1", features = ["blocking", "native-tls-vendored"] }
ffi-support = { path = "../ffi" }
ffi-support = "0.4.0"
lazy_static = "1.4.0"
log = "0.4"

Просмотреть файл

@ -10,7 +10,7 @@ default = []
[dependencies]
base64 = "0.12.0"
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
serde = "1.0.104"
serde_derive = "1.0.104"
serde_json = "1.0.50"

Просмотреть файл

@ -10,7 +10,7 @@ sync15 = { path = "../sync15" }
places = { path = "../places" }
logins = { path = "../logins" }
tabs = { path = "../tabs" }
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
failure = "0.1.6"
error-support = { path = "../support/error" }
prost = "0.6.1"

Просмотреть файл

@ -9,7 +9,7 @@ license = "MPL-2.0"
[dependencies]
sync_manager = { path = ".." }
sync15 = { path = "../../sync15" }
ffi-support = { path = "../../support/ffi" }
ffi-support = "0.4"
places-ffi = { path = "../../places/ffi" }
logins_ffi = { path = "../../logins/ffi" }
tabs_ffi = { path = "../../tabs/ffi" }

Просмотреть файл

@ -18,7 +18,7 @@ log = "0.4.8"
url = "2.1.1"
prost = "0.6.1"
prost-derive = "0.6.1"
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
error-support = { path = "../support/error" }
interrupt = { path = "../support/interrupt" }
sync-guid = { path = "../support/guid", features = ["random"] }

Просмотреть файл

@ -17,12 +17,10 @@ base16 = "0.2.1"
lazy_static = "1.4.0"
prost = "0.6.1"
viaduct = { path = "../../viaduct" }
ffi-support = "0.4"
[dependencies.tabs]
path = ".."
[dependencies.sync15]
path = "../../sync15"
[dependencies.ffi-support]
path = "../../support/ffi"

Просмотреть файл

@ -21,7 +21,7 @@ serde_json = "1.0.50"
once_cell = "1.3.1"
prost = "0.6.1"
prost-derive = "0.6.1"
ffi-support = { path = "../support/ffi" }
ffi-support = "0.4"
[build-dependencies]
prost-build = "0.6.1"

Просмотреть файл

@ -434,6 +434,7 @@ The following text applies to code linked from these dependencies:
[failure_derive](https://github.com/rust-lang-nursery/failure),
[fallible-iterator](https://github.com/sfackler/rust-fallible-iterator),
[fallible-streaming-iterator](https://github.com/sfackler/fallible-streaming-iterator),
[ffi-support](https://github.com/mozilla/application-services),
[fixedbitset](https://github.com/bluss/fixedbitset),
[getrandom](https://github.com/rust-random/getrandom),
[glob](https://github.com/rust-lang/glob),

Просмотреть файл

@ -96,6 +96,10 @@ the details of which are reproduced below.
<name>Apache License 2.0: fallible-streaming-iterator</name>
<url>https://github.com/sfackler/fallible-streaming-iterator/blob/master/LICENSE-APACHE</url>
</license>
<license>
<name>Apache License 2.0: ffi-support</name>
<url>https://raw.githubusercontent.com/mozilla/application-services/master/components/support/ffi/LICENSE-APACHE</url>
</license>
<license>
<name>Apache License 2.0: fixedbitset</name>
<url>https://github.com/bluss/fixedbitset/blob/master/LICENSE-APACHE</url>

Просмотреть файл

@ -447,6 +447,7 @@ The following text applies to code linked from these dependencies:
[failure_derive](https://github.com/rust-lang-nursery/failure),
[fallible-iterator](https://github.com/sfackler/rust-fallible-iterator),
[fallible-streaming-iterator](https://github.com/sfackler/fallible-streaming-iterator),
[ffi-support](https://github.com/mozilla/application-services),
[fixedbitset](https://github.com/bluss/fixedbitset),
[fnv](https://github.com/servo/rust-fnv),
[futures-channel](https://github.com/rust-lang/futures-rs),

Просмотреть файл

@ -431,6 +431,7 @@ The following text applies to code linked from these dependencies:
[failure_derive](https://github.com/rust-lang-nursery/failure),
[fallible-iterator](https://github.com/sfackler/rust-fallible-iterator),
[fallible-streaming-iterator](https://github.com/sfackler/fallible-streaming-iterator),
[ffi-support](https://github.com/mozilla/application-services),
[fixedbitset](https://github.com/bluss/fixedbitset),
[getrandom](https://github.com/rust-random/getrandom),
[glob](https://github.com/rust-lang/glob),

Просмотреть файл

@ -92,6 +92,10 @@ the details of which are reproduced below.
<name>Apache License 2.0: fallible-streaming-iterator</name>
<url>https://github.com/sfackler/fallible-streaming-iterator/blob/master/LICENSE-APACHE</url>
</license>
<license>
<name>Apache License 2.0: ffi-support</name>
<url>https://raw.githubusercontent.com/mozilla/application-services/master/components/support/ffi/LICENSE-APACHE</url>
</license>
<license>
<name>Apache License 2.0: fixedbitset</name>
<url>https://github.com/bluss/fixedbitset/blob/master/LICENSE-APACHE</url>

Просмотреть файл

@ -459,6 +459,12 @@ PACKAGE_METADATA_FIXUPS = {
"fixup": "https://github.com/cryptocorrosion/cryptocorrosion/blob/master/stream-ciphers/chacha/LICENSE-APACHE"
},
},
"ffi-support": {
"license_url": {
"check": None,
"fixup": "https://raw.githubusercontent.com/mozilla/application-services/master/components/support/ffi/LICENSE-APACHE"
},
},
"humantime": {
"repository": {
"check": None,