├── .gitignore ├── .travis.yml ├── .vscode ├── extensions.json └── settings.json ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── example ├── Cargo.lock ├── Cargo.toml ├── dangerfile.rs └── src │ └── main.rs ├── fixtures └── danger-js-697.json ├── screenshots └── wip1.png └── src ├── bin ├── main.rs └── update_types.rs └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | example/target 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: rust 2 | rust: 3 | - stable 4 | - beta 5 | - nightly 6 | matrix: 7 | allow_failures: 8 | - rust: nightly 9 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "rust-lang.rust", 4 | "bungcip.better-toml" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "reqwest", 4 | "schemafy", 5 | "serde" 6 | ], 7 | "editor.formatOnSave": true 8 | } 9 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | [[package]] 2 | name = "Inflector" 3 | version = "0.6.0" 4 | source = "registry+https://github.com/rust-lang/crates.io-index" 5 | dependencies = [ 6 | "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", 7 | "regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)", 8 | ] 9 | 10 | [[package]] 11 | name = "adler32" 12 | version = "1.0.3" 13 | source = "registry+https://github.com/rust-lang/crates.io-index" 14 | 15 | [[package]] 16 | name = "aho-corasick" 17 | version = "0.5.3" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | dependencies = [ 20 | "memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 21 | ] 22 | 23 | [[package]] 24 | name = "arrayvec" 25 | version = "0.4.7" 26 | source = "registry+https://github.com/rust-lang/crates.io-index" 27 | dependencies = [ 28 | "nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", 29 | ] 30 | 31 | [[package]] 32 | name = "base64" 33 | version = "0.9.3" 34 | source = "registry+https://github.com/rust-lang/crates.io-index" 35 | dependencies = [ 36 | "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 37 | "safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 38 | ] 39 | 40 | [[package]] 41 | name = "bitflags" 42 | version = "1.0.4" 43 | source = "registry+https://github.com/rust-lang/crates.io-index" 44 | 45 | [[package]] 46 | name = "build_const" 47 | version = "0.2.1" 48 | source = "registry+https://github.com/rust-lang/crates.io-index" 49 | 50 | [[package]] 51 | name = "byteorder" 52 | version = "1.2.6" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | 55 | [[package]] 56 | name = "bytes" 57 | version = "0.4.10" 58 | source = "registry+https://github.com/rust-lang/crates.io-index" 59 | dependencies = [ 60 | "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 61 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 62 | ] 63 | 64 | [[package]] 65 | name = "cc" 66 | version = "1.0.25" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | 69 | [[package]] 70 | name = "cfg-if" 71 | version = "0.1.6" 72 | source = "registry+https://github.com/rust-lang/crates.io-index" 73 | 74 | [[package]] 75 | name = "cloudabi" 76 | version = "0.0.3" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | dependencies = [ 79 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 80 | ] 81 | 82 | [[package]] 83 | name = "core-foundation" 84 | version = "0.5.1" 85 | source = "registry+https://github.com/rust-lang/crates.io-index" 86 | dependencies = [ 87 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 88 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 89 | ] 90 | 91 | [[package]] 92 | name = "core-foundation-sys" 93 | version = "0.5.1" 94 | source = "registry+https://github.com/rust-lang/crates.io-index" 95 | dependencies = [ 96 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 97 | ] 98 | 99 | [[package]] 100 | name = "crc" 101 | version = "1.8.1" 102 | source = "registry+https://github.com/rust-lang/crates.io-index" 103 | dependencies = [ 104 | "build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 105 | ] 106 | 107 | [[package]] 108 | name = "crossbeam-deque" 109 | version = "0.6.1" 110 | source = "registry+https://github.com/rust-lang/crates.io-index" 111 | dependencies = [ 112 | "crossbeam-epoch 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 113 | "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 114 | ] 115 | 116 | [[package]] 117 | name = "crossbeam-epoch" 118 | version = "0.5.2" 119 | source = "registry+https://github.com/rust-lang/crates.io-index" 120 | dependencies = [ 121 | "arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", 122 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 123 | "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 124 | "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 125 | "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 126 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 127 | ] 128 | 129 | [[package]] 130 | name = "crossbeam-utils" 131 | version = "0.5.0" 132 | source = "registry+https://github.com/rust-lang/crates.io-index" 133 | 134 | [[package]] 135 | name = "danger" 136 | version = "0.1.0" 137 | dependencies = [ 138 | "reqwest 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", 139 | "schemafy 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", 140 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 141 | "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 142 | "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", 143 | ] 144 | 145 | [[package]] 146 | name = "dtoa" 147 | version = "0.4.3" 148 | source = "registry+https://github.com/rust-lang/crates.io-index" 149 | 150 | [[package]] 151 | name = "either" 152 | version = "1.5.0" 153 | source = "registry+https://github.com/rust-lang/crates.io-index" 154 | 155 | [[package]] 156 | name = "encoding_rs" 157 | version = "0.8.10" 158 | source = "registry+https://github.com/rust-lang/crates.io-index" 159 | dependencies = [ 160 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 161 | ] 162 | 163 | [[package]] 164 | name = "fnv" 165 | version = "1.0.6" 166 | source = "registry+https://github.com/rust-lang/crates.io-index" 167 | 168 | [[package]] 169 | name = "foreign-types" 170 | version = "0.3.2" 171 | source = "registry+https://github.com/rust-lang/crates.io-index" 172 | dependencies = [ 173 | "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 174 | ] 175 | 176 | [[package]] 177 | name = "foreign-types-shared" 178 | version = "0.1.1" 179 | source = "registry+https://github.com/rust-lang/crates.io-index" 180 | 181 | [[package]] 182 | name = "fuchsia-zircon" 183 | version = "0.3.3" 184 | source = "registry+https://github.com/rust-lang/crates.io-index" 185 | dependencies = [ 186 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 187 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 188 | ] 189 | 190 | [[package]] 191 | name = "fuchsia-zircon-sys" 192 | version = "0.3.3" 193 | source = "registry+https://github.com/rust-lang/crates.io-index" 194 | 195 | [[package]] 196 | name = "futures" 197 | version = "0.1.25" 198 | source = "registry+https://github.com/rust-lang/crates.io-index" 199 | 200 | [[package]] 201 | name = "futures-cpupool" 202 | version = "0.1.8" 203 | source = "registry+https://github.com/rust-lang/crates.io-index" 204 | dependencies = [ 205 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 206 | "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 207 | ] 208 | 209 | [[package]] 210 | name = "h2" 211 | version = "0.1.13" 212 | source = "registry+https://github.com/rust-lang/crates.io-index" 213 | dependencies = [ 214 | "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 215 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 216 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 217 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 218 | "http 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 219 | "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 220 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 221 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 222 | "string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 223 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 224 | ] 225 | 226 | [[package]] 227 | name = "http" 228 | version = "0.1.13" 229 | source = "registry+https://github.com/rust-lang/crates.io-index" 230 | dependencies = [ 231 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 232 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 233 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 234 | ] 235 | 236 | [[package]] 237 | name = "httparse" 238 | version = "1.3.3" 239 | source = "registry+https://github.com/rust-lang/crates.io-index" 240 | 241 | [[package]] 242 | name = "hyper" 243 | version = "0.12.12" 244 | source = "registry+https://github.com/rust-lang/crates.io-index" 245 | dependencies = [ 246 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 247 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 248 | "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 249 | "h2 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 250 | "http 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 251 | "httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 252 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 253 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 254 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 255 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 256 | "time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", 257 | "tokio 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 258 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 259 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 260 | "tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 261 | "tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 262 | "tokio-timer 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 263 | "want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 264 | ] 265 | 266 | [[package]] 267 | name = "hyper-tls" 268 | version = "0.3.1" 269 | source = "registry+https://github.com/rust-lang/crates.io-index" 270 | dependencies = [ 271 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 272 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 273 | "hyper 0.12.12 (registry+https://github.com/rust-lang/crates.io-index)", 274 | "native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 275 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 276 | ] 277 | 278 | [[package]] 279 | name = "idna" 280 | version = "0.1.5" 281 | source = "registry+https://github.com/rust-lang/crates.io-index" 282 | dependencies = [ 283 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 284 | "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", 285 | "unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 286 | ] 287 | 288 | [[package]] 289 | name = "indexmap" 290 | version = "1.0.2" 291 | source = "registry+https://github.com/rust-lang/crates.io-index" 292 | 293 | [[package]] 294 | name = "iovec" 295 | version = "0.1.2" 296 | source = "registry+https://github.com/rust-lang/crates.io-index" 297 | dependencies = [ 298 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 299 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 300 | ] 301 | 302 | [[package]] 303 | name = "itertools" 304 | version = "0.5.10" 305 | source = "registry+https://github.com/rust-lang/crates.io-index" 306 | dependencies = [ 307 | "either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 308 | ] 309 | 310 | [[package]] 311 | name = "itoa" 312 | version = "0.4.3" 313 | source = "registry+https://github.com/rust-lang/crates.io-index" 314 | 315 | [[package]] 316 | name = "kernel32-sys" 317 | version = "0.2.2" 318 | source = "registry+https://github.com/rust-lang/crates.io-index" 319 | dependencies = [ 320 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 321 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 322 | ] 323 | 324 | [[package]] 325 | name = "lazy_static" 326 | version = "0.2.11" 327 | source = "registry+https://github.com/rust-lang/crates.io-index" 328 | 329 | [[package]] 330 | name = "lazy_static" 331 | version = "1.1.0" 332 | source = "registry+https://github.com/rust-lang/crates.io-index" 333 | dependencies = [ 334 | "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 335 | ] 336 | 337 | [[package]] 338 | name = "lazycell" 339 | version = "1.2.0" 340 | source = "registry+https://github.com/rust-lang/crates.io-index" 341 | 342 | [[package]] 343 | name = "libc" 344 | version = "0.2.43" 345 | source = "registry+https://github.com/rust-lang/crates.io-index" 346 | 347 | [[package]] 348 | name = "libflate" 349 | version = "0.1.18" 350 | source = "registry+https://github.com/rust-lang/crates.io-index" 351 | dependencies = [ 352 | "adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 353 | "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 354 | "crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)", 355 | ] 356 | 357 | [[package]] 358 | name = "lock_api" 359 | version = "0.1.4" 360 | source = "registry+https://github.com/rust-lang/crates.io-index" 361 | dependencies = [ 362 | "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 363 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 364 | ] 365 | 366 | [[package]] 367 | name = "log" 368 | version = "0.4.5" 369 | source = "registry+https://github.com/rust-lang/crates.io-index" 370 | dependencies = [ 371 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 372 | ] 373 | 374 | [[package]] 375 | name = "matches" 376 | version = "0.1.8" 377 | source = "registry+https://github.com/rust-lang/crates.io-index" 378 | 379 | [[package]] 380 | name = "memchr" 381 | version = "0.1.11" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | dependencies = [ 384 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 385 | ] 386 | 387 | [[package]] 388 | name = "memoffset" 389 | version = "0.2.1" 390 | source = "registry+https://github.com/rust-lang/crates.io-index" 391 | 392 | [[package]] 393 | name = "mime" 394 | version = "0.3.12" 395 | source = "registry+https://github.com/rust-lang/crates.io-index" 396 | dependencies = [ 397 | "unicase 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 398 | ] 399 | 400 | [[package]] 401 | name = "mime_guess" 402 | version = "2.0.0-alpha.6" 403 | source = "registry+https://github.com/rust-lang/crates.io-index" 404 | dependencies = [ 405 | "mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", 406 | "phf 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 407 | "phf_codegen 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 408 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 409 | ] 410 | 411 | [[package]] 412 | name = "mio" 413 | version = "0.6.16" 414 | source = "registry+https://github.com/rust-lang/crates.io-index" 415 | dependencies = [ 416 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 417 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 418 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 419 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 420 | "lazycell 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 421 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 422 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 423 | "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 424 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 425 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 426 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 427 | ] 428 | 429 | [[package]] 430 | name = "mio-uds" 431 | version = "0.6.7" 432 | source = "registry+https://github.com/rust-lang/crates.io-index" 433 | dependencies = [ 434 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 435 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 436 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 437 | ] 438 | 439 | [[package]] 440 | name = "miow" 441 | version = "0.2.1" 442 | source = "registry+https://github.com/rust-lang/crates.io-index" 443 | dependencies = [ 444 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 445 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 446 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 447 | "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 448 | ] 449 | 450 | [[package]] 451 | name = "native-tls" 452 | version = "0.2.2" 453 | source = "registry+https://github.com/rust-lang/crates.io-index" 454 | dependencies = [ 455 | "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 456 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 457 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 458 | "openssl 0.10.15 (registry+https://github.com/rust-lang/crates.io-index)", 459 | "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 460 | "openssl-sys 0.9.39 (registry+https://github.com/rust-lang/crates.io-index)", 461 | "schannel 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 462 | "security-framework 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 463 | "security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 464 | "tempfile 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 465 | ] 466 | 467 | [[package]] 468 | name = "net2" 469 | version = "0.2.33" 470 | source = "registry+https://github.com/rust-lang/crates.io-index" 471 | dependencies = [ 472 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 473 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 474 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 475 | ] 476 | 477 | [[package]] 478 | name = "nodrop" 479 | version = "0.1.12" 480 | source = "registry+https://github.com/rust-lang/crates.io-index" 481 | 482 | [[package]] 483 | name = "num_cpus" 484 | version = "1.8.0" 485 | source = "registry+https://github.com/rust-lang/crates.io-index" 486 | dependencies = [ 487 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 488 | ] 489 | 490 | [[package]] 491 | name = "openssl" 492 | version = "0.10.15" 493 | source = "registry+https://github.com/rust-lang/crates.io-index" 494 | dependencies = [ 495 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 496 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 497 | "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 498 | "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 499 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 500 | "openssl-sys 0.9.39 (registry+https://github.com/rust-lang/crates.io-index)", 501 | ] 502 | 503 | [[package]] 504 | name = "openssl-probe" 505 | version = "0.1.2" 506 | source = "registry+https://github.com/rust-lang/crates.io-index" 507 | 508 | [[package]] 509 | name = "openssl-sys" 510 | version = "0.9.39" 511 | source = "registry+https://github.com/rust-lang/crates.io-index" 512 | dependencies = [ 513 | "cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", 514 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 515 | "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", 516 | "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 517 | ] 518 | 519 | [[package]] 520 | name = "owning_ref" 521 | version = "0.3.3" 522 | source = "registry+https://github.com/rust-lang/crates.io-index" 523 | dependencies = [ 524 | "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 525 | ] 526 | 527 | [[package]] 528 | name = "parking_lot" 529 | version = "0.6.4" 530 | source = "registry+https://github.com/rust-lang/crates.io-index" 531 | dependencies = [ 532 | "lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 533 | "parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 534 | ] 535 | 536 | [[package]] 537 | name = "parking_lot_core" 538 | version = "0.3.1" 539 | source = "registry+https://github.com/rust-lang/crates.io-index" 540 | dependencies = [ 541 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 542 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 543 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 544 | "smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", 545 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 546 | ] 547 | 548 | [[package]] 549 | name = "percent-encoding" 550 | version = "1.0.1" 551 | source = "registry+https://github.com/rust-lang/crates.io-index" 552 | 553 | [[package]] 554 | name = "phf" 555 | version = "0.7.23" 556 | source = "registry+https://github.com/rust-lang/crates.io-index" 557 | dependencies = [ 558 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 559 | ] 560 | 561 | [[package]] 562 | name = "phf_codegen" 563 | version = "0.7.23" 564 | source = "registry+https://github.com/rust-lang/crates.io-index" 565 | dependencies = [ 566 | "phf_generator 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 567 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 568 | ] 569 | 570 | [[package]] 571 | name = "phf_generator" 572 | version = "0.7.23" 573 | source = "registry+https://github.com/rust-lang/crates.io-index" 574 | dependencies = [ 575 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 576 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 577 | ] 578 | 579 | [[package]] 580 | name = "phf_shared" 581 | version = "0.7.23" 582 | source = "registry+https://github.com/rust-lang/crates.io-index" 583 | dependencies = [ 584 | "siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 585 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 586 | ] 587 | 588 | [[package]] 589 | name = "pkg-config" 590 | version = "0.3.14" 591 | source = "registry+https://github.com/rust-lang/crates.io-index" 592 | 593 | [[package]] 594 | name = "proc-macro2" 595 | version = "0.4.20" 596 | source = "registry+https://github.com/rust-lang/crates.io-index" 597 | dependencies = [ 598 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 599 | ] 600 | 601 | [[package]] 602 | name = "quote" 603 | version = "0.3.15" 604 | source = "registry+https://github.com/rust-lang/crates.io-index" 605 | 606 | [[package]] 607 | name = "quote" 608 | version = "0.6.8" 609 | source = "registry+https://github.com/rust-lang/crates.io-index" 610 | dependencies = [ 611 | "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 612 | ] 613 | 614 | [[package]] 615 | name = "rand" 616 | version = "0.5.5" 617 | source = "registry+https://github.com/rust-lang/crates.io-index" 618 | dependencies = [ 619 | "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 620 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 621 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 622 | "rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 623 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 624 | ] 625 | 626 | [[package]] 627 | name = "rand_core" 628 | version = "0.2.2" 629 | source = "registry+https://github.com/rust-lang/crates.io-index" 630 | dependencies = [ 631 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 632 | ] 633 | 634 | [[package]] 635 | name = "rand_core" 636 | version = "0.3.0" 637 | source = "registry+https://github.com/rust-lang/crates.io-index" 638 | 639 | [[package]] 640 | name = "redox_syscall" 641 | version = "0.1.40" 642 | source = "registry+https://github.com/rust-lang/crates.io-index" 643 | 644 | [[package]] 645 | name = "regex" 646 | version = "0.1.80" 647 | source = "registry+https://github.com/rust-lang/crates.io-index" 648 | dependencies = [ 649 | "aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", 650 | "memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 651 | "regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", 652 | "thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 653 | "utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 654 | ] 655 | 656 | [[package]] 657 | name = "regex-syntax" 658 | version = "0.3.9" 659 | source = "registry+https://github.com/rust-lang/crates.io-index" 660 | 661 | [[package]] 662 | name = "remove_dir_all" 663 | version = "0.5.1" 664 | source = "registry+https://github.com/rust-lang/crates.io-index" 665 | dependencies = [ 666 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 667 | ] 668 | 669 | [[package]] 670 | name = "reqwest" 671 | version = "0.9.3" 672 | source = "registry+https://github.com/rust-lang/crates.io-index" 673 | dependencies = [ 674 | "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", 675 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 676 | "encoding_rs 0.8.10 (registry+https://github.com/rust-lang/crates.io-index)", 677 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 678 | "http 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 679 | "hyper 0.12.12 (registry+https://github.com/rust-lang/crates.io-index)", 680 | "hyper-tls 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 681 | "libflate 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", 682 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 683 | "mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", 684 | "mime_guess 2.0.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", 685 | "native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 686 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 687 | "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", 688 | "serde_urlencoded 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", 689 | "tokio 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 690 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 691 | "url 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 692 | "uuid 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 693 | ] 694 | 695 | [[package]] 696 | name = "rustc_version" 697 | version = "0.2.3" 698 | source = "registry+https://github.com/rust-lang/crates.io-index" 699 | dependencies = [ 700 | "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 701 | ] 702 | 703 | [[package]] 704 | name = "ryu" 705 | version = "0.2.6" 706 | source = "registry+https://github.com/rust-lang/crates.io-index" 707 | 708 | [[package]] 709 | name = "safemem" 710 | version = "0.3.0" 711 | source = "registry+https://github.com/rust-lang/crates.io-index" 712 | 713 | [[package]] 714 | name = "schannel" 715 | version = "0.1.14" 716 | source = "registry+https://github.com/rust-lang/crates.io-index" 717 | dependencies = [ 718 | "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 719 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 720 | ] 721 | 722 | [[package]] 723 | name = "schemafy" 724 | version = "0.4.4" 725 | source = "registry+https://github.com/rust-lang/crates.io-index" 726 | dependencies = [ 727 | "Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", 728 | "itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", 729 | "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", 730 | "schemafy_snapshot 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 731 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 732 | "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 733 | "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", 734 | ] 735 | 736 | [[package]] 737 | name = "schemafy_snapshot" 738 | version = "0.4.1" 739 | source = "registry+https://github.com/rust-lang/crates.io-index" 740 | dependencies = [ 741 | "Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", 742 | "itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", 743 | "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", 744 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 745 | "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 746 | "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", 747 | ] 748 | 749 | [[package]] 750 | name = "scopeguard" 751 | version = "0.3.3" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | 754 | [[package]] 755 | name = "security-framework" 756 | version = "0.2.1" 757 | source = "registry+https://github.com/rust-lang/crates.io-index" 758 | dependencies = [ 759 | "core-foundation 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 760 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 761 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 762 | "security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 763 | ] 764 | 765 | [[package]] 766 | name = "security-framework-sys" 767 | version = "0.2.1" 768 | source = "registry+https://github.com/rust-lang/crates.io-index" 769 | dependencies = [ 770 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 771 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 772 | ] 773 | 774 | [[package]] 775 | name = "semver" 776 | version = "0.9.0" 777 | source = "registry+https://github.com/rust-lang/crates.io-index" 778 | dependencies = [ 779 | "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 780 | ] 781 | 782 | [[package]] 783 | name = "semver-parser" 784 | version = "0.7.0" 785 | source = "registry+https://github.com/rust-lang/crates.io-index" 786 | 787 | [[package]] 788 | name = "serde" 789 | version = "1.0.80" 790 | source = "registry+https://github.com/rust-lang/crates.io-index" 791 | 792 | [[package]] 793 | name = "serde_derive" 794 | version = "1.0.80" 795 | source = "registry+https://github.com/rust-lang/crates.io-index" 796 | dependencies = [ 797 | "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 798 | "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 799 | "syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)", 800 | ] 801 | 802 | [[package]] 803 | name = "serde_json" 804 | version = "1.0.32" 805 | source = "registry+https://github.com/rust-lang/crates.io-index" 806 | dependencies = [ 807 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 808 | "ryu 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 809 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 810 | ] 811 | 812 | [[package]] 813 | name = "serde_urlencoded" 814 | version = "0.5.3" 815 | source = "registry+https://github.com/rust-lang/crates.io-index" 816 | dependencies = [ 817 | "dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 818 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 819 | "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 820 | "url 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 821 | ] 822 | 823 | [[package]] 824 | name = "siphasher" 825 | version = "0.2.3" 826 | source = "registry+https://github.com/rust-lang/crates.io-index" 827 | 828 | [[package]] 829 | name = "slab" 830 | version = "0.4.1" 831 | source = "registry+https://github.com/rust-lang/crates.io-index" 832 | 833 | [[package]] 834 | name = "smallvec" 835 | version = "0.6.5" 836 | source = "registry+https://github.com/rust-lang/crates.io-index" 837 | dependencies = [ 838 | "unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 839 | ] 840 | 841 | [[package]] 842 | name = "stable_deref_trait" 843 | version = "1.1.1" 844 | source = "registry+https://github.com/rust-lang/crates.io-index" 845 | 846 | [[package]] 847 | name = "string" 848 | version = "0.1.1" 849 | source = "registry+https://github.com/rust-lang/crates.io-index" 850 | 851 | [[package]] 852 | name = "syn" 853 | version = "0.15.13" 854 | source = "registry+https://github.com/rust-lang/crates.io-index" 855 | dependencies = [ 856 | "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 857 | "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 858 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 859 | ] 860 | 861 | [[package]] 862 | name = "tempfile" 863 | version = "3.0.4" 864 | source = "registry+https://github.com/rust-lang/crates.io-index" 865 | dependencies = [ 866 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 867 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 868 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 869 | "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", 870 | "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 871 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 872 | ] 873 | 874 | [[package]] 875 | name = "thread-id" 876 | version = "2.0.0" 877 | source = "registry+https://github.com/rust-lang/crates.io-index" 878 | dependencies = [ 879 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 880 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 881 | ] 882 | 883 | [[package]] 884 | name = "thread_local" 885 | version = "0.2.7" 886 | source = "registry+https://github.com/rust-lang/crates.io-index" 887 | dependencies = [ 888 | "thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 889 | ] 890 | 891 | [[package]] 892 | name = "time" 893 | version = "0.1.40" 894 | source = "registry+https://github.com/rust-lang/crates.io-index" 895 | dependencies = [ 896 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 897 | "redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)", 898 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 899 | ] 900 | 901 | [[package]] 902 | name = "tokio" 903 | version = "0.1.11" 904 | source = "registry+https://github.com/rust-lang/crates.io-index" 905 | dependencies = [ 906 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 907 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 908 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 909 | "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 910 | "tokio-current-thread 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 911 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 912 | "tokio-fs 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 913 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 914 | "tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 915 | "tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 916 | "tokio-threadpool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 917 | "tokio-timer 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 918 | "tokio-udp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 919 | "tokio-uds 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 920 | ] 921 | 922 | [[package]] 923 | name = "tokio-codec" 924 | version = "0.1.1" 925 | source = "registry+https://github.com/rust-lang/crates.io-index" 926 | dependencies = [ 927 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 928 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 929 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 930 | ] 931 | 932 | [[package]] 933 | name = "tokio-current-thread" 934 | version = "0.1.3" 935 | source = "registry+https://github.com/rust-lang/crates.io-index" 936 | dependencies = [ 937 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 938 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 939 | ] 940 | 941 | [[package]] 942 | name = "tokio-executor" 943 | version = "0.1.5" 944 | source = "registry+https://github.com/rust-lang/crates.io-index" 945 | dependencies = [ 946 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 947 | ] 948 | 949 | [[package]] 950 | name = "tokio-fs" 951 | version = "0.1.4" 952 | source = "registry+https://github.com/rust-lang/crates.io-index" 953 | dependencies = [ 954 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 955 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 956 | "tokio-threadpool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 957 | ] 958 | 959 | [[package]] 960 | name = "tokio-io" 961 | version = "0.1.10" 962 | source = "registry+https://github.com/rust-lang/crates.io-index" 963 | dependencies = [ 964 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 965 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 966 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 967 | ] 968 | 969 | [[package]] 970 | name = "tokio-reactor" 971 | version = "0.1.6" 972 | source = "registry+https://github.com/rust-lang/crates.io-index" 973 | dependencies = [ 974 | "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 975 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 976 | "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 977 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 978 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 979 | "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 980 | "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", 981 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 982 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 983 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 984 | ] 985 | 986 | [[package]] 987 | name = "tokio-tcp" 988 | version = "0.1.2" 989 | source = "registry+https://github.com/rust-lang/crates.io-index" 990 | dependencies = [ 991 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 992 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 993 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 994 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 995 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 996 | "tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 997 | ] 998 | 999 | [[package]] 1000 | name = "tokio-threadpool" 1001 | version = "0.1.8" 1002 | source = "registry+https://github.com/rust-lang/crates.io-index" 1003 | dependencies = [ 1004 | "crossbeam-deque 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", 1005 | "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 1006 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1007 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 1008 | "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1009 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 1010 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1011 | ] 1012 | 1013 | [[package]] 1014 | name = "tokio-timer" 1015 | version = "0.2.7" 1016 | source = "registry+https://github.com/rust-lang/crates.io-index" 1017 | dependencies = [ 1018 | "crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 1019 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1020 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 1021 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1022 | ] 1023 | 1024 | [[package]] 1025 | name = "tokio-udp" 1026 | version = "0.1.2" 1027 | source = "registry+https://github.com/rust-lang/crates.io-index" 1028 | dependencies = [ 1029 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 1030 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1031 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 1032 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1033 | "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1034 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1035 | "tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 1036 | ] 1037 | 1038 | [[package]] 1039 | name = "tokio-uds" 1040 | version = "0.2.3" 1041 | source = "registry+https://github.com/rust-lang/crates.io-index" 1042 | dependencies = [ 1043 | "bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", 1044 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1045 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 1046 | "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)", 1047 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 1048 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1049 | "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", 1050 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1051 | "tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 1052 | ] 1053 | 1054 | [[package]] 1055 | name = "try-lock" 1056 | version = "0.2.2" 1057 | source = "registry+https://github.com/rust-lang/crates.io-index" 1058 | 1059 | [[package]] 1060 | name = "unicase" 1061 | version = "1.4.2" 1062 | source = "registry+https://github.com/rust-lang/crates.io-index" 1063 | dependencies = [ 1064 | "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1065 | ] 1066 | 1067 | [[package]] 1068 | name = "unicase" 1069 | version = "2.2.0" 1070 | source = "registry+https://github.com/rust-lang/crates.io-index" 1071 | dependencies = [ 1072 | "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1073 | ] 1074 | 1075 | [[package]] 1076 | name = "unicode-bidi" 1077 | version = "0.3.4" 1078 | source = "registry+https://github.com/rust-lang/crates.io-index" 1079 | dependencies = [ 1080 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1081 | ] 1082 | 1083 | [[package]] 1084 | name = "unicode-normalization" 1085 | version = "0.1.7" 1086 | source = "registry+https://github.com/rust-lang/crates.io-index" 1087 | 1088 | [[package]] 1089 | name = "unicode-xid" 1090 | version = "0.1.0" 1091 | source = "registry+https://github.com/rust-lang/crates.io-index" 1092 | 1093 | [[package]] 1094 | name = "unreachable" 1095 | version = "1.0.0" 1096 | source = "registry+https://github.com/rust-lang/crates.io-index" 1097 | dependencies = [ 1098 | "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1099 | ] 1100 | 1101 | [[package]] 1102 | name = "url" 1103 | version = "1.7.1" 1104 | source = "registry+https://github.com/rust-lang/crates.io-index" 1105 | dependencies = [ 1106 | "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1107 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1108 | "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1109 | ] 1110 | 1111 | [[package]] 1112 | name = "utf8-ranges" 1113 | version = "0.1.3" 1114 | source = "registry+https://github.com/rust-lang/crates.io-index" 1115 | 1116 | [[package]] 1117 | name = "uuid" 1118 | version = "0.7.1" 1119 | source = "registry+https://github.com/rust-lang/crates.io-index" 1120 | dependencies = [ 1121 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 1122 | ] 1123 | 1124 | [[package]] 1125 | name = "vcpkg" 1126 | version = "0.2.6" 1127 | source = "registry+https://github.com/rust-lang/crates.io-index" 1128 | 1129 | [[package]] 1130 | name = "version_check" 1131 | version = "0.1.5" 1132 | source = "registry+https://github.com/rust-lang/crates.io-index" 1133 | 1134 | [[package]] 1135 | name = "void" 1136 | version = "1.0.2" 1137 | source = "registry+https://github.com/rust-lang/crates.io-index" 1138 | 1139 | [[package]] 1140 | name = "want" 1141 | version = "0.0.6" 1142 | source = "registry+https://github.com/rust-lang/crates.io-index" 1143 | dependencies = [ 1144 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1145 | "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 1146 | "try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 1147 | ] 1148 | 1149 | [[package]] 1150 | name = "winapi" 1151 | version = "0.2.8" 1152 | source = "registry+https://github.com/rust-lang/crates.io-index" 1153 | 1154 | [[package]] 1155 | name = "winapi" 1156 | version = "0.3.6" 1157 | source = "registry+https://github.com/rust-lang/crates.io-index" 1158 | dependencies = [ 1159 | "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1160 | "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1161 | ] 1162 | 1163 | [[package]] 1164 | name = "winapi-build" 1165 | version = "0.1.1" 1166 | source = "registry+https://github.com/rust-lang/crates.io-index" 1167 | 1168 | [[package]] 1169 | name = "winapi-i686-pc-windows-gnu" 1170 | version = "0.4.0" 1171 | source = "registry+https://github.com/rust-lang/crates.io-index" 1172 | 1173 | [[package]] 1174 | name = "winapi-x86_64-pc-windows-gnu" 1175 | version = "0.4.0" 1176 | source = "registry+https://github.com/rust-lang/crates.io-index" 1177 | 1178 | [[package]] 1179 | name = "ws2_32-sys" 1180 | version = "0.2.1" 1181 | source = "registry+https://github.com/rust-lang/crates.io-index" 1182 | dependencies = [ 1183 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 1184 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1185 | ] 1186 | 1187 | [metadata] 1188 | "checksum Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0decfa7797c80a00f691d3701c44020d4e4311ea1130cc1de39be27634307ff4" 1189 | "checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c" 1190 | "checksum aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66" 1191 | "checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef" 1192 | "checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" 1193 | "checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" 1194 | "checksum build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39" 1195 | "checksum byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "90492c5858dd7d2e78691cfb89f90d273a2800fc11d98f60786e5d87e2f83781" 1196 | "checksum bytes 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "0ce55bd354b095246fc34caf4e9e242f5297a7fd938b090cadfea6eee614aa62" 1197 | "checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16" 1198 | "checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" 1199 | "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" 1200 | "checksum core-foundation 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "286e0b41c3a20da26536c6000a280585d519fd07b3956b43aed8a79e9edce980" 1201 | "checksum core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "716c271e8613ace48344f723b60b900a93150271e5be206212d052bbc0883efa" 1202 | "checksum crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb" 1203 | "checksum crossbeam-deque 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3486aefc4c0487b9cb52372c97df0a48b8c249514af1ee99703bf70d2f2ceda1" 1204 | "checksum crossbeam-epoch 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "30fecfcac6abfef8771151f8be4abc9e4edc112c2bcb233314cafde2680536e9" 1205 | "checksum crossbeam-utils 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "677d453a17e8bd2b913fa38e8b9cf04bcdbb5be790aa294f2389661d72036015" 1206 | "checksum dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6d301140eb411af13d3115f9a562c85cc6b541ade9dfa314132244aaee7489dd" 1207 | "checksum either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3be565ca5c557d7f59e7cfcf1844f9e3033650c929c6566f511e8005f205c1d0" 1208 | "checksum encoding_rs 0.8.10 (registry+https://github.com/rust-lang/crates.io-index)" = "065f4d0c826fdaef059ac45487169d918558e3cf86c9d89f6e81cf52369126e5" 1209 | "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" 1210 | "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 1211 | "checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 1212 | "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 1213 | "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 1214 | "checksum futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)" = "49e7653e374fe0d0c12de4250f0bdb60680b8c80eed558c5c7538eec9c89e21b" 1215 | "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" 1216 | "checksum h2 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd33bafe2e6370e6c8eb0cf1b8c5f93390b90acde7e9b03723f166b28b648ed" 1217 | "checksum http 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "24f58e8c2d8e886055c3ead7b28793e1455270b5fb39650984c224bc538ba581" 1218 | "checksum httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e8734b0cfd3bc3e101ec59100e101c2eecd19282202e87808b3037b442777a83" 1219 | "checksum hyper 0.12.12 (registry+https://github.com/rust-lang/crates.io-index)" = "4aca412c241a2dd53af261efc7adf7736fdebd67dc0d1cc1ffdbcb9407e0e810" 1220 | "checksum hyper-tls 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "32cd73f14ad370d3b4d4b7dce08f69b81536c82e39fcc89731930fe5788cd661" 1221 | "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" 1222 | "checksum indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d" 1223 | "checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08" 1224 | "checksum itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4833d6978da405305126af4ac88569b5d71ff758581ce5a987dbfa3755f694fc" 1225 | "checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" 1226 | "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" 1227 | "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" 1228 | "checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7" 1229 | "checksum lazycell 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ddba4c30a78328befecec92fc94970e53b3ae385827d28620f0f5bb2493081e0" 1230 | "checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d" 1231 | "checksum libflate 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "21138fc6669f438ed7ae3559d5789a5f0ba32f28c1f0608d1e452b0bb06ee936" 1232 | "checksum lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "775751a3e69bde4df9b38dd00a1b5d6ac13791e4223d4a0506577f0dd27cfb7a" 1233 | "checksum log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fcce5fa49cc693c312001daf1d13411c4a5283796bac1084299ea3e567113f" 1234 | "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" 1235 | "checksum memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20" 1236 | "checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" 1237 | "checksum mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)" = "0a907b83e7b9e987032439a387e187119cddafc92d5c2aaeb1d92580a793f630" 1238 | "checksum mime_guess 2.0.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)" = "30de2e4613efcba1ec63d8133f344076952090c122992a903359be5a4f99c3ed" 1239 | "checksum mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)" = "71646331f2619b1026cc302f87a2b8b648d5c6dd6937846a16cc8ce0f347f432" 1240 | "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" 1241 | "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" 1242 | "checksum native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ff8e08de0070bbf4c31f452ea2a70db092f36f6f2e4d897adf5674477d488fb2" 1243 | "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" 1244 | "checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2" 1245 | "checksum num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" 1246 | "checksum openssl 0.10.15 (registry+https://github.com/rust-lang/crates.io-index)" = "5e1309181cdcbdb51bc3b6bedb33dfac2a83b3d585033d3f6d9e22e8c1928613" 1247 | "checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" 1248 | "checksum openssl-sys 0.9.39 (registry+https://github.com/rust-lang/crates.io-index)" = "278c1ad40a89aa1e741a1eed089a2f60b18fab8089c3139b542140fc7d674106" 1249 | "checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" 1250 | "checksum parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0802bff09003b291ba756dc7e79313e51cc31667e94afbe847def490424cde5" 1251 | "checksum parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ad7f7e6ebdc79edff6fdcb87a55b620174f7a989e3eb31b65231f4af57f00b8c" 1252 | "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" 1253 | "checksum phf 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "cec29da322b242f4c3098852c77a0ca261c9c01b806cae85a5572a1eb94db9a6" 1254 | "checksum phf_codegen 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "7d187f00cd98d5afbcd8898f6cf181743a449162aeb329dcd2f3849009e605ad" 1255 | "checksum phf_generator 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "03dc191feb9b08b0dc1330d6549b795b9d81aec19efe6b4a45aec8d4caee0c4b" 1256 | "checksum phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "b539898d22d4273ded07f64a05737649dc69095d92cb87c7097ec68e3f150b93" 1257 | "checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c" 1258 | "checksum proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)" = "3d7b7eaaa90b4a90a932a9ea6666c95a389e424eff347f0f793979289429feee" 1259 | "checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" 1260 | "checksum quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dd636425967c33af890042c483632d33fa7a18f19ad1d7ea72e8998c6ef8dea5" 1261 | "checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c" 1262 | "checksum rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372" 1263 | "checksum rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0905b6b7079ec73b314d4c748701f6931eb79fd97c668caa3f1899b22b32c6db" 1264 | "checksum redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1" 1265 | "checksum regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)" = "4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f" 1266 | "checksum regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957" 1267 | "checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" 1268 | "checksum reqwest 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "aa238ac676ec77e62be3e70656828ca4f596fccd33c6fab92942701bc8c8b4fe" 1269 | "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" 1270 | "checksum ryu 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7153dd96dade874ab973e098cb62fcdbb89a03682e46b144fd09550998d4a4a7" 1271 | "checksum safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8dca453248a96cb0749e36ccdfe2b0b4e54a61bfef89fb97ec621eb8e0a93dd9" 1272 | "checksum schannel 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "0e1a231dc10abf6749cfa5d7767f25888d484201accbd919b66ab5413c502d56" 1273 | "checksum schemafy 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "4d0849702751d250c853fe539ca9625c7304ccf01ef6af0b990b710d21e09514" 1274 | "checksum schemafy_snapshot 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c41ae5ab0e8472188bf3755b78a4c8ae1f5773e329c98f1ca61b86e6a7ca3a8" 1275 | "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" 1276 | "checksum security-framework 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "697d3f3c23a618272ead9e1fb259c1411102b31c6af8b93f1d64cca9c3b0e8e0" 1277 | "checksum security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab01dfbe5756785b5b4d46e0289e5a18071dfa9a7c2b24213ea00b9ef9b665bf" 1278 | "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 1279 | "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" 1280 | "checksum serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)" = "15c141fc7027dd265a47c090bf864cf62b42c4d228bbcf4e51a0c9e2b0d3f7ef" 1281 | "checksum serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)" = "225de307c6302bec3898c51ca302fc94a7a1697ef0845fcee6448f33c032249c" 1282 | "checksum serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)" = "43344e7ce05d0d8280c5940cabb4964bea626aa58b1ec0e8c73fa2a8512a38ce" 1283 | "checksum serde_urlencoded 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "aaed41d9fb1e2f587201b863356590c90c1157495d811430a0c0325fe8169650" 1284 | "checksum siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac" 1285 | "checksum slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5f9776d6b986f77b35c6cf846c11ad986ff128fe0b2b63a3628e3755e8d3102d" 1286 | "checksum smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "153ffa32fd170e9944f7e0838edf824a754ec4c1fc64746fcc9fe1f8fa602e5d" 1287 | "checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" 1288 | "checksum string 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00caf261d6f90f588f8450b8e1230fa0d5be49ee6140fdfbcb55335aff350970" 1289 | "checksum syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)" = "7b4439ee8325b4e4b57e59309c3724c9a4478eaeb4eb094b6f3fac180a3b2876" 1290 | "checksum tempfile 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "55c1195ef8513f3273d55ff59fe5da6940287a0d7a98331254397f464833675b" 1291 | "checksum thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03" 1292 | "checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" 1293 | "checksum time 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b" 1294 | "checksum tokio 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "6e93c78d23cc61aa245a8acd2c4a79c4d7fa7fb5c3ca90d5737029f043a84895" 1295 | "checksum tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5c501eceaf96f0e1793cf26beb63da3d11c738c4a943fdf3746d81d64684c39f" 1296 | "checksum tokio-current-thread 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f90fcd90952f0a496d438a976afba8e5c205fb12123f813d8ab3aa1c8436638c" 1297 | "checksum tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c117b6cf86bb730aab4834f10df96e4dd586eff2c3c27d3781348da49e255bde" 1298 | "checksum tokio-fs 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "60ae25f6b17d25116d2cba342083abe5255d3c2c79cb21ea11aa049c53bf7c75" 1299 | "checksum tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "7392fe0a70d5ce0c882c4778116c519bd5dbaa8a7c3ae3d04578b3afafdcda21" 1300 | "checksum tokio-reactor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "4b26fd37f1125738b2170c80b551f69ff6fecb277e6e5ca885e53eec2b005018" 1301 | "checksum tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7ad235e9dadd126b2d47f6736f65aa1fdcd6420e66ca63f44177bc78df89f912" 1302 | "checksum tokio-threadpool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3929aee321c9220ed838ed6c3928be7f9b69986b0e3c22c972a66dbf8a298c68" 1303 | "checksum tokio-timer 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "3a52f00c97fedb6d535d27f65cccb7181c8dd4c6edc3eda9ea93f6d45d05168e" 1304 | "checksum tokio-udp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "da941144b816d0dcda4db3a1ba87596e4df5e860a72b70783fe435891f80601c" 1305 | "checksum tokio-uds 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "df195376b43508f01570bacc73e13a1de0854dc59e79d1ec09913e8db6dd2a70" 1306 | "checksum try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" 1307 | "checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33" 1308 | "checksum unicase 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9d3218ea14b4edcaccfa0df0a64a3792a2c32cc706f1b336e48867f9d3147f90" 1309 | "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" 1310 | "checksum unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6a0180bc61fc5a987082bfa111f4cc95c4caff7f9799f3e46df09163a937aa25" 1311 | "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 1312 | "checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" 1313 | "checksum url 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2a321979c09843d272956e73700d12c4e7d3d92b2ee112b31548aef0d4efc5a6" 1314 | "checksum utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f" 1315 | "checksum uuid 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dab5c5526c5caa3d106653401a267fed923e7046f35895ffcb5ca42db64942e6" 1316 | "checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d" 1317 | "checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" 1318 | "checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 1319 | "checksum want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3" 1320 | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" 1321 | "checksum winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0" 1322 | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" 1323 | "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1324 | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1325 | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" 1326 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "danger" 3 | version = "0.1.0" 4 | authors = ["Orta Therox "] 5 | 6 | description = "Create Danger rules in Rust" 7 | homepage = "https://github.com/danger/rust" 8 | repository = "https://github.com/danger/rust" 9 | license-file = "LICENSE" 10 | 11 | exclude = [ 12 | "fixtures/*", 13 | "screenshots/*", 14 | ".vscode/*", 15 | "example/*", 16 | ] 17 | 18 | [dependencies] 19 | serde = "^1.0" 20 | serde_json = "^1.0" 21 | serde_derive = "^1.0" 22 | 23 | # These two are bugs, I need them for update_types.rs but don't 24 | # know how to not make it a core dep :-/ 25 | schemafy = "0.4.3" 26 | reqwest = "^0" 27 | 28 | [dev-dependencies] 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Orta Therox 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Danger in Rust 2 | 3 | [![Build Status](https://travis-ci.org/danger/rust/rust.svg?branch=master)](https://travis-ci.org/danger/rust) 4 | 5 | This is the minimal version of running Danger in Rust. It is a cargo module which expects the [JSON DSL from 6 | Danger JS](https://danger.systems/js/usage/danger-process.html) and provides a type-safe way to interact with it 7 | from inside the app. 8 | 9 | ![screenshots/wip1.png](screenshots/wip1.png) 10 | 11 | ## Next Steps 12 | 13 | - Figure out the distribution method to get it running on other people's CI 14 | - Compiling a Rust dangerfile `danger.rs` and injecting that with the additional runtime work (passing data in/out) 15 | - Creating commands for `ci`, `pr`, `local` 16 | - Error handling 17 | 18 | I'm learning everything from scratch, so, some of these may take quite a while. 19 | 20 | # Contributing 21 | 22 | ### Building Danger 23 | 24 | ```sh 25 | cargo run --bin danger-rust 26 | ``` 27 | 28 | ### Running Danger in Dev 29 | 30 | This is how you can test out how things work: 31 | 32 | ```sh 33 | # Pipe the JSON in and potentially compile + exec 34 | cat fixtures/danger-js-697.json | cargo run --bin danger-rust 35 | 36 | # Or, build then compile 37 | 38 | # build the binary 39 | cargo build --bin danger-rust 40 | # Run it and pipe in the JSON to STDIN 41 | cat fixtures/danger-js-697.json | ./target/debug/danger-rust 42 | ``` 43 | 44 | ### Scripts 45 | 46 | Update the Rust Types from the JSON schema of Danger's DSL 47 | 48 | ```sh 49 | cargo run --bin update_types 50 | ``` 51 | 52 | Grab a Danger JS incoming JSON example 53 | 54 | ```sh 55 | # uses danger-js the `--dangerfile xxyy` is a bug 56 | danger pr https://github.com/danger/danger-js/pull/697 --json > fixtures/danger-js-697.json --dangerfile LICENSE 57 | ``` 58 | -------------------------------------------------------------------------------- /example/Cargo.lock: -------------------------------------------------------------------------------- 1 | [[package]] 2 | name = "Inflector" 3 | version = "0.6.0" 4 | source = "registry+https://github.com/rust-lang/crates.io-index" 5 | dependencies = [ 6 | "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", 7 | "regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)", 8 | ] 9 | 10 | [[package]] 11 | name = "adler32" 12 | version = "1.0.3" 13 | source = "registry+https://github.com/rust-lang/crates.io-index" 14 | 15 | [[package]] 16 | name = "aho-corasick" 17 | version = "0.5.3" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | dependencies = [ 20 | "memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 21 | ] 22 | 23 | [[package]] 24 | name = "arrayvec" 25 | version = "0.4.9" 26 | source = "registry+https://github.com/rust-lang/crates.io-index" 27 | dependencies = [ 28 | "nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 29 | ] 30 | 31 | [[package]] 32 | name = "base64" 33 | version = "0.9.3" 34 | source = "registry+https://github.com/rust-lang/crates.io-index" 35 | dependencies = [ 36 | "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 37 | "safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 38 | ] 39 | 40 | [[package]] 41 | name = "bitflags" 42 | version = "1.0.4" 43 | source = "registry+https://github.com/rust-lang/crates.io-index" 44 | 45 | [[package]] 46 | name = "byteorder" 47 | version = "1.2.7" 48 | source = "registry+https://github.com/rust-lang/crates.io-index" 49 | 50 | [[package]] 51 | name = "bytes" 52 | version = "0.4.11" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | dependencies = [ 55 | "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 56 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 57 | ] 58 | 59 | [[package]] 60 | name = "cc" 61 | version = "1.0.26" 62 | source = "registry+https://github.com/rust-lang/crates.io-index" 63 | 64 | [[package]] 65 | name = "cfg-if" 66 | version = "0.1.6" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | 69 | [[package]] 70 | name = "cloudabi" 71 | version = "0.0.3" 72 | source = "registry+https://github.com/rust-lang/crates.io-index" 73 | dependencies = [ 74 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 75 | ] 76 | 77 | [[package]] 78 | name = "core-foundation" 79 | version = "0.5.1" 80 | source = "registry+https://github.com/rust-lang/crates.io-index" 81 | dependencies = [ 82 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 83 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 84 | ] 85 | 86 | [[package]] 87 | name = "core-foundation-sys" 88 | version = "0.5.1" 89 | source = "registry+https://github.com/rust-lang/crates.io-index" 90 | dependencies = [ 91 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 92 | ] 93 | 94 | [[package]] 95 | name = "crc32fast" 96 | version = "1.1.2" 97 | source = "registry+https://github.com/rust-lang/crates.io-index" 98 | dependencies = [ 99 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 100 | ] 101 | 102 | [[package]] 103 | name = "crossbeam-deque" 104 | version = "0.6.3" 105 | source = "registry+https://github.com/rust-lang/crates.io-index" 106 | dependencies = [ 107 | "crossbeam-epoch 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 108 | "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 109 | ] 110 | 111 | [[package]] 112 | name = "crossbeam-epoch" 113 | version = "0.7.0" 114 | source = "registry+https://github.com/rust-lang/crates.io-index" 115 | dependencies = [ 116 | "arrayvec 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", 117 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 118 | "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 119 | "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 120 | "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 121 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 122 | ] 123 | 124 | [[package]] 125 | name = "crossbeam-utils" 126 | version = "0.6.3" 127 | source = "registry+https://github.com/rust-lang/crates.io-index" 128 | dependencies = [ 129 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 130 | ] 131 | 132 | [[package]] 133 | name = "danger" 134 | version = "0.1.0" 135 | dependencies = [ 136 | "reqwest 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)", 137 | "schemafy 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", 138 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 139 | "serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 140 | "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", 141 | ] 142 | 143 | [[package]] 144 | name = "dtoa" 145 | version = "0.4.3" 146 | source = "registry+https://github.com/rust-lang/crates.io-index" 147 | 148 | [[package]] 149 | name = "either" 150 | version = "1.5.0" 151 | source = "registry+https://github.com/rust-lang/crates.io-index" 152 | 153 | [[package]] 154 | name = "encoding_rs" 155 | version = "0.8.13" 156 | source = "registry+https://github.com/rust-lang/crates.io-index" 157 | dependencies = [ 158 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 159 | ] 160 | 161 | [[package]] 162 | name = "example" 163 | version = "0.1.0" 164 | dependencies = [ 165 | "danger 0.1.0", 166 | ] 167 | 168 | [[package]] 169 | name = "fnv" 170 | version = "1.0.6" 171 | source = "registry+https://github.com/rust-lang/crates.io-index" 172 | 173 | [[package]] 174 | name = "foreign-types" 175 | version = "0.3.2" 176 | source = "registry+https://github.com/rust-lang/crates.io-index" 177 | dependencies = [ 178 | "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 179 | ] 180 | 181 | [[package]] 182 | name = "foreign-types-shared" 183 | version = "0.1.1" 184 | source = "registry+https://github.com/rust-lang/crates.io-index" 185 | 186 | [[package]] 187 | name = "fuchsia-zircon" 188 | version = "0.3.3" 189 | source = "registry+https://github.com/rust-lang/crates.io-index" 190 | dependencies = [ 191 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 192 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 193 | ] 194 | 195 | [[package]] 196 | name = "fuchsia-zircon-sys" 197 | version = "0.3.3" 198 | source = "registry+https://github.com/rust-lang/crates.io-index" 199 | 200 | [[package]] 201 | name = "futures" 202 | version = "0.1.25" 203 | source = "registry+https://github.com/rust-lang/crates.io-index" 204 | 205 | [[package]] 206 | name = "futures-cpupool" 207 | version = "0.1.8" 208 | source = "registry+https://github.com/rust-lang/crates.io-index" 209 | dependencies = [ 210 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 211 | "num_cpus 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 212 | ] 213 | 214 | [[package]] 215 | name = "h2" 216 | version = "0.1.14" 217 | source = "registry+https://github.com/rust-lang/crates.io-index" 218 | dependencies = [ 219 | "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 220 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 221 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 222 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 223 | "http 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 224 | "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 225 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 226 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 227 | "string 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 228 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 229 | ] 230 | 231 | [[package]] 232 | name = "http" 233 | version = "0.1.14" 234 | source = "registry+https://github.com/rust-lang/crates.io-index" 235 | dependencies = [ 236 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 237 | "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 238 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 239 | ] 240 | 241 | [[package]] 242 | name = "httparse" 243 | version = "1.3.3" 244 | source = "registry+https://github.com/rust-lang/crates.io-index" 245 | 246 | [[package]] 247 | name = "hyper" 248 | version = "0.12.18" 249 | source = "registry+https://github.com/rust-lang/crates.io-index" 250 | dependencies = [ 251 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 252 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 253 | "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 254 | "h2 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 255 | "http 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 256 | "httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 257 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 258 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 259 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 260 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 261 | "time 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", 262 | "tokio 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 263 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 264 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 265 | "tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 266 | "tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 267 | "tokio-threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 268 | "tokio-timer 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 269 | "want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 270 | ] 271 | 272 | [[package]] 273 | name = "hyper-tls" 274 | version = "0.3.1" 275 | source = "registry+https://github.com/rust-lang/crates.io-index" 276 | dependencies = [ 277 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 278 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 279 | "hyper 0.12.18 (registry+https://github.com/rust-lang/crates.io-index)", 280 | "native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 281 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 282 | ] 283 | 284 | [[package]] 285 | name = "idna" 286 | version = "0.1.5" 287 | source = "registry+https://github.com/rust-lang/crates.io-index" 288 | dependencies = [ 289 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 290 | "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", 291 | "unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 292 | ] 293 | 294 | [[package]] 295 | name = "indexmap" 296 | version = "1.0.2" 297 | source = "registry+https://github.com/rust-lang/crates.io-index" 298 | 299 | [[package]] 300 | name = "iovec" 301 | version = "0.1.2" 302 | source = "registry+https://github.com/rust-lang/crates.io-index" 303 | dependencies = [ 304 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 305 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 306 | ] 307 | 308 | [[package]] 309 | name = "itertools" 310 | version = "0.5.10" 311 | source = "registry+https://github.com/rust-lang/crates.io-index" 312 | dependencies = [ 313 | "either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 314 | ] 315 | 316 | [[package]] 317 | name = "itoa" 318 | version = "0.4.3" 319 | source = "registry+https://github.com/rust-lang/crates.io-index" 320 | 321 | [[package]] 322 | name = "kernel32-sys" 323 | version = "0.2.2" 324 | source = "registry+https://github.com/rust-lang/crates.io-index" 325 | dependencies = [ 326 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 327 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 328 | ] 329 | 330 | [[package]] 331 | name = "lazy_static" 332 | version = "0.2.11" 333 | source = "registry+https://github.com/rust-lang/crates.io-index" 334 | 335 | [[package]] 336 | name = "lazy_static" 337 | version = "1.2.0" 338 | source = "registry+https://github.com/rust-lang/crates.io-index" 339 | 340 | [[package]] 341 | name = "lazycell" 342 | version = "1.2.1" 343 | source = "registry+https://github.com/rust-lang/crates.io-index" 344 | 345 | [[package]] 346 | name = "libc" 347 | version = "0.2.45" 348 | source = "registry+https://github.com/rust-lang/crates.io-index" 349 | 350 | [[package]] 351 | name = "libflate" 352 | version = "0.1.19" 353 | source = "registry+https://github.com/rust-lang/crates.io-index" 354 | dependencies = [ 355 | "adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 356 | "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 357 | "crc32fast 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 358 | ] 359 | 360 | [[package]] 361 | name = "lock_api" 362 | version = "0.1.5" 363 | source = "registry+https://github.com/rust-lang/crates.io-index" 364 | dependencies = [ 365 | "owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 366 | "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 367 | ] 368 | 369 | [[package]] 370 | name = "log" 371 | version = "0.4.6" 372 | source = "registry+https://github.com/rust-lang/crates.io-index" 373 | dependencies = [ 374 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 375 | ] 376 | 377 | [[package]] 378 | name = "matches" 379 | version = "0.1.8" 380 | source = "registry+https://github.com/rust-lang/crates.io-index" 381 | 382 | [[package]] 383 | name = "memchr" 384 | version = "0.1.11" 385 | source = "registry+https://github.com/rust-lang/crates.io-index" 386 | dependencies = [ 387 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 388 | ] 389 | 390 | [[package]] 391 | name = "memoffset" 392 | version = "0.2.1" 393 | source = "registry+https://github.com/rust-lang/crates.io-index" 394 | 395 | [[package]] 396 | name = "mime" 397 | version = "0.3.12" 398 | source = "registry+https://github.com/rust-lang/crates.io-index" 399 | dependencies = [ 400 | "unicase 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 401 | ] 402 | 403 | [[package]] 404 | name = "mime_guess" 405 | version = "2.0.0-alpha.6" 406 | source = "registry+https://github.com/rust-lang/crates.io-index" 407 | dependencies = [ 408 | "mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", 409 | "phf 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 410 | "phf_codegen 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 411 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 412 | ] 413 | 414 | [[package]] 415 | name = "mio" 416 | version = "0.6.16" 417 | source = "registry+https://github.com/rust-lang/crates.io-index" 418 | dependencies = [ 419 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 420 | "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 421 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 422 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 423 | "lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 424 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 425 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 426 | "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 427 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 428 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 429 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 430 | ] 431 | 432 | [[package]] 433 | name = "mio-uds" 434 | version = "0.6.7" 435 | source = "registry+https://github.com/rust-lang/crates.io-index" 436 | dependencies = [ 437 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 438 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 439 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 440 | ] 441 | 442 | [[package]] 443 | name = "miow" 444 | version = "0.2.1" 445 | source = "registry+https://github.com/rust-lang/crates.io-index" 446 | dependencies = [ 447 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 448 | "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 449 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 450 | "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 451 | ] 452 | 453 | [[package]] 454 | name = "native-tls" 455 | version = "0.2.2" 456 | source = "registry+https://github.com/rust-lang/crates.io-index" 457 | dependencies = [ 458 | "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 459 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 460 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 461 | "openssl 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)", 462 | "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 463 | "openssl-sys 0.9.40 (registry+https://github.com/rust-lang/crates.io-index)", 464 | "schannel 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 465 | "security-framework 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 466 | "security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 467 | "tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)", 468 | ] 469 | 470 | [[package]] 471 | name = "net2" 472 | version = "0.2.33" 473 | source = "registry+https://github.com/rust-lang/crates.io-index" 474 | dependencies = [ 475 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 476 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 477 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 478 | ] 479 | 480 | [[package]] 481 | name = "nodrop" 482 | version = "0.1.13" 483 | source = "registry+https://github.com/rust-lang/crates.io-index" 484 | 485 | [[package]] 486 | name = "num_cpus" 487 | version = "1.9.0" 488 | source = "registry+https://github.com/rust-lang/crates.io-index" 489 | dependencies = [ 490 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 491 | ] 492 | 493 | [[package]] 494 | name = "openssl" 495 | version = "0.10.16" 496 | source = "registry+https://github.com/rust-lang/crates.io-index" 497 | dependencies = [ 498 | "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 499 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 500 | "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 501 | "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 502 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 503 | "openssl-sys 0.9.40 (registry+https://github.com/rust-lang/crates.io-index)", 504 | ] 505 | 506 | [[package]] 507 | name = "openssl-probe" 508 | version = "0.1.2" 509 | source = "registry+https://github.com/rust-lang/crates.io-index" 510 | 511 | [[package]] 512 | name = "openssl-sys" 513 | version = "0.9.40" 514 | source = "registry+https://github.com/rust-lang/crates.io-index" 515 | dependencies = [ 516 | "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", 517 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 518 | "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", 519 | "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 520 | ] 521 | 522 | [[package]] 523 | name = "owning_ref" 524 | version = "0.4.0" 525 | source = "registry+https://github.com/rust-lang/crates.io-index" 526 | dependencies = [ 527 | "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 528 | ] 529 | 530 | [[package]] 531 | name = "parking_lot" 532 | version = "0.6.4" 533 | source = "registry+https://github.com/rust-lang/crates.io-index" 534 | dependencies = [ 535 | "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 536 | "parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 537 | ] 538 | 539 | [[package]] 540 | name = "parking_lot_core" 541 | version = "0.3.1" 542 | source = "registry+https://github.com/rust-lang/crates.io-index" 543 | dependencies = [ 544 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 545 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 546 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 547 | "smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", 548 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 549 | ] 550 | 551 | [[package]] 552 | name = "percent-encoding" 553 | version = "1.0.1" 554 | source = "registry+https://github.com/rust-lang/crates.io-index" 555 | 556 | [[package]] 557 | name = "phf" 558 | version = "0.7.23" 559 | source = "registry+https://github.com/rust-lang/crates.io-index" 560 | dependencies = [ 561 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 562 | ] 563 | 564 | [[package]] 565 | name = "phf_codegen" 566 | version = "0.7.23" 567 | source = "registry+https://github.com/rust-lang/crates.io-index" 568 | dependencies = [ 569 | "phf_generator 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 570 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 571 | ] 572 | 573 | [[package]] 574 | name = "phf_generator" 575 | version = "0.7.23" 576 | source = "registry+https://github.com/rust-lang/crates.io-index" 577 | dependencies = [ 578 | "phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)", 579 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 580 | ] 581 | 582 | [[package]] 583 | name = "phf_shared" 584 | version = "0.7.23" 585 | source = "registry+https://github.com/rust-lang/crates.io-index" 586 | dependencies = [ 587 | "siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 588 | "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 589 | ] 590 | 591 | [[package]] 592 | name = "pkg-config" 593 | version = "0.3.14" 594 | source = "registry+https://github.com/rust-lang/crates.io-index" 595 | 596 | [[package]] 597 | name = "proc-macro2" 598 | version = "0.4.24" 599 | source = "registry+https://github.com/rust-lang/crates.io-index" 600 | dependencies = [ 601 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 602 | ] 603 | 604 | [[package]] 605 | name = "quote" 606 | version = "0.3.15" 607 | source = "registry+https://github.com/rust-lang/crates.io-index" 608 | 609 | [[package]] 610 | name = "quote" 611 | version = "0.6.10" 612 | source = "registry+https://github.com/rust-lang/crates.io-index" 613 | dependencies = [ 614 | "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", 615 | ] 616 | 617 | [[package]] 618 | name = "rand" 619 | version = "0.5.5" 620 | source = "registry+https://github.com/rust-lang/crates.io-index" 621 | dependencies = [ 622 | "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 623 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 624 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 625 | "rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 626 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 627 | ] 628 | 629 | [[package]] 630 | name = "rand" 631 | version = "0.6.1" 632 | source = "registry+https://github.com/rust-lang/crates.io-index" 633 | dependencies = [ 634 | "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 635 | "fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 636 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 637 | "rand_chacha 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 638 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 639 | "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 640 | "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 641 | "rand_pcg 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 642 | "rand_xorshift 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 643 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 644 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 645 | ] 646 | 647 | [[package]] 648 | name = "rand_chacha" 649 | version = "0.1.0" 650 | source = "registry+https://github.com/rust-lang/crates.io-index" 651 | dependencies = [ 652 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 653 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 654 | ] 655 | 656 | [[package]] 657 | name = "rand_core" 658 | version = "0.2.2" 659 | source = "registry+https://github.com/rust-lang/crates.io-index" 660 | dependencies = [ 661 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 662 | ] 663 | 664 | [[package]] 665 | name = "rand_core" 666 | version = "0.3.0" 667 | source = "registry+https://github.com/rust-lang/crates.io-index" 668 | 669 | [[package]] 670 | name = "rand_hc" 671 | version = "0.1.0" 672 | source = "registry+https://github.com/rust-lang/crates.io-index" 673 | dependencies = [ 674 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 675 | ] 676 | 677 | [[package]] 678 | name = "rand_isaac" 679 | version = "0.1.1" 680 | source = "registry+https://github.com/rust-lang/crates.io-index" 681 | dependencies = [ 682 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 683 | ] 684 | 685 | [[package]] 686 | name = "rand_pcg" 687 | version = "0.1.1" 688 | source = "registry+https://github.com/rust-lang/crates.io-index" 689 | dependencies = [ 690 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 691 | "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 692 | ] 693 | 694 | [[package]] 695 | name = "rand_xorshift" 696 | version = "0.1.0" 697 | source = "registry+https://github.com/rust-lang/crates.io-index" 698 | dependencies = [ 699 | "rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 700 | ] 701 | 702 | [[package]] 703 | name = "redox_syscall" 704 | version = "0.1.44" 705 | source = "registry+https://github.com/rust-lang/crates.io-index" 706 | 707 | [[package]] 708 | name = "regex" 709 | version = "0.1.80" 710 | source = "registry+https://github.com/rust-lang/crates.io-index" 711 | dependencies = [ 712 | "aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", 713 | "memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", 714 | "regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", 715 | "thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 716 | "utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 717 | ] 718 | 719 | [[package]] 720 | name = "regex-syntax" 721 | version = "0.3.9" 722 | source = "registry+https://github.com/rust-lang/crates.io-index" 723 | 724 | [[package]] 725 | name = "remove_dir_all" 726 | version = "0.5.1" 727 | source = "registry+https://github.com/rust-lang/crates.io-index" 728 | dependencies = [ 729 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 730 | ] 731 | 732 | [[package]] 733 | name = "reqwest" 734 | version = "0.9.5" 735 | source = "registry+https://github.com/rust-lang/crates.io-index" 736 | dependencies = [ 737 | "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", 738 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 739 | "encoding_rs 0.8.13 (registry+https://github.com/rust-lang/crates.io-index)", 740 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 741 | "http 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", 742 | "hyper 0.12.18 (registry+https://github.com/rust-lang/crates.io-index)", 743 | "hyper-tls 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 744 | "libflate 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)", 745 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 746 | "mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)", 747 | "mime_guess 2.0.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", 748 | "native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 749 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 750 | "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", 751 | "serde_urlencoded 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", 752 | "tokio 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", 753 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 754 | "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", 755 | "uuid 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 756 | ] 757 | 758 | [[package]] 759 | name = "rustc_version" 760 | version = "0.2.3" 761 | source = "registry+https://github.com/rust-lang/crates.io-index" 762 | dependencies = [ 763 | "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 764 | ] 765 | 766 | [[package]] 767 | name = "ryu" 768 | version = "0.2.7" 769 | source = "registry+https://github.com/rust-lang/crates.io-index" 770 | 771 | [[package]] 772 | name = "safemem" 773 | version = "0.3.0" 774 | source = "registry+https://github.com/rust-lang/crates.io-index" 775 | 776 | [[package]] 777 | name = "schannel" 778 | version = "0.1.14" 779 | source = "registry+https://github.com/rust-lang/crates.io-index" 780 | dependencies = [ 781 | "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 782 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 783 | ] 784 | 785 | [[package]] 786 | name = "schemafy" 787 | version = "0.4.4" 788 | source = "registry+https://github.com/rust-lang/crates.io-index" 789 | dependencies = [ 790 | "Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", 791 | "itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", 792 | "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", 793 | "schemafy_snapshot 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 794 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 795 | "serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 796 | "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", 797 | ] 798 | 799 | [[package]] 800 | name = "schemafy_snapshot" 801 | version = "0.4.1" 802 | source = "registry+https://github.com/rust-lang/crates.io-index" 803 | dependencies = [ 804 | "Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", 805 | "itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)", 806 | "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", 807 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 808 | "serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 809 | "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", 810 | ] 811 | 812 | [[package]] 813 | name = "scopeguard" 814 | version = "0.3.3" 815 | source = "registry+https://github.com/rust-lang/crates.io-index" 816 | 817 | [[package]] 818 | name = "security-framework" 819 | version = "0.2.1" 820 | source = "registry+https://github.com/rust-lang/crates.io-index" 821 | dependencies = [ 822 | "core-foundation 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 823 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 824 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 825 | "security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 826 | ] 827 | 828 | [[package]] 829 | name = "security-framework-sys" 830 | version = "0.2.1" 831 | source = "registry+https://github.com/rust-lang/crates.io-index" 832 | dependencies = [ 833 | "core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 834 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 835 | ] 836 | 837 | [[package]] 838 | name = "semver" 839 | version = "0.9.0" 840 | source = "registry+https://github.com/rust-lang/crates.io-index" 841 | dependencies = [ 842 | "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 843 | ] 844 | 845 | [[package]] 846 | name = "semver-parser" 847 | version = "0.7.0" 848 | source = "registry+https://github.com/rust-lang/crates.io-index" 849 | 850 | [[package]] 851 | name = "serde" 852 | version = "1.0.82" 853 | source = "registry+https://github.com/rust-lang/crates.io-index" 854 | 855 | [[package]] 856 | name = "serde_derive" 857 | version = "1.0.82" 858 | source = "registry+https://github.com/rust-lang/crates.io-index" 859 | dependencies = [ 860 | "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", 861 | "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", 862 | "syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)", 863 | ] 864 | 865 | [[package]] 866 | name = "serde_json" 867 | version = "1.0.33" 868 | source = "registry+https://github.com/rust-lang/crates.io-index" 869 | dependencies = [ 870 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 871 | "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", 872 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 873 | ] 874 | 875 | [[package]] 876 | name = "serde_urlencoded" 877 | version = "0.5.4" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | dependencies = [ 880 | "dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 881 | "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", 882 | "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)", 883 | "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)", 884 | ] 885 | 886 | [[package]] 887 | name = "siphasher" 888 | version = "0.2.3" 889 | source = "registry+https://github.com/rust-lang/crates.io-index" 890 | 891 | [[package]] 892 | name = "slab" 893 | version = "0.4.1" 894 | source = "registry+https://github.com/rust-lang/crates.io-index" 895 | 896 | [[package]] 897 | name = "smallvec" 898 | version = "0.6.7" 899 | source = "registry+https://github.com/rust-lang/crates.io-index" 900 | dependencies = [ 901 | "unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 902 | ] 903 | 904 | [[package]] 905 | name = "stable_deref_trait" 906 | version = "1.1.1" 907 | source = "registry+https://github.com/rust-lang/crates.io-index" 908 | 909 | [[package]] 910 | name = "string" 911 | version = "0.1.2" 912 | source = "registry+https://github.com/rust-lang/crates.io-index" 913 | 914 | [[package]] 915 | name = "syn" 916 | version = "0.15.23" 917 | source = "registry+https://github.com/rust-lang/crates.io-index" 918 | dependencies = [ 919 | "proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)", 920 | "quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", 921 | "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 922 | ] 923 | 924 | [[package]] 925 | name = "tempfile" 926 | version = "3.0.5" 927 | source = "registry+https://github.com/rust-lang/crates.io-index" 928 | dependencies = [ 929 | "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 930 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 931 | "rand 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", 932 | "redox_syscall 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", 933 | "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", 934 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 935 | ] 936 | 937 | [[package]] 938 | name = "thread-id" 939 | version = "2.0.0" 940 | source = "registry+https://github.com/rust-lang/crates.io-index" 941 | dependencies = [ 942 | "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 943 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 944 | ] 945 | 946 | [[package]] 947 | name = "thread_local" 948 | version = "0.2.7" 949 | source = "registry+https://github.com/rust-lang/crates.io-index" 950 | dependencies = [ 951 | "thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 952 | ] 953 | 954 | [[package]] 955 | name = "time" 956 | version = "0.1.41" 957 | source = "registry+https://github.com/rust-lang/crates.io-index" 958 | dependencies = [ 959 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 960 | "redox_syscall 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)", 961 | "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 962 | ] 963 | 964 | [[package]] 965 | name = "tokio" 966 | version = "0.1.13" 967 | source = "registry+https://github.com/rust-lang/crates.io-index" 968 | dependencies = [ 969 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 970 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 971 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 972 | "num_cpus 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 973 | "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 974 | "tokio-current-thread 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 975 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 976 | "tokio-fs 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 977 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 978 | "tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 979 | "tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 980 | "tokio-threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 981 | "tokio-timer 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 982 | "tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 983 | "tokio-uds 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", 984 | ] 985 | 986 | [[package]] 987 | name = "tokio-codec" 988 | version = "0.1.1" 989 | source = "registry+https://github.com/rust-lang/crates.io-index" 990 | dependencies = [ 991 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 992 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 993 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 994 | ] 995 | 996 | [[package]] 997 | name = "tokio-current-thread" 998 | version = "0.1.4" 999 | source = "registry+https://github.com/rust-lang/crates.io-index" 1000 | dependencies = [ 1001 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1002 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1003 | ] 1004 | 1005 | [[package]] 1006 | name = "tokio-executor" 1007 | version = "0.1.5" 1008 | source = "registry+https://github.com/rust-lang/crates.io-index" 1009 | dependencies = [ 1010 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1011 | ] 1012 | 1013 | [[package]] 1014 | name = "tokio-fs" 1015 | version = "0.1.4" 1016 | source = "registry+https://github.com/rust-lang/crates.io-index" 1017 | dependencies = [ 1018 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1019 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1020 | "tokio-threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 1021 | ] 1022 | 1023 | [[package]] 1024 | name = "tokio-io" 1025 | version = "0.1.10" 1026 | source = "registry+https://github.com/rust-lang/crates.io-index" 1027 | dependencies = [ 1028 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 1029 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1030 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1031 | ] 1032 | 1033 | [[package]] 1034 | name = "tokio-reactor" 1035 | version = "0.1.7" 1036 | source = "registry+https://github.com/rust-lang/crates.io-index" 1037 | dependencies = [ 1038 | "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 1039 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1040 | "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 1041 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1042 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1043 | "num_cpus 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 1044 | "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", 1045 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 1046 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1047 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1048 | ] 1049 | 1050 | [[package]] 1051 | name = "tokio-tcp" 1052 | version = "0.1.2" 1053 | source = "registry+https://github.com/rust-lang/crates.io-index" 1054 | dependencies = [ 1055 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 1056 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1057 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 1058 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1059 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1060 | "tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 1061 | ] 1062 | 1063 | [[package]] 1064 | name = "tokio-threadpool" 1065 | version = "0.1.9" 1066 | source = "registry+https://github.com/rust-lang/crates.io-index" 1067 | dependencies = [ 1068 | "crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 1069 | "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 1070 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1071 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1072 | "num_cpus 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 1073 | "rand 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", 1074 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1075 | ] 1076 | 1077 | [[package]] 1078 | name = "tokio-timer" 1079 | version = "0.2.8" 1080 | source = "registry+https://github.com/rust-lang/crates.io-index" 1081 | dependencies = [ 1082 | "crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", 1083 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1084 | "slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 1085 | "tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1086 | ] 1087 | 1088 | [[package]] 1089 | name = "tokio-udp" 1090 | version = "0.1.3" 1091 | source = "registry+https://github.com/rust-lang/crates.io-index" 1092 | dependencies = [ 1093 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 1094 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1095 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1096 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1097 | "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1098 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1099 | "tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 1100 | ] 1101 | 1102 | [[package]] 1103 | name = "tokio-uds" 1104 | version = "0.2.4" 1105 | source = "registry+https://github.com/rust-lang/crates.io-index" 1106 | dependencies = [ 1107 | "bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", 1108 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1109 | "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 1110 | "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)", 1111 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1112 | "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", 1113 | "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", 1114 | "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1115 | "tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", 1116 | "tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", 1117 | ] 1118 | 1119 | [[package]] 1120 | name = "try-lock" 1121 | version = "0.2.2" 1122 | source = "registry+https://github.com/rust-lang/crates.io-index" 1123 | 1124 | [[package]] 1125 | name = "unicase" 1126 | version = "1.4.2" 1127 | source = "registry+https://github.com/rust-lang/crates.io-index" 1128 | dependencies = [ 1129 | "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1130 | ] 1131 | 1132 | [[package]] 1133 | name = "unicase" 1134 | version = "2.2.0" 1135 | source = "registry+https://github.com/rust-lang/crates.io-index" 1136 | dependencies = [ 1137 | "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1138 | ] 1139 | 1140 | [[package]] 1141 | name = "unicode-bidi" 1142 | version = "0.3.4" 1143 | source = "registry+https://github.com/rust-lang/crates.io-index" 1144 | dependencies = [ 1145 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1146 | ] 1147 | 1148 | [[package]] 1149 | name = "unicode-normalization" 1150 | version = "0.1.7" 1151 | source = "registry+https://github.com/rust-lang/crates.io-index" 1152 | 1153 | [[package]] 1154 | name = "unicode-xid" 1155 | version = "0.1.0" 1156 | source = "registry+https://github.com/rust-lang/crates.io-index" 1157 | 1158 | [[package]] 1159 | name = "unreachable" 1160 | version = "1.0.0" 1161 | source = "registry+https://github.com/rust-lang/crates.io-index" 1162 | dependencies = [ 1163 | "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1164 | ] 1165 | 1166 | [[package]] 1167 | name = "url" 1168 | version = "1.7.2" 1169 | source = "registry+https://github.com/rust-lang/crates.io-index" 1170 | dependencies = [ 1171 | "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1172 | "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1173 | "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1174 | ] 1175 | 1176 | [[package]] 1177 | name = "utf8-ranges" 1178 | version = "0.1.3" 1179 | source = "registry+https://github.com/rust-lang/crates.io-index" 1180 | 1181 | [[package]] 1182 | name = "uuid" 1183 | version = "0.7.1" 1184 | source = "registry+https://github.com/rust-lang/crates.io-index" 1185 | dependencies = [ 1186 | "rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 1187 | ] 1188 | 1189 | [[package]] 1190 | name = "vcpkg" 1191 | version = "0.2.6" 1192 | source = "registry+https://github.com/rust-lang/crates.io-index" 1193 | 1194 | [[package]] 1195 | name = "version_check" 1196 | version = "0.1.5" 1197 | source = "registry+https://github.com/rust-lang/crates.io-index" 1198 | 1199 | [[package]] 1200 | name = "void" 1201 | version = "1.0.2" 1202 | source = "registry+https://github.com/rust-lang/crates.io-index" 1203 | 1204 | [[package]] 1205 | name = "want" 1206 | version = "0.0.6" 1207 | source = "registry+https://github.com/rust-lang/crates.io-index" 1208 | dependencies = [ 1209 | "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", 1210 | "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1211 | "try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 1212 | ] 1213 | 1214 | [[package]] 1215 | name = "winapi" 1216 | version = "0.2.8" 1217 | source = "registry+https://github.com/rust-lang/crates.io-index" 1218 | 1219 | [[package]] 1220 | name = "winapi" 1221 | version = "0.3.6" 1222 | source = "registry+https://github.com/rust-lang/crates.io-index" 1223 | dependencies = [ 1224 | "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1225 | "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1226 | ] 1227 | 1228 | [[package]] 1229 | name = "winapi-build" 1230 | version = "0.1.1" 1231 | source = "registry+https://github.com/rust-lang/crates.io-index" 1232 | 1233 | [[package]] 1234 | name = "winapi-i686-pc-windows-gnu" 1235 | version = "0.4.0" 1236 | source = "registry+https://github.com/rust-lang/crates.io-index" 1237 | 1238 | [[package]] 1239 | name = "winapi-x86_64-pc-windows-gnu" 1240 | version = "0.4.0" 1241 | source = "registry+https://github.com/rust-lang/crates.io-index" 1242 | 1243 | [[package]] 1244 | name = "ws2_32-sys" 1245 | version = "0.2.1" 1246 | source = "registry+https://github.com/rust-lang/crates.io-index" 1247 | dependencies = [ 1248 | "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 1249 | "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1250 | ] 1251 | 1252 | [metadata] 1253 | "checksum Inflector 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0decfa7797c80a00f691d3701c44020d4e4311ea1130cc1de39be27634307ff4" 1254 | "checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c" 1255 | "checksum aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66" 1256 | "checksum arrayvec 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)" = "d18513977c2d8261c448511c5c53dc66b26dfccbc3d4446672dea1e71a7d8a26" 1257 | "checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" 1258 | "checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" 1259 | "checksum byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "94f88df23a25417badc922ab0f5716cc1330e87f71ddd9203b3a3ccd9cedf75d" 1260 | "checksum bytes 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "40ade3d27603c2cb345eb0912aec461a6dec7e06a4ae48589904e808335c7afa" 1261 | "checksum cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)" = "389803e36973d242e7fecb092b2de44a3d35ac62524b3b9339e51d577d668e02" 1262 | "checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" 1263 | "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" 1264 | "checksum core-foundation 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "286e0b41c3a20da26536c6000a280585d519fd07b3956b43aed8a79e9edce980" 1265 | "checksum core-foundation-sys 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "716c271e8613ace48344f723b60b900a93150271e5be206212d052bbc0883efa" 1266 | "checksum crc32fast 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e91d5240c6975ef33aeb5f148f35275c25eda8e8a5f95abe421978b05b8bf192" 1267 | "checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13" 1268 | "checksum crossbeam-epoch 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f10a4f8f409aaac4b16a5474fb233624238fcdeefb9ba50d5ea059aab63ba31c" 1269 | "checksum crossbeam-utils 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "41ee4864f4797060e52044376f7d107429ce1fb43460021b126424b7180ee21a" 1270 | "checksum dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6d301140eb411af13d3115f9a562c85cc6b541ade9dfa314132244aaee7489dd" 1271 | "checksum either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3be565ca5c557d7f59e7cfcf1844f9e3033650c929c6566f511e8005f205c1d0" 1272 | "checksum encoding_rs 0.8.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1a8fa54e6689eb2549c4efed8d00d7f3b2b994a064555b0e8df4ae3764bcc4be" 1273 | "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" 1274 | "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 1275 | "checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 1276 | "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 1277 | "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 1278 | "checksum futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)" = "49e7653e374fe0d0c12de4250f0bdb60680b8c80eed558c5c7538eec9c89e21b" 1279 | "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" 1280 | "checksum h2 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "1ac030ae20dee464c5d0f36544d8b914a6bc606da44a57e052d2b0f5dae129e0" 1281 | "checksum http 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "02096a6d2c55e63f7fcb800690e4f889a25f6ec342e3adb4594e293b625215ab" 1282 | "checksum httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e8734b0cfd3bc3e101ec59100e101c2eecd19282202e87808b3037b442777a83" 1283 | "checksum hyper 0.12.18 (registry+https://github.com/rust-lang/crates.io-index)" = "8dd7729fc83d88353415f6816fd4bb00897aa47c7f1506b69060e74e6e3d8e8b" 1284 | "checksum hyper-tls 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "32cd73f14ad370d3b4d4b7dce08f69b81536c82e39fcc89731930fe5788cd661" 1285 | "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" 1286 | "checksum indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d" 1287 | "checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08" 1288 | "checksum itertools 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4833d6978da405305126af4ac88569b5d71ff758581ce5a987dbfa3755f694fc" 1289 | "checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" 1290 | "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" 1291 | "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" 1292 | "checksum lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820dea1" 1293 | "checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" 1294 | "checksum libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)" = "2d2857ec59fadc0773853c664d2d18e7198e83883e7060b63c924cb077bd5c74" 1295 | "checksum libflate 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)" = "bff3ac7d6f23730d3b533c35ed75eef638167634476a499feef16c428d74b57b" 1296 | "checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c" 1297 | "checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" 1298 | "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" 1299 | "checksum memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20" 1300 | "checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" 1301 | "checksum mime 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)" = "0a907b83e7b9e987032439a387e187119cddafc92d5c2aaeb1d92580a793f630" 1302 | "checksum mime_guess 2.0.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)" = "30de2e4613efcba1ec63d8133f344076952090c122992a903359be5a4f99c3ed" 1303 | "checksum mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)" = "71646331f2619b1026cc302f87a2b8b648d5c6dd6937846a16cc8ce0f347f432" 1304 | "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" 1305 | "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" 1306 | "checksum native-tls 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ff8e08de0070bbf4c31f452ea2a70db092f36f6f2e4d897adf5674477d488fb2" 1307 | "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" 1308 | "checksum nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945" 1309 | "checksum num_cpus 1.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5a69d464bdc213aaaff628444e99578ede64e9c854025aa43b9796530afa9238" 1310 | "checksum openssl 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)" = "ec7bd7ca4cce6dbdc77e7c1230682740d307d1218a87fb0349a571272be749f9" 1311 | "checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" 1312 | "checksum openssl-sys 0.9.40 (registry+https://github.com/rust-lang/crates.io-index)" = "1bb974e77de925ef426b6bc82fce15fd45bdcbeb5728bffcfc7cdeeb7ce1c2d6" 1313 | "checksum owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a4b8ea2179e6a2e27411d3bca09ca6dd630821cf6894c6c7c8467a8ee7ef13" 1314 | "checksum parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0802bff09003b291ba756dc7e79313e51cc31667e94afbe847def490424cde5" 1315 | "checksum parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ad7f7e6ebdc79edff6fdcb87a55b620174f7a989e3eb31b65231f4af57f00b8c" 1316 | "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" 1317 | "checksum phf 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "cec29da322b242f4c3098852c77a0ca261c9c01b806cae85a5572a1eb94db9a6" 1318 | "checksum phf_codegen 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "7d187f00cd98d5afbcd8898f6cf181743a449162aeb329dcd2f3849009e605ad" 1319 | "checksum phf_generator 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "03dc191feb9b08b0dc1330d6549b795b9d81aec19efe6b4a45aec8d4caee0c4b" 1320 | "checksum phf_shared 0.7.23 (registry+https://github.com/rust-lang/crates.io-index)" = "b539898d22d4273ded07f64a05737649dc69095d92cb87c7097ec68e3f150b93" 1321 | "checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c" 1322 | "checksum proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)" = "77619697826f31a02ae974457af0b29b723e5619e113e9397b8b82c6bd253f09" 1323 | "checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" 1324 | "checksum quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)" = "53fa22a1994bd0f9372d7a816207d8a2677ad0325b073f5c5332760f0fb62b5c" 1325 | "checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c" 1326 | "checksum rand 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ae9d223d52ae411a33cf7e54ec6034ec165df296ccd23533d671a28252b6f66a" 1327 | "checksum rand_chacha 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "771b009e3a508cb67e8823dda454aaa5368c7bc1c16829fb77d3e980440dd34a" 1328 | "checksum rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372" 1329 | "checksum rand_core 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0905b6b7079ec73b314d4c748701f6931eb79fd97c668caa3f1899b22b32c6db" 1330 | "checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4" 1331 | "checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08" 1332 | "checksum rand_pcg 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "086bd09a33c7044e56bb44d5bdde5a60e7f119a9e95b0775f545de759a32fe05" 1333 | "checksum rand_xorshift 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "effa3fcaa47e18db002bdde6060944b6d2f9cfd8db471c30e873448ad9187be3" 1334 | "checksum redox_syscall 0.1.44 (registry+https://github.com/rust-lang/crates.io-index)" = "a84bcd297b87a545980a2d25a0beb72a1f490c31f0a9fde52fca35bfbb1ceb70" 1335 | "checksum regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)" = "4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f" 1336 | "checksum regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957" 1337 | "checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5" 1338 | "checksum reqwest 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ab52e462d1e15891441aeefadff68bdea005174328ce3da0a314f2ad313ec837" 1339 | "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" 1340 | "checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" 1341 | "checksum safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8dca453248a96cb0749e36ccdfe2b0b4e54a61bfef89fb97ec621eb8e0a93dd9" 1342 | "checksum schannel 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "0e1a231dc10abf6749cfa5d7767f25888d484201accbd919b66ab5413c502d56" 1343 | "checksum schemafy 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "4d0849702751d250c853fe539ca9625c7304ccf01ef6af0b990b710d21e09514" 1344 | "checksum schemafy_snapshot 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c41ae5ab0e8472188bf3755b78a4c8ae1f5773e329c98f1ca61b86e6a7ca3a8" 1345 | "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" 1346 | "checksum security-framework 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "697d3f3c23a618272ead9e1fb259c1411102b31c6af8b93f1d64cca9c3b0e8e0" 1347 | "checksum security-framework-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab01dfbe5756785b5b4d46e0289e5a18071dfa9a7c2b24213ea00b9ef9b665bf" 1348 | "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 1349 | "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" 1350 | "checksum serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)" = "6fa52f19aee12441d5ad11c9a00459122bd8f98707cadf9778c540674f1935b6" 1351 | "checksum serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)" = "96a7f9496ac65a2db5929afa087b54f8fc5008dcfbe48a8874ed20049b0d6154" 1352 | "checksum serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)" = "c37ccd6be3ed1fdf419ee848f7c758eb31b054d7cd3ae3600e3bae0adf569811" 1353 | "checksum serde_urlencoded 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d48f9f99cd749a2de71d29da5f948de7f2764cc5a9d7f3c97e3514d4ee6eabf2" 1354 | "checksum siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac" 1355 | "checksum slab 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5f9776d6b986f77b35c6cf846c11ad986ff128fe0b2b63a3628e3755e8d3102d" 1356 | "checksum smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b73ea3738b47563803ef814925e69be00799a8c07420be8b996f8e98fb2336db" 1357 | "checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" 1358 | "checksum string 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "98998cced76115b1da46f63388b909d118a37ae0be0f82ad35773d4a4bc9d18d" 1359 | "checksum syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)" = "9545a6a093a3f0bd59adb472700acc08cad3776f860f16a897dfce8c88721cbc" 1360 | "checksum tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "7e91405c14320e5c79b3d148e1c86f40749a36e490642202a31689cb1a3452b2" 1361 | "checksum thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03" 1362 | "checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" 1363 | "checksum time 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "847da467bf0db05882a9e2375934a8a55cffdc9db0d128af1518200260ba1f6c" 1364 | "checksum tokio 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "a7817d4c98cc5be21360b3b37d6036fe9b7aefa5b7a201b7b16ff33423822f7d" 1365 | "checksum tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5c501eceaf96f0e1793cf26beb63da3d11c738c4a943fdf3746d81d64684c39f" 1366 | "checksum tokio-current-thread 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "331c8acc267855ec06eb0c94618dcbbfea45bed2d20b77252940095273fb58f6" 1367 | "checksum tokio-executor 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c117b6cf86bb730aab4834f10df96e4dd586eff2c3c27d3781348da49e255bde" 1368 | "checksum tokio-fs 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "60ae25f6b17d25116d2cba342083abe5255d3c2c79cb21ea11aa049c53bf7c75" 1369 | "checksum tokio-io 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "7392fe0a70d5ce0c882c4778116c519bd5dbaa8a7c3ae3d04578b3afafdcda21" 1370 | "checksum tokio-reactor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "502b625acb4ee13cbb3b90b8ca80e0addd263ddacf6931666ef751e610b07fb5" 1371 | "checksum tokio-tcp 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7ad235e9dadd126b2d47f6736f65aa1fdcd6420e66ca63f44177bc78df89f912" 1372 | "checksum tokio-threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "56c5556262383032878afad66943926a1d1f0967f17e94bd7764ceceb3b70e7f" 1373 | "checksum tokio-timer 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "4f37f0111d76cc5da132fe9bc0590b9b9cfd079bc7e75ac3846278430a299ff8" 1374 | "checksum tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "66268575b80f4a4a710ef83d087fdfeeabdce9b74c797535fbac18a2cb906e92" 1375 | "checksum tokio-uds 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "99ce87382f6c1a24b513a72c048b2c8efe66cb5161c9061d00bee510f08dc168" 1376 | "checksum try-lock 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" 1377 | "checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33" 1378 | "checksum unicase 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9d3218ea14b4edcaccfa0df0a64a3792a2c32cc706f1b336e48867f9d3147f90" 1379 | "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" 1380 | "checksum unicode-normalization 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6a0180bc61fc5a987082bfa111f4cc95c4caff7f9799f3e46df09163a937aa25" 1381 | "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 1382 | "checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" 1383 | "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" 1384 | "checksum utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f" 1385 | "checksum uuid 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dab5c5526c5caa3d106653401a267fed923e7046f35895ffcb5ca42db64942e6" 1386 | "checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d" 1387 | "checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" 1388 | "checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 1389 | "checksum want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3" 1390 | "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" 1391 | "checksum winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0" 1392 | "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" 1393 | "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1394 | "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1395 | "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" 1396 | -------------------------------------------------------------------------------- /example/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "example" 3 | version = "0.1.0" 4 | authors = ["Orta Therox "] 5 | 6 | [dependencies] 7 | danger = { path = "../" } 8 | -------------------------------------------------------------------------------- /example/dangerfile.rs: -------------------------------------------------------------------------------- 1 | extern crate danger; 2 | -------------------------------------------------------------------------------- /example/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("OK!"); 3 | } 4 | -------------------------------------------------------------------------------- /screenshots/wip1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danger/rust/f0f9603f57edae1b0e333d15dbba053e6cfc5e7b/screenshots/wip1.png -------------------------------------------------------------------------------- /src/bin/main.rs: -------------------------------------------------------------------------------- 1 | // Contains the incoming JSON schema -> Types mapping 2 | extern crate danger; 3 | 4 | fn main() { 5 | let danger_dsl = danger::get_danger(); 6 | let created = danger_dsl.git.created_files; 7 | 8 | println!("New Files! {:#?}", created); 9 | } 10 | -------------------------------------------------------------------------------- /src/bin/update_types.rs: -------------------------------------------------------------------------------- 1 | // https://github.com/Marwes/schemafy/blob/master/src/lib.rs 2 | 3 | extern crate reqwest; 4 | extern crate schemafy; 5 | 6 | use std::io::Read; 7 | 8 | // Note that I have done a LOT of hand-edits to the 9 | // file to make it compile, so expect a bit of work making it work 10 | // 11 | // Currently: 12 | // - Remove all optional types 13 | // - Remove some uncompiling bitbucket issues 14 | // 15 | fn main() -> Result<(), Box> { 16 | let url = "https://raw.githubusercontent.com/danger/danger-js/master/source/danger-incoming-process-schema.json"; 17 | let mut resp = reqwest::get(url)?; 18 | 19 | let mut schema = String::new(); 20 | resp.read_to_string(&mut schema); 21 | 22 | let output = schemafy::generate(Some("Schema"), &schema)?; 23 | std::fs::write("src/dsl.rs", output.as_bytes())?; 24 | Ok(()) 25 | } 26 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- 1 | #[macro_use] 2 | extern crate serde_derive; 3 | 4 | // The JSON Schema -> Types uses serde, to use the macros that this generates 5 | // we have to declare that this entire bin will use macros 6 | 7 | extern crate serde; 8 | extern crate serde_json; 9 | 10 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 11 | pub struct BitBucketServerCommitAuthor { 12 | /// The display name of the commit author 13 | #[serde(rename = "displayName")] 14 | pub display_name: Option, 15 | /// The email of the commit author 16 | #[serde(rename = "emailAddress")] 17 | pub email_address: Option, 18 | /// The id of the commit author 19 | pub name: Option, 20 | } 21 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 22 | pub struct BitBucketServerCommitAuthorCommitter { 23 | /// The display name of the commit committer 24 | #[serde(rename = "displayName")] 25 | pub display_name: Option, 26 | /// The email of the commit committer 27 | #[serde(rename = "emailAddress")] 28 | pub email_address: Option, 29 | /// The id of the commit committer 30 | pub name: Option, 31 | } 32 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 33 | pub struct BitBucketServerCommitAuthorCommitterItemParents { 34 | /// The simplified sha 35 | #[serde(rename = "displayId")] 36 | pub display_id: Option, 37 | /// The full SHA 38 | pub id: Option, 39 | } 40 | /// A BitBucketServer specific implementation of a git commit. 41 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 42 | pub struct BitBucketServerCommit { 43 | /// The author of the commit, assumed to be the person who wrote the code. 44 | pub author: Option, 45 | /// The UNIX timestamp for when the commit was authored 46 | #[serde(rename = "authorTimestamp")] 47 | pub author_timestamp: Option, 48 | /// The author of the commit, assumed to be the person who commited/merged the code into a 49 | /// project. 50 | pub committer: Option, 51 | /// When the commit was commited to the project 52 | #[serde(rename = "committerTimestamp")] 53 | pub committer_timestamp: Option, 54 | /// The shortened SHA for the commit 55 | #[serde(rename = "displayId")] 56 | pub display_id: Option, 57 | /// The SHA for the commit 58 | pub id: Option, 59 | /// The commit's message 60 | pub message: Option, 61 | /// The commit's parents 62 | pub parents: Option>, 63 | } 64 | 65 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 66 | pub struct BitBucketServerJSONDSL { 67 | /// The PR metadata 68 | // pub pr: Option, 69 | /// The activities such as OPENING, CLOSING, MERGING or UPDATING a pull request 70 | // pub activities: Option>, 71 | /// The comments on the pull request 72 | // pub comments: Option>, 73 | /// The commits associated with the pull request 74 | pub commits: Option>, 75 | /// The related JIRA issues 76 | // pub issues: Option>, 77 | /// The pull request and repository metadata 78 | pub metadata: Option, 79 | } 80 | 81 | // #[derive(Clone, PartialEq, Debug, Deserialize, Serialize)] 82 | /// of it for tooling's sake, but any extra metadata which BitBucket Server send 83 | /// will still be inside the JS object. 84 | // #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 85 | // #[derive(Clone, PartialEq, Debug, Default)] 86 | // pub struct BitBucketServerPRDSL { 87 | // /// The creator of the PR 88 | // pub author: Option, 89 | // /// Is the PR closed? 90 | // pub closed: Option, 91 | // /// Date PR created as number of milliseconds since the unix epoch 92 | // #[serde(rename = "createdDate")] 93 | // pub created_date: Option, 94 | // /// The text describing the PR 95 | // pub description: Option, 96 | // /// The PR submitter's reference 97 | // #[serde(rename = "fromRef")] 98 | // // pub from_ref: Option, 99 | // /// The PR's ID 100 | // pub id: Option, 101 | // /// Misc links for hypermedia conformance 102 | // pub links: Option, 103 | // /// Was this PR locked? 104 | // pub locked: Option, 105 | // /// Is the PR open? 106 | // pub open: Option, 107 | // /// People who have participated in the PR 108 | // pub participants: Option>, 109 | // /// People requested as reviewers 110 | // pub reviewers: Option>, 111 | // /// The pull request's current status. 112 | // pub state: Option, 113 | // /// Title of the pull request. 114 | // pub title: Option, 115 | // /// The repo Danger is running on 116 | // #[serde(rename = "toRef")] 117 | // // pub to_ref: Option, 118 | // /// Date PR updated as number of milliseconds since the unix epoch 119 | // #[serde(rename = "updatedDate")] 120 | // pub updated_date: Option, 121 | // /// The API version 122 | // pub version: Option, 123 | // } 124 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 125 | pub struct BitBucketServerPRParticipant { 126 | /// Did they approve of the PR? 127 | pub approved: Option, 128 | /// How did they contribute 129 | pub role: Option, 130 | /// Their review feedback 131 | pub status: Option, 132 | pub user: Option, 133 | } 134 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 135 | pub struct BitBucketServerRepoProject { 136 | /// The project unique id 137 | pub id: Option, 138 | /// The project's human readable project key 139 | pub key: Option, 140 | /// Hyperlinks for the project 141 | pub links: Option, 142 | /// The name of the project 143 | pub name: Option, 144 | /// Is the project publicly available 145 | pub public: Option, 146 | /// The project's type 147 | #[serde(rename = "type")] 148 | pub type_: Option, 149 | } 150 | /// A BitBucket Server Repo 151 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 152 | pub struct BitBucketServerRepo { 153 | /// Can someone fork this repo? 154 | pub forkable: Option, 155 | /// Links for the projects 156 | // pub links: Option, 157 | /// The repo name 158 | pub name: Option, 159 | /// An abstraction for grouping repos 160 | pub project: Option, 161 | /// Is the repo public? 162 | pub public: Option, 163 | /// The type of SCM tool, probably "git" 164 | #[serde(rename = "scmId")] 165 | pub scm_id: Option, 166 | /// The slug for the repo 167 | pub slug: Option, 168 | } 169 | /// A BitBucketServer user account. 170 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 171 | pub struct BitBucketServerUser { 172 | /// Is the account active 173 | pub active: Option, 174 | /// The name to use when referencing the user 175 | #[serde(rename = "displayName")] 176 | pub display_name: Option, 177 | /// The email for the user 178 | #[serde(rename = "emailAddress")] 179 | pub email_address: Option, 180 | /// The unique user ID 181 | pub id: Option, 182 | /// The name of the user 183 | pub name: Option, 184 | /// The user's slug for URLs 185 | pub slug: Option, 186 | /// The type of a user, "NORMAL" being a typical user3 187 | #[serde(rename = "type")] 188 | pub type_: Option, 189 | } 190 | /// Describes the possible arguments that 191 | /// could be used when calling the CLI 192 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 193 | pub struct CliArgs { 194 | pub base: Option, 195 | pub dangerfile: Option, 196 | #[serde(rename = "externalCiProvider")] 197 | pub external_ci_provider: Option, 198 | pub id: Option, 199 | #[serde(rename = "textOnly")] 200 | pub text_only: Option, 201 | pub verbose: Option, 202 | } 203 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 204 | pub struct DangerDSLJSONTypeSettingsGithub { 205 | /// API token for the GitHub client to use 206 | #[serde(rename = "accessToken")] 207 | pub access_token: Option, 208 | /// Optional headers to add to a request 209 | #[serde(rename = "additionalHeaders")] 210 | pub additional_headers: Option, 211 | /// Optional URL for enterprise GitHub 212 | #[serde(rename = "baseURL")] 213 | pub base_url: Option, 214 | } 215 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 216 | pub struct DangerDSLJSONTypeSettings { 217 | /// This is still a bit of a WIP, but this should 218 | /// pass args/opts from the original CLI call through 219 | /// to the process. 220 | #[serde(rename = "cliArgs")] 221 | pub cli_args: Option, 222 | /// Saves each client re-implementing logic to grab these vars 223 | /// for their API clients 224 | pub github: Option, 225 | } 226 | /// The root of the Danger JSON DSL. 227 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 228 | pub struct DangerDSLJSONType { 229 | /// The data only version of BitBucket Server DSL 230 | pub bitbucket_server: Option, 231 | /// The data only version of Git DSL 232 | pub git: GitJSONDSL, 233 | /// The data only version of GitHub DSL 234 | pub github: Option, 235 | /// Used in the Danger JSON DSL to pass metadata between 236 | /// processes. It will be undefined when used inside the Danger DSL 237 | pub settings: DangerDSLJSONTypeSettings, 238 | } 239 | /// A platform agnostic reference to a Git commit 240 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 241 | pub struct GitCommit { 242 | /// Who wrote the commit 243 | pub author: Option, 244 | /// Who deployed the commit 245 | pub committer: Option, 246 | /// The commit message 247 | pub message: Option, 248 | /// SHAs for the commit's parents 249 | pub parents: Option>, 250 | /// The SHA for the commit 251 | pub sha: Option, 252 | /// Potential parent commits, and other assorted metadata 253 | pub tree: Option, 254 | /// Link to the commit 255 | pub url: Option, 256 | } 257 | /// An author of a commit 258 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 259 | pub struct GitCommitAuthor { 260 | /// ISO6801 date string 261 | pub date: Option, 262 | /// The authors email 263 | pub email: Option, 264 | /// The display name for the author 265 | pub name: Option, 266 | } 267 | /// Provides the current PR in an easily used way for params in `github.api` calls 268 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 269 | pub struct GitHubAPIPR { 270 | /// The PR number 271 | pub number: Option, 272 | /// The repo owner 273 | pub owner: Option, 274 | /// The repo name 275 | pub repo: Option, 276 | } 277 | /// A GitHub specific implementation of a git commit, it has GitHub user names instead of an email. 278 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 279 | pub struct GitHubCommit { 280 | /// The GitHub user who wrote the code 281 | pub author: Option, 282 | /// The raw commit metadata 283 | pub commit: Option, 284 | /// The GitHub user who shipped the code 285 | pub committer: Option, 286 | /// An array of parent commit shas 287 | pub parents: Option>, 288 | /// The SHA for the commit 289 | pub sha: Option, 290 | /// the url for the commit on GitHub 291 | pub url: Option, 292 | } 293 | /// The GitHub metadata for your PR 294 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 295 | pub struct GitHubDSL { 296 | /// An authenticated API so you can extend danger's behavior by using the [GitHub v3 297 | /// API](https://developer.github.com/v3/). 298 | /// 299 | /// A set up instance of the "github" npm module. You can get the full [API 300 | /// here](https://octokit.github.io/node-github/). 301 | pub api: Option, 302 | /// The github commit metadata for a code review session 303 | pub commits: Option>, 304 | /// The issue metadata for a code review session 305 | pub issue: Option, 306 | /// The PR metadata for a code review session 307 | pub pr: Option, 308 | /// The people requested to review this PR 309 | // pub requested_reviewers: Option>, 310 | /// The reviews left on this pull request 311 | pub reviews: Option>, 312 | /// The PR metadata specifically formatted for using with the GitHub API client 313 | #[serde(rename = "thisPR")] 314 | pub this_pr: Option, 315 | /// A scope for useful functions related to GitHub 316 | pub utils: Option, 317 | } 318 | /// This is `danger.github.issue` It refers to the issue that makes up the Pull Request. 319 | /// GitHub treats all pull requests as a special type of issue. This DSL contains only parts of the 320 | /// issue that are 321 | /// not found in the PR DSL, however it does contain the full JSON structure. 322 | /// 323 | /// A GitHub Issue 324 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 325 | pub struct GitHubIssue { 326 | /// The labels associated with this issue 327 | pub labels: Option>, 328 | } 329 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 330 | pub struct GitHubIssueLabel { 331 | /// The color associated with this label 332 | pub color: Option, 333 | /// The identifying number of this label 334 | pub id: Option, 335 | /// The name of the label 336 | pub name: Option, 337 | /// The URL that links to this label 338 | pub url: Option, 339 | } 340 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 341 | pub struct GitHubMergeRef { 342 | /// The human display name for the merge reference, e.g. "artsy:master" 343 | pub label: Option, 344 | /// The reference point for the merge, e.g. "master" 345 | pub refd: Option, 346 | /// The repo from whch the reference comes from 347 | pub repo: Option, 348 | /// The reference point for the merge, e.g. "704dc55988c6996f69b6873c2424be7d1de67bbe" 349 | pub sha: Option, 350 | /// The user that owns the merge reference e.g. "artsy" 351 | pub user: Option, 352 | } 353 | /// An exact copy of the PR's reference JSON. This interface has type'd the majority 354 | /// of it for tooling's sake, but any extra metadata which GitHub send will still be 355 | /// inside the JS object. 356 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 357 | pub struct GitHubPRDSL { 358 | /// The number of additional lines in the PR 359 | pub additions: Option, 360 | /// The User who is assigned the PR 361 | pub assignee: Option, 362 | /// The Users who are assigned to the PR 363 | pub assignees: Option>, 364 | /// Merge reference for _this_ repo. 365 | pub base: Option, 366 | /// The markdown body message of the PR 367 | pub body: Option, 368 | /// The number of changed files in the PR 369 | pub changed_files: Option, 370 | /// optional ISO6801 Date string for when PR was closed 371 | #[serde(default)] 372 | pub closed_at: Option, 373 | /// The number of comments on the PR 374 | pub comments: Option, 375 | /// The number of commits in the PR 376 | pub commits: Option, 377 | /// ISO6801 Date string for when PR was created 378 | pub created_at: Option, 379 | /// The number of deleted lines in the PR 380 | pub deletions: Option, 381 | /// Merge reference for the _other_ repo. 382 | pub head: Option, 383 | /// Has the PR been locked to contributors only? 384 | pub locked: Option, 385 | /// Has the PR been merged yet? 386 | pub merged: Option, 387 | /// Optional ISO6801 Date string for when PR was merged. 388 | /// Danger probably shouldn't be running in this state. 389 | #[serde(default)] 390 | pub merged_at: Option, 391 | /// The UUID for the PR 392 | pub number: Option, 393 | /// The number of review-specific comments on the PR 394 | pub review_comments: Option, 395 | /// The state for the PR 396 | pub state: Option, 397 | /// The title of the PR 398 | pub title: Option, 399 | /// ISO6801 Date string for when PR was updated 400 | pub updated_at: Option, 401 | /// The User who submitted the PR 402 | pub user: Option, 403 | } 404 | /// A GitHub Repo 405 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 406 | pub struct GitHubRepo { 407 | /// Is someone assigned to this PR? 408 | pub assignee: Option, 409 | /// Are there people assigned to this PR? 410 | pub assignees: Option>, 411 | /// The textual description of the repo 412 | pub description: Option, 413 | /// Is the repo a fork? 414 | pub fork: Option, 415 | /// The full name of the owner + repo, e.g. "Danger/Danger-JS" 416 | pub full_name: Option, 417 | /// The root web URL for the repo, e.g. https://github.com/artsy/emission 418 | pub html_url: Option, 419 | /// Generic UUID 420 | pub id: Option, 421 | /// The name of the repo, e.g. "Danger-JS" 422 | pub name: Option, 423 | /// The owner of the repo 424 | pub owner: Option, 425 | /// Is the repo publicly accessible? 426 | pub private: Option, 427 | } 428 | /// GitHubReview 429 | /// While a review is pending, it will only have a user. Once a review is complete, the rest of 430 | /// the review attributes will be present 431 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 432 | pub struct GitHubReview { 433 | /// If there is a review, the body of the review 434 | pub body: Option, 435 | /// If there is a review, the commit ID this review was made on 436 | pub commit_id: Option, 437 | /// If there is a review, this provides the ID for it 438 | pub id: Option, 439 | /// The state of the review 440 | /// APPROVED, REQUEST_CHANGES, COMMENT or PENDING 441 | pub state: Option, 442 | /// The user requested to review, or the user who has completed the review 443 | pub user: Option, 444 | } 445 | /// A GitHub user account. 446 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 447 | pub struct GitHubUser { 448 | /// The url for a users's image 449 | pub avatar_url: Option, 450 | /// Generic UUID 451 | pub id: Option, 452 | /// The handle for the user/org 453 | pub login: Option, 454 | /// Whether the user is an org, or a user 455 | #[serde(rename = "type")] 456 | pub type_: Option, 457 | } 458 | /// Useful functions for GitHub related work 459 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 460 | pub struct GitHubUtilsDSL { 461 | /// An API for creating, or setting a label to an issue. Usable from Peril 462 | /// by adding an additional param for settings about a repo. 463 | #[serde(rename = "createOrAddLabel")] 464 | pub create_or_add_label: Option<::std::collections::BTreeMap>, 465 | #[serde(rename = "createOrUpdatePR")] 466 | pub create_or_update_pr: Option<::std::collections::BTreeMap>, 467 | /// An API for creating, updating and closing an issue. Basically 468 | /// this is really useful for reporting back via a separate 469 | /// issue that you may want to keep up to date at all times. 470 | #[serde(rename = "createUpdatedIssueWithID")] 471 | pub create_updated_issue_with_id: Option<::std::collections::BTreeMap>, 472 | } 473 | /// The Git Related Metadata which is available inside the Danger DSL JSON 474 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 475 | pub struct GitJSONDSL { 476 | /// The Git commit metadata 477 | pub commits: Vec, 478 | /// Newly created filepaths relative to the git root 479 | pub created_files: Vec, 480 | /// Removed filepaths relative to the git root 481 | pub deleted_files: Vec, 482 | /// Filepaths with changes relative to the git root 483 | pub modified_files: Vec, 484 | } 485 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 486 | pub struct Github { 487 | pub activity: Option<::std::collections::BTreeMap>, 488 | pub apps: Option<::std::collections::BTreeMap>, 489 | pub authorization: Option<::std::collections::BTreeMap>, 490 | pub checks: Option<::std::collections::BTreeMap>, 491 | pub gists: Option<::std::collections::BTreeMap>, 492 | pub gitdata: Option<::std::collections::BTreeMap>, 493 | pub issues: Option<::std::collections::BTreeMap>, 494 | pub migrations: Option<::std::collections::BTreeMap>, 495 | pub misc: Option<::std::collections::BTreeMap>, 496 | pub orgs: Option<::std::collections::BTreeMap>, 497 | pub projects: Option<::std::collections::BTreeMap>, 498 | #[serde(rename = "pullRequests")] 499 | pub pull_requests: Option<::std::collections::BTreeMap>, 500 | pub reactions: Option<::std::collections::BTreeMap>, 501 | pub repos: Option<::std::collections::BTreeMap>, 502 | pub search: Option<::std::collections::BTreeMap>, 503 | pub users: Option<::std::collections::BTreeMap>, 504 | } 505 | /// This is `danger.bitbucket_server.issues` It refers to the issues that are linked to the Pull 506 | /// Request. 507 | // #[serde(rename = "JIRAIssue")] 508 | // #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 509 | // pub struct Jiraissue { 510 | // /// The unique key for the issue e.g. JRA-11 511 | // pub key: Option, 512 | // /// The user-facing URL for that issue 513 | // pub url: Option, 514 | // } 515 | /// Key details about a repo 516 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 517 | pub struct RepoMetaData { 518 | /// The ID for the pull/merge request "11" 519 | #[serde(rename = "pullRequestID")] 520 | pub pull_request_id: Option, 521 | /// A path like "artsy/eigen" 522 | #[serde(rename = "repoSlug")] 523 | pub repo_slug: Option, 524 | } 525 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 526 | pub struct Schema { 527 | pub danger: FauxSchema, 528 | } 529 | #[derive(Clone, PartialEq, Debug, Default, Deserialize, Serialize)] 530 | pub struct FauxSchema { 531 | pub danger: DangerDSLJSONType, 532 | } 533 | 534 | use std::io::{self, Read}; 535 | 536 | /// A function to grab the Danger DSL from the 537 | /// DSL input 538 | pub fn get_danger() -> DangerDSLJSONType { 539 | // Grab the incoming JSON 540 | let mut buffer = String::new(); 541 | let stdin = io::stdin(); 542 | let mut handle = stdin.lock(); 543 | 544 | handle.read_to_string(&mut buffer).unwrap(); 545 | 546 | let danger_dsl: Schema = serde_json::from_str(&buffer).unwrap(); 547 | return danger_dsl.danger.danger; 548 | } 549 | --------------------------------------------------------------------------------