| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 1 | # To be generated by Facebook's `reindeer` tool once that is open source. |
| 2 | |
| 3 | rust_library( |
| 4 | name = "anyhow", |
| 5 | srcs = glob(["vendor/anyhow-1.0.26/src/**"]), |
| 6 | visibility = ["PUBLIC"], |
| 7 | features = ["std"], |
| 8 | ) |
| 9 | |
| 10 | rust_library( |
| 11 | name = "bitflags", |
| 12 | srcs = glob(["vendor/bitflags-1.2.1/src/**"]), |
| 13 | ) |
| 14 | |
| 15 | rust_library( |
| 16 | name = "cc", |
| 17 | srcs = glob(["vendor/cc-1.0.50/src/**"]), |
| 18 | visibility = ["PUBLIC"], |
| 19 | ) |
| 20 | |
| 21 | rust_library( |
| 22 | name = "clap", |
| 23 | srcs = glob(["vendor/clap-2.33.0/src/**"]), |
| 24 | edition = "2015", |
| 25 | deps = [ |
| 26 | ":bitflags", |
| 27 | ":textwrap", |
| 28 | ":unicode-width", |
| 29 | ], |
| 30 | ) |
| 31 | |
| 32 | rust_library( |
| 33 | name = "codespan", |
| 34 | srcs = glob(["vendor/codespan-0.7.0/src/**"]), |
| 35 | visibility = ["PUBLIC"], |
| 36 | deps = [":unicode-segmentation"], |
| 37 | ) |
| 38 | |
| 39 | rust_library( |
| 40 | name = "codespan-reporting", |
| 41 | srcs = glob(["vendor/codespan-reporting-0.7.0/src/**"]), |
| 42 | visibility = ["PUBLIC"], |
| 43 | deps = [ |
| 44 | ":codespan", |
| 45 | ":termcolor", |
| 46 | ":unicode-width", |
| 47 | ], |
| 48 | ) |
| 49 | |
| 50 | rust_library( |
| 51 | name = "heck", |
| 52 | srcs = glob(["vendor/heck-0.3.1/src/**"]), |
| 53 | edition = "2015", |
| 54 | deps = [":unicode-segmentation"], |
| 55 | ) |
| 56 | |
| 57 | rust_library( |
| 58 | name = "lazy_static", |
| 59 | srcs = glob(["vendor/lazy_static-1.4.0/src/**"]), |
| 60 | ) |
| 61 | |
| 62 | rust_library( |
| 63 | name = "link-cplusplus", |
| 64 | srcs = glob(["vendor/link-cplusplus-1.0.1/src/**"]), |
| 65 | visibility = ["PUBLIC"], |
| 66 | ) |
| 67 | |
| 68 | rust_library( |
| 69 | name = "proc-macro-error", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 70 | srcs = glob(["vendor/proc-macro-error-0.4.10/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 71 | rustc_flags = ["--cfg=use_fallback"], |
| 72 | deps = [ |
| 73 | ":proc-macro-error-attr", |
| 74 | ":proc-macro2", |
| 75 | ":quote", |
| 76 | ":syn", |
| 77 | ], |
| 78 | ) |
| 79 | |
| 80 | rust_library( |
| 81 | name = "proc-macro-error-attr", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 82 | srcs = glob(["vendor/proc-macro-error-attr-0.4.10/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 83 | proc_macro = True, |
| 84 | deps = [ |
| 85 | ":proc-macro2", |
| 86 | ":quote", |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 87 | ":syn", |
| 88 | ":syn-mid", |
| 89 | ], |
| 90 | ) |
| 91 | |
| 92 | rust_library( |
| 93 | name = "proc-macro2", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 94 | srcs = glob(["vendor/proc-macro2-1.0.9/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 95 | visibility = ["PUBLIC"], |
| 96 | features = [ |
| 97 | "proc-macro", |
| 98 | "span-locations", |
| 99 | ], |
| 100 | rustc_flags = [ |
| 101 | "--cfg=span_locations", |
| 102 | "--cfg=use_proc_macro", |
| 103 | "--cfg=wrap_proc_macro", |
| 104 | ], |
| 105 | deps = [":unicode-xid"], |
| 106 | ) |
| 107 | |
| 108 | rust_library( |
| 109 | name = "quote", |
| 110 | srcs = glob(["vendor/quote-1.0.2/src/**"]), |
| 111 | visibility = ["PUBLIC"], |
| 112 | features = ["proc-macro"], |
| 113 | deps = [":proc-macro2"], |
| 114 | ) |
| 115 | |
| 116 | rust_library( |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 117 | name = "structopt", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 118 | srcs = glob(["vendor/structopt-0.3.11/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 119 | visibility = ["PUBLIC"], |
| 120 | deps = [ |
| 121 | ":clap", |
| 122 | ":lazy_static", |
| 123 | ":structopt-derive", |
| 124 | ], |
| 125 | ) |
| 126 | |
| 127 | rust_library( |
| 128 | name = "structopt-derive", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 129 | srcs = glob(["vendor/structopt-derive-0.4.4/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 130 | proc_macro = True, |
| 131 | deps = [ |
| 132 | ":heck", |
| 133 | ":proc-macro-error", |
| 134 | ":proc-macro2", |
| 135 | ":quote", |
| 136 | ":syn", |
| 137 | ], |
| 138 | ) |
| 139 | |
| 140 | rust_library( |
| 141 | name = "syn", |
| David Tolnay | e976487 | 2020-03-01 12:49:21 -0800 | [diff] [blame] | 142 | srcs = glob(["vendor/syn-1.0.16/src/**"]), |
| David Tolnay | 5bde59d | 2020-02-09 18:59:12 -0800 | [diff] [blame] | 143 | visibility = ["PUBLIC"], |
| 144 | features = [ |
| 145 | "clone-impls", |
| 146 | "derive", |
| 147 | "full", |
| 148 | "parsing", |
| 149 | "printing", |
| 150 | "proc-macro", |
| 151 | ], |
| 152 | deps = [ |
| 153 | ":proc-macro2", |
| 154 | ":quote", |
| 155 | ":unicode-xid", |
| 156 | ], |
| 157 | ) |
| 158 | |
| 159 | rust_library( |
| 160 | name = "syn-mid", |
| 161 | srcs = glob(["vendor/syn-mid-0.5.0/src/**"]), |
| 162 | deps = [ |
| 163 | ":proc-macro2", |
| 164 | ":quote", |
| 165 | ":syn", |
| 166 | ], |
| 167 | ) |
| 168 | |
| 169 | rust_library( |
| 170 | name = "termcolor", |
| 171 | srcs = glob(["vendor/termcolor-1.1.0/src/**"]), |
| 172 | ) |
| 173 | |
| 174 | rust_library( |
| 175 | name = "textwrap", |
| 176 | srcs = glob(["vendor/textwrap-0.11.0/src/**"]), |
| 177 | deps = [":unicode-width"], |
| 178 | ) |
| 179 | |
| 180 | rust_library( |
| 181 | name = "thiserror", |
| 182 | srcs = glob(["vendor/thiserror-1.0.11/src/**"]), |
| 183 | visibility = ["PUBLIC"], |
| 184 | deps = [":thiserror-impl"], |
| 185 | ) |
| 186 | |
| 187 | rust_library( |
| 188 | name = "thiserror-impl", |
| 189 | srcs = glob(["vendor/thiserror-impl-1.0.11/src/**"]), |
| 190 | proc_macro = True, |
| 191 | deps = [ |
| 192 | ":proc-macro2", |
| 193 | ":quote", |
| 194 | ":syn", |
| 195 | ], |
| 196 | ) |
| 197 | |
| 198 | rust_library( |
| 199 | name = "unicode-segmentation", |
| 200 | srcs = glob(["vendor/unicode-segmentation-1.6.0/src/**"]), |
| 201 | edition = "2015", |
| 202 | ) |
| 203 | |
| 204 | rust_library( |
| 205 | name = "unicode-width", |
| 206 | srcs = glob(["vendor/unicode-width-0.1.7/src/**"]), |
| 207 | ) |
| 208 | |
| 209 | rust_library( |
| 210 | name = "unicode-xid", |
| 211 | srcs = glob(["vendor/unicode-xid-0.2.0/src/**"]), |
| 212 | ) |