Skip to content

Commit 8e162f7

Browse files
Tarik Eshaqmhammond
Tarik Eshaq
authored andcommitted
Fix up some internal dependences.
Takes the easy bits of #6129
1 parent bfe363c commit 8e162f7

File tree

10 files changed

+0
-35
lines changed

10 files changed

+0
-35
lines changed

Cargo.lock

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

components/autofill/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ env_logger = { version = "0.10", default-features = false }
3232
libsqlite3-sys = { workspace = true }
3333

3434
[build-dependencies]
35-
nss_build_common = { path = "../support/rc_crypto/nss/nss_build_common" }
3635
uniffi = { workspace = true, features = ["build"] }

components/support/sql/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ debug-tools = ["dep:prettytable-rs", "rusqlite/column_decltype"]
1414
log = "0.4"
1515
lazy_static = "1.4"
1616
interrupt-support = { path = "../interrupt" }
17-
ffi-support = "0.4"
1817
thiserror = "1.0"
1918
tempfile = "3.1.0"
2019
parking_lot = ">=0.11,<=0.12"

components/support/viaduct-reqwest/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ crate-type = ["lib"]
1111
[dependencies]
1212
viaduct = { path = "../../viaduct" }
1313
reqwest = { version = "0.11", features = ["blocking", "native-tls-vendored"] }
14-
ffi-support = "0.4"
1514
log = "0.4"
1615
once_cell = "1.5"
1716

components/support/viaduct-reqwest/src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,3 @@ pub fn use_reqwest_backend() {
114114
pub extern "C" fn viaduct_use_reqwest_backend() {
115115
use_reqwest_backend();
116116
}
117-
118-
/// A dummy symbol we include so that we can detect whether or not the reqwest
119-
/// backend got compiled in.
120-
#[no_mangle]
121-
pub extern "C" fn viaduct_detect_reqwest_backend() {
122-
ffi_support::abort_on_panic::call_with_output(|| {
123-
println!("Nothing to see here (reqwest backend available).");
124-
});
125-
}

components/sync15/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ anyhow = "1.0"
4949
base16 = { version = "0.2", optional = true }
5050
base64 = { version = "0.21", optional = true }
5151
error-support = { path = "../support/error" }
52-
ffi-support = "0.4"
5352
interrupt-support = { path = "../support/interrupt" }
5453
payload-support = { path = "../support/payload" }
5554
lazy_static = "1.4"

components/sync15/src/telemetry.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,6 @@ impl SyncTelemetryPing {
782782
}
783783
}
784784

785-
ffi_support::implement_into_ffi_by_json!(SyncTelemetryPing);
786-
787785
#[cfg(test)]
788786
mod ping_tests {
789787
use super::*;

components/webext-storage/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,10 @@ url = { version = "2.1", features = ["serde"] }
3131
[dev-dependencies]
3232
env_logger = { version = "0.10", default-features = false }
3333
tempfile = "3"
34-
# A *direct* dep on the -sys crate is required for our build.rs
35-
# to see the DEP_SQLITE3_LINK_TARGET env var that cargo sets
36-
# on its behalf.
37-
libsqlite3-sys = { workspace = true }
3834
sql-support = { path = "../support/sql" }
3935
# We add the perserve_order feature to guarantee ordering of the keys in our
4036
# JSON objects as they get serialized/deserialized.
4137
serde_json = { version = "1", features = ["preserve_order"] }
4238

4339
[build-dependencies]
44-
nss_build_common = { path = "../support/rc_crypto/nss/nss_build_common" }
4540
uniffi = { workspace = true, features = ["build"] }

components/webext-storage/build.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
//! Work around the fact that `sqlcipher` might get enabled by a cargo feature
6-
//! another crate in the workspace needs, without setting up nss. (This is a
7-
//! gross hack).
85
fn main() {
96
println!("cargo:rerun-if-changed=build.rs");
10-
11-
// If NSS_DIR isn't set, we don't really care, ignore the Err case.
12-
let _ = nss_build_common::link_nss();
13-
147
uniffi::generate_scaffolding("./src/webext-storage.udl").unwrap();
158
}

examples/places-utils/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ cli-support = { path = "../cli-support" }
2828
structopt = "0.3"
2929
fxa-client = { path = "../../components/fxa-client" }
3030
tempfile = "3"
31-
find-places-db = { path = "../../components/support/find-places-db" }
3231
anyhow = "1.0"
3332
ctrlc = "3.2.1"

0 commit comments

Comments
 (0)