|
| 1 | +# Copyright 2020 Google LLC |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +module( |
| 16 | + name = "proxy_wasm_rust_sdk", |
| 17 | + version = "0.2.5-dev", |
| 18 | +) |
| 19 | + |
| 20 | +# Regular dependencies (sorted alphabetically) |
| 21 | +bazel_dep(name = "bazel_features", version = "1.38.0") |
| 22 | +bazel_dep(name = "bazel_skylib", version = "1.8.2") |
| 23 | +bazel_dep(name = "rules_cc", version = "0.2.14") |
| 24 | +bazel_dep(name = "rules_rust", version = "0.67.0") |
| 25 | + |
| 26 | +# Configure Rust toolchain |
| 27 | +rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") |
| 28 | +rust.toolchain(edition = "2018") |
| 29 | +use_repo(rust, "rust_toolchains") |
| 30 | + |
| 31 | +register_toolchains("@rust_toolchains//:all") |
0 commit comments