Skip to content

Commit

Permalink
Drop import macro (#2411)
Browse files Browse the repository at this point in the history
As discussed over at
#2383
  • Loading branch information
scentini authored Jan 11, 2024
1 parent b2e52a2 commit caa3959
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 3,311 deletions.
6 changes: 0 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ use_repo(
"rules_rust_test_load_arbitrary_tool",
"rules_rust_tinyjson",
"rules_rust_toolchain_test_target_json",
"rules_rust_util_import__aho-corasick-0.7.15",
"rules_rust_util_import__lazy_static-1.4.0",
"rules_rust_util_import__proc-macro2-1.0.33",
"rules_rust_util_import__quickcheck-1.0.3",
"rules_rust_util_import__quote-1.0.10",
"rules_rust_util_import__syn-1.0.82",
"rules_rust_wasm_bindgen__anyhow-1.0.71",
"rules_rust_wasm_bindgen__assert_cmd-1.0.8",
"rules_rust_wasm_bindgen__diff-0.1.13",
Expand Down
4 changes: 0 additions & 4 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")

rust_analyzer_dependencies()

load("@rules_rust//util/import:deps.bzl", "import_deps")

import_deps()

load("@rules_rust//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_repositories")

rust_wasm_bindgen_repositories()
Expand Down
2 changes: 0 additions & 2 deletions rust/private/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ load("//proto/prost:repositories.bzl", "rust_prost_dependencies")
load("//rust/private:repository_utils.bzl", "TINYJSON_KWARGS")
load("//test:deps.bzl", "rules_rust_test_deps")
load("//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies")
load("//util/import:deps.bzl", "import_deps")
load("//wasm_bindgen:repositories.bzl", "rust_wasm_bindgen_dependencies")

def _internal_deps_impl(module_ctx):
Expand All @@ -23,7 +22,6 @@ def _internal_deps_impl(module_ctx):
direct_deps.extend(rust_prost_dependencies(bzlmod = True))
direct_deps.extend(rust_bindgen_dependencies())
direct_deps.extend(rust_analyzer_dependencies())
direct_deps.extend(import_deps())
direct_deps.extend(rust_wasm_bindgen_dependencies())
direct_deps.extend(rules_rust_test_deps())

Expand Down
40 changes: 0 additions & 40 deletions util/import/3rdparty/BUILD.bazel

This file was deleted.

165 changes: 0 additions & 165 deletions util/import/3rdparty/Cargo.Bazel.lock

This file was deleted.

83 changes: 0 additions & 83 deletions util/import/3rdparty/crates/BUILD.aho-corasick-0.7.15.bazel

This file was deleted.

62 changes: 0 additions & 62 deletions util/import/3rdparty/crates/BUILD.bazel

This file was deleted.

Loading

0 comments on commit caa3959

Please sign in to comment.