Serge Bazanski | cbf1fa9 | 2021-07-02 17:28:50 +0200 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:rust.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_test", |
| 17 | ) |
| 18 | |
| 19 | package(default_visibility = [ |
| 20 | # Public for visibility by "@raze__crate__version//" targets. |
| 21 | # |
| 22 | # Prefer access through "//third_party/rust/cargo", which limits external |
| 23 | # visibility to explicit Cargo.toml dependencies. |
| 24 | "//visibility:public", |
| 25 | ]) |
| 26 | |
| 27 | licenses([ |
| 28 | "reciprocal", # MPL-2.0 from expression "MPL-2.0" |
| 29 | ]) |
| 30 | |
| 31 | # Generated Targets |
| 32 | |
| 33 | rust_binary( |
| 34 | # Prefix bin name to disambiguate from (probable) collision with lib name |
| 35 | # N.B.: The exact form of this is subject to change. |
| 36 | name = "cargo_bin_mdbook", |
| 37 | srcs = glob(["**/*.rs"]), |
| 38 | crate_features = [ |
| 39 | "ammonia", |
| 40 | "default", |
| 41 | "elasticlunr-rs", |
| 42 | "futures-util", |
| 43 | "gitignore", |
| 44 | "notify", |
| 45 | "search", |
| 46 | "serve", |
| 47 | "tokio", |
| 48 | "warp", |
| 49 | "watch", |
| 50 | ], |
| 51 | crate_root = "src/main.rs", |
| 52 | data = [] + [ |
| 53 | "src/theme/playground_editor/editor.js", |
| 54 | "src/theme/playground_editor/ace.js", |
| 55 | "src/theme/playground_editor/mode-rust.js", |
| 56 | "src/theme/playground_editor/theme-dawn.js", |
| 57 | "src/theme/playground_editor/theme-tomorrow_night.js", |
| 58 | "src/theme/fonts/fonts.css", |
| 59 | "src/theme/fonts/OPEN-SANS-LICENSE.txt", |
| 60 | "src/theme/fonts/SOURCE-CODE-PRO-LICENSE.txt", |
| 61 | "src/theme/fonts/open-sans-v17-all-charsets-300.woff2", |
| 62 | "src/theme/fonts/open-sans-v17-all-charsets-300italic.woff2", |
| 63 | "src/theme/fonts/open-sans-v17-all-charsets-regular.woff2", |
| 64 | "src/theme/fonts/open-sans-v17-all-charsets-italic.woff2", |
| 65 | "src/theme/fonts/open-sans-v17-all-charsets-600.woff2", |
| 66 | "src/theme/fonts/open-sans-v17-all-charsets-600italic.woff2", |
| 67 | "src/theme/fonts/open-sans-v17-all-charsets-700.woff2", |
| 68 | "src/theme/fonts/open-sans-v17-all-charsets-700italic.woff2", |
| 69 | "src/theme/fonts/open-sans-v17-all-charsets-800.woff2", |
| 70 | "src/theme/fonts/open-sans-v17-all-charsets-800italic.woff2", |
| 71 | "src/theme/fonts/source-code-pro-v11-all-charsets-500.woff2", |
| 72 | "src/theme/searcher/searcher.js", |
| 73 | "src/theme/searcher/mark.min.js", |
| 74 | "src/theme/searcher/elasticlunr.min.js", |
| 75 | "src/theme/index.hbs", |
| 76 | "src/theme/head.hbs", |
| 77 | "src/theme/redirect.hbs", |
| 78 | "src/theme/header.hbs", |
| 79 | "src/theme/css/chrome.css", |
| 80 | "src/theme/css/general.css", |
| 81 | "src/theme/css/print.css", |
| 82 | "src/theme/css/variables.css", |
| 83 | "src/theme/favicon.png", |
| 84 | "src/theme/favicon.svg", |
| 85 | "src/theme/book.js", |
| 86 | "src/theme/highlight.js", |
| 87 | "src/theme/tomorrow-night.css", |
| 88 | "src/theme/highlight.css", |
| 89 | "src/theme/ayu-highlight.css", |
| 90 | "src/theme/clipboard.min.js", |
| 91 | "src/theme/FontAwesome/css/font-awesome.min.css", |
| 92 | "src/theme/FontAwesome/fonts/fontawesome-webfont.eot", |
| 93 | "src/theme/FontAwesome/fonts/fontawesome-webfont.svg", |
| 94 | "src/theme/FontAwesome/fonts/fontawesome-webfont.ttf", |
| 95 | "src/theme/FontAwesome/fonts/fontawesome-webfont.woff", |
| 96 | "src/theme/FontAwesome/fonts/fontawesome-webfont.woff2", |
| 97 | "src/theme/FontAwesome/fonts/FontAwesome.otf", |
| 98 | ], |
| 99 | edition = "2018", |
| 100 | proc_macro_deps = [ |
| 101 | "@raze__serde_derive__1_0_126//:serde_derive", |
| 102 | ], |
| 103 | rustc_env = { |
| 104 | "PATH": "/usr/bin", |
| 105 | }, |
| 106 | rustc_flags = [ |
| 107 | "--cap-lints=allow", |
| 108 | ], |
| 109 | tags = [ |
| 110 | "cargo-raze", |
| 111 | "manual", |
| 112 | ], |
| 113 | version = "0.4.10", |
| 114 | # buildifier: leave-alone |
| 115 | deps = [ |
| 116 | ":mdbook", |
| 117 | "@raze__ammonia__3_1_1//:ammonia", |
| 118 | "@raze__anyhow__1_0_41//:anyhow", |
| 119 | "@raze__chrono__0_4_19//:chrono", |
| 120 | "@raze__clap__2_33_3//:clap", |
| 121 | "@raze__elasticlunr_rs__2_3_13//:elasticlunr_rs", |
| 122 | "@raze__env_logger__0_7_1//:env_logger", |
| 123 | "@raze__futures_util__0_3_15//:futures_util", |
| 124 | "@raze__gitignore__1_0_7//:gitignore", |
| 125 | "@raze__handlebars__4_0_1//:handlebars", |
| 126 | "@raze__lazy_static__1_4_0//:lazy_static", |
| 127 | "@raze__log__0_4_14//:log", |
| 128 | "@raze__memchr__2_4_0//:memchr", |
| 129 | "@raze__notify__4_0_17//:notify", |
| 130 | "@raze__open__1_7_0//:open", |
| 131 | "@raze__pulldown_cmark__0_7_2//:pulldown_cmark", |
| 132 | "@raze__regex__1_5_4//:regex", |
| 133 | "@raze__serde__1_0_126//:serde", |
| 134 | "@raze__serde_json__1_0_64//:serde_json", |
| 135 | "@raze__shlex__1_0_0//:shlex", |
| 136 | "@raze__tempfile__3_2_0//:tempfile", |
| 137 | "@raze__tokio__0_2_25//:tokio", |
| 138 | "@raze__toml__0_5_8//:toml", |
| 139 | "@raze__warp__0_2_5//:warp", |
| 140 | ], |
| 141 | ) |
| 142 | |
| 143 | # Unsupported target "nop-preprocessor" with type "example" omitted |
| 144 | |
| 145 | rust_library( |
| 146 | name = "mdbook", |
| 147 | srcs = glob(["**/*.rs"]), |
| 148 | crate_features = [ |
| 149 | "ammonia", |
| 150 | "default", |
| 151 | "elasticlunr-rs", |
| 152 | "futures-util", |
| 153 | "gitignore", |
| 154 | "notify", |
| 155 | "search", |
| 156 | "serve", |
| 157 | "tokio", |
| 158 | "warp", |
| 159 | "watch", |
| 160 | ], |
| 161 | crate_root = "src/lib.rs", |
| 162 | crate_type = "lib", |
| 163 | data = [] + [ |
| 164 | "src/theme/playground_editor/editor.js", |
| 165 | "src/theme/playground_editor/ace.js", |
| 166 | "src/theme/playground_editor/mode-rust.js", |
| 167 | "src/theme/playground_editor/theme-dawn.js", |
| 168 | "src/theme/playground_editor/theme-tomorrow_night.js", |
| 169 | "src/theme/fonts/fonts.css", |
| 170 | "src/theme/fonts/OPEN-SANS-LICENSE.txt", |
| 171 | "src/theme/fonts/SOURCE-CODE-PRO-LICENSE.txt", |
| 172 | "src/theme/fonts/open-sans-v17-all-charsets-300.woff2", |
| 173 | "src/theme/fonts/open-sans-v17-all-charsets-300italic.woff2", |
| 174 | "src/theme/fonts/open-sans-v17-all-charsets-regular.woff2", |
| 175 | "src/theme/fonts/open-sans-v17-all-charsets-italic.woff2", |
| 176 | "src/theme/fonts/open-sans-v17-all-charsets-600.woff2", |
| 177 | "src/theme/fonts/open-sans-v17-all-charsets-600italic.woff2", |
| 178 | "src/theme/fonts/open-sans-v17-all-charsets-700.woff2", |
| 179 | "src/theme/fonts/open-sans-v17-all-charsets-700italic.woff2", |
| 180 | "src/theme/fonts/open-sans-v17-all-charsets-800.woff2", |
| 181 | "src/theme/fonts/open-sans-v17-all-charsets-800italic.woff2", |
| 182 | "src/theme/fonts/source-code-pro-v11-all-charsets-500.woff2", |
| 183 | "src/theme/searcher/searcher.js", |
| 184 | "src/theme/searcher/mark.min.js", |
| 185 | "src/theme/searcher/elasticlunr.min.js", |
| 186 | "src/theme/index.hbs", |
| 187 | "src/theme/head.hbs", |
| 188 | "src/theme/redirect.hbs", |
| 189 | "src/theme/header.hbs", |
| 190 | "src/theme/css/chrome.css", |
| 191 | "src/theme/css/general.css", |
| 192 | "src/theme/css/print.css", |
| 193 | "src/theme/css/variables.css", |
| 194 | "src/theme/favicon.png", |
| 195 | "src/theme/favicon.svg", |
| 196 | "src/theme/book.js", |
| 197 | "src/theme/highlight.js", |
| 198 | "src/theme/tomorrow-night.css", |
| 199 | "src/theme/highlight.css", |
| 200 | "src/theme/ayu-highlight.css", |
| 201 | "src/theme/clipboard.min.js", |
| 202 | "src/theme/FontAwesome/css/font-awesome.min.css", |
| 203 | "src/theme/FontAwesome/fonts/fontawesome-webfont.eot", |
| 204 | "src/theme/FontAwesome/fonts/fontawesome-webfont.svg", |
| 205 | "src/theme/FontAwesome/fonts/fontawesome-webfont.ttf", |
| 206 | "src/theme/FontAwesome/fonts/fontawesome-webfont.woff", |
| 207 | "src/theme/FontAwesome/fonts/fontawesome-webfont.woff2", |
| 208 | "src/theme/FontAwesome/fonts/FontAwesome.otf", |
| 209 | ], |
| 210 | edition = "2018", |
| 211 | proc_macro_deps = [ |
| 212 | "@raze__serde_derive__1_0_126//:serde_derive", |
| 213 | ], |
| 214 | rustc_env = { |
| 215 | "PATH": "/usr/bin", |
| 216 | }, |
| 217 | rustc_flags = [ |
| 218 | "--cap-lints=allow", |
| 219 | ], |
| 220 | tags = [ |
| 221 | "cargo-raze", |
| 222 | "manual", |
| 223 | ], |
| 224 | version = "0.4.10", |
| 225 | # buildifier: leave-alone |
| 226 | deps = [ |
| 227 | "@raze__ammonia__3_1_1//:ammonia", |
| 228 | "@raze__anyhow__1_0_41//:anyhow", |
| 229 | "@raze__chrono__0_4_19//:chrono", |
| 230 | "@raze__clap__2_33_3//:clap", |
| 231 | "@raze__elasticlunr_rs__2_3_13//:elasticlunr_rs", |
| 232 | "@raze__env_logger__0_7_1//:env_logger", |
| 233 | "@raze__futures_util__0_3_15//:futures_util", |
| 234 | "@raze__gitignore__1_0_7//:gitignore", |
| 235 | "@raze__handlebars__4_0_1//:handlebars", |
| 236 | "@raze__lazy_static__1_4_0//:lazy_static", |
| 237 | "@raze__log__0_4_14//:log", |
| 238 | "@raze__memchr__2_4_0//:memchr", |
| 239 | "@raze__notify__4_0_17//:notify", |
| 240 | "@raze__open__1_7_0//:open", |
| 241 | "@raze__pulldown_cmark__0_7_2//:pulldown_cmark", |
| 242 | "@raze__regex__1_5_4//:regex", |
| 243 | "@raze__serde__1_0_126//:serde", |
| 244 | "@raze__serde_json__1_0_64//:serde_json", |
| 245 | "@raze__shlex__1_0_0//:shlex", |
| 246 | "@raze__tempfile__3_2_0//:tempfile", |
| 247 | "@raze__tokio__0_2_25//:tokio", |
| 248 | "@raze__toml__0_5_8//:toml", |
| 249 | "@raze__warp__0_2_5//:warp", |
| 250 | ], |
| 251 | ) |
| 252 | |
| 253 | # Unsupported target "alternative_backends" with type "test" omitted |
| 254 | |
| 255 | # Unsupported target "build_process" with type "test" omitted |
| 256 | |
| 257 | # Unsupported target "custom_preprocessors" with type "test" omitted |
| 258 | |
| 259 | # Unsupported target "init" with type "test" omitted |
| 260 | |
| 261 | # Unsupported target "parse_existing_summary_files" with type "test" omitted |
| 262 | |
| 263 | # Unsupported target "rendered_output" with type "test" omitted |
| 264 | |
| 265 | # Unsupported target "testing" with type "test" omitted |