Moved rust extension rules into a separate `rules_rust_ext` workspace. (#3007)
This change moves the `bindgen`, `proto`, and `wasm_bindgen`
sub-packages into individual workspaces within the `extensions`
directory. The intent is improve ease of maintenance of both core and
extension Rust rules by ensuring changes to extensions have no impact on
the core rules. Core rules should *never* depend on extensions.
Load statements should be updated according to the following table:
| before | after |
| --- | --- |
| `@rules_rust//bindgen` | `@rules_rust_bindgen//` |
| `@rules_rust//proto/prost` | `@rules_rust_prost//` |
| `@rules_rust//proto/protobuf` | `@rules_rust_protobuf//` |
| `@rules_rust//wasm_bindgen` | `@rules_rust_wasm_bindgen//` |
closes https://github.com/bazelbuild/rules_rust/issues/2882
diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod
new file mode 100644
index 0000000..53ff64a
--- /dev/null
+++ b/WORKSPACE.bzlmod
@@ -0,0 +1 @@
+workspace(name = "rules_rust")