| ############################################################################### |
| # @generated |
| # This file is auto-generated by the cargo-bazel tool. |
| # |
| # DO NOT MODIFY: Local changes may be replaced in future executions. |
| ############################################################################### |
| |
| load( |
| "@bazel_skylib//lib:selects.bzl", |
| "selects", |
| ) |
| |
| # buildifier: disable=bzl-visibility |
| load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") |
| load( |
| "@rules_rust//rust:defs.bzl", |
| "rust_library", |
| ) |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| # licenses([ |
| # "TODO", # MIT |
| # ]) |
| |
| rust_library( |
| name = "version_sync", |
| srcs = glob( |
| include = [ |
| "**/*.rs", |
| ], |
| exclude = [ |
| ], |
| ), |
| aliases = selects.with_or({ |
| "//conditions:default": { |
| }, |
| }), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ) + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| crate_features = [ |
| "contains_regex", |
| "default", |
| "html_root_url_updated", |
| "markdown_deps_updated", |
| "proc-macro2", |
| "pulldown-cmark", |
| "regex", |
| "semver", |
| "syn", |
| "toml", |
| "url", |
| ], |
| crate_root = "src/lib.rs", |
| data = select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| edition = "2018", |
| proc_macro_deps = [ |
| ] + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| rustc_env = { |
| }, |
| rustc_env_files = select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| rustc_flags = [ |
| # In most cases, warnings in 3rd party crates are not interesting as |
| # they're out of the control of consumers. The flag here silences |
| # warnings. For more details see: |
| # https://doc.rust-lang.org/rustc/lints/levels.html |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-bazel", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| version = "0.9.4", |
| deps = [ |
| ] + select_with_or({ |
| "//conditions:default": [ |
| "@crates_vendor__proc-macro2-1.0.40//:proc_macro2", |
| "@crates_vendor__pulldown-cmark-0.8.0//:pulldown_cmark", |
| "@crates_vendor__regex-1.6.0//:regex", |
| "@crates_vendor__semver-1.0.12//:semver", |
| "@crates_vendor__syn-1.0.98//:syn", |
| "@crates_vendor__toml-0.5.9//:toml", |
| "@crates_vendor__url-2.2.2//:url", |
| ], |
| }), |
| ) |