Last active
March 17, 2017 01:23
-
-
Save matthauck/58756f0be5907673ded2254fba59f07a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root] | |
name = "iron-issue-444" | |
version = "0.1.0" | |
dependencies = [ | |
"env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"hyper 0.9.18 (registry+https://github.com/rust-lang/crates.io-index)", | |
"iron 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"router 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "aho-corasick" | |
version = "0.5.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "bitflags" | |
version = "0.7.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "conduit-mime-types" | |
version = "0.7.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "cookie" | |
version = "0.2.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
"rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", | |
"time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", | |
"url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "env_logger" | |
version = "0.3.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "error" | |
version = "0.1.9" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gcc" | |
version = "0.3.45" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "gdi32-sys" | |
version = "0.2.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "hpack" | |
version = "0.2.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "httparse" | |
version = "1.2.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "hyper" | |
version = "0.9.18" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"httparse 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"mime 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"num_cpus 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
"openssl-verify 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", | |
"solicit 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
"time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", | |
"traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "hyper" | |
version = "0.10.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"httparse 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"mime 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"num_cpus 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", | |
"rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", | |
"traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "idna" | |
version = "0.1.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
"unicode-bidi 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"unicode-normalization 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "iron" | |
version = "0.5.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"conduit-mime-types 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
"error 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | |
"hyper 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"modifier 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"num_cpus 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"plugin 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", | |
"typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
"url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "kernel32-sys" | |
version = "0.2.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "language-tags" | |
version = "0.2.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "lazy_static" | |
version = "0.2.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "libc" | |
version = "0.2.21" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "libressl-pnacl-sys" | |
version = "2.1.6" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"pnacl-build-helper 1.4.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "log" | |
version = "0.3.7" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "logger" | |
version = "0.3.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"iron 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "matches" | |
version = "0.1.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "memchr" | |
version = "0.1.11" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "mime" | |
version = "0.2.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "modifier" | |
version = "0.1.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "num_cpus" | |
version = "1.3.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "openssl" | |
version = "0.7.14" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
"openssl-sys 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
"openssl-sys-extras 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "openssl-sys" | |
version = "0.7.17" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libressl-pnacl-sys 2.1.6 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", | |
"user32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "openssl-sys-extras" | |
version = "0.7.14" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
"openssl-sys 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "openssl-verify" | |
version = "0.1.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "pkg-config" | |
version = "0.3.9" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "plugin" | |
version = "0.2.6" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "pnacl-build-helper" | |
version = "1.4.11" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", | |
"walkdir 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "rand" | |
version = "0.3.15" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "redox_syscall" | |
version = "0.1.16" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "regex" | |
version = "0.1.80" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
"memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
"regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", | |
"thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
"utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "regex-syntax" | |
version = "0.3.9" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "route-recognizer" | |
version = "0.1.11" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "router" | |
version = "0.5.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"iron 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"route-recognizer 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
"url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "rustc-serialize" | |
version = "0.3.22" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "rustc_version" | |
version = "0.1.7" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "same-file" | |
version = "0.1.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "semver" | |
version = "0.1.20" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "solicit" | |
version = "0.4.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"hpack 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "tempdir" | |
version = "0.3.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "thread-id" | |
version = "2.0.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "thread_local" | |
version = "0.2.7" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "time" | |
version = "0.1.36" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", | |
"redox_syscall 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "traitobject" | |
version = "0.0.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "traitobject" | |
version = "0.1.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "typeable" | |
version = "0.1.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "typemap" | |
version = "0.3.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"unsafe-any 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "unicase" | |
version = "1.4.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "unicode-bidi" | |
version = "0.2.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "unicode-normalization" | |
version = "0.1.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "unsafe-any" | |
version = "0.4.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "url" | |
version = "1.4.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"idna 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "user32-sys" | |
version = "0.2.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "utf8-ranges" | |
version = "0.1.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "walkdir" | |
version = "1.0.7" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"same-file 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "winapi" | |
version = "0.2.8" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "winapi-build" | |
version = "0.1.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[metadata] | |
"checksum aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66" | |
"checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d" | |
"checksum conduit-mime-types 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "95ca30253581af809925ef68c2641cc140d6183f43e12e0af4992d53768bd7b8" | |
"checksum cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0e3d6405328b6edb412158b3b7710e2634e23f3614b9bb1c412df7952489a626" | |
"checksum env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "15abd780e45b3ea4f76b4e9a26ff4843258dd8a3eed2775a0e7368c2e7936c2f" | |
"checksum error 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "a6e606f14042bb87cc02ef6a14db6c90ab92ed6f62d87e69377bc759fd7987cc" | |
"checksum gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)" = "40899336fb50db0c78710f53e87afc54d8c7266fb76262fecc78ca1a7f09deae" | |
"checksum gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0912515a8ff24ba900422ecda800b52f4016a56251922d397c576bf92c690518" | |
"checksum hpack 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d2da7d3a34cf6406d9d700111b8eafafe9a251de41ae71d8052748259343b58" | |
"checksum httparse 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a6e7a63e511f9edffbab707141fbb8707d1a3098615fb2adbd5769cdfcc9b17d" | |
"checksum hyper 0.10.5 (registry+https://github.com/rust-lang/crates.io-index)" = "43a15e3273b2133aaac0150478ab443fb89f15c3de41d8d93d8f3bb14bf560f6" | |
"checksum hyper 0.9.18 (registry+https://github.com/rust-lang/crates.io-index)" = "1b9bf64f730d6ee4b0528a5f0a316363da9d8104318731509d4ccc86248f82b3" | |
"checksum idna 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1053236e00ce4f668aeca4a769a09b3bf5a682d802abd6f3cb39374f6b162c11" | |
"checksum iron 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2440ae846e7a8c7f9b401db8f6e31b4ea5e7d3688b91761337da7e054520c75b" | |
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" | |
"checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a" | |
"checksum lazy_static 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7291b1dd97d331f752620b02dfdbc231df7fc01bf282a00769e1cdb963c460dc" | |
"checksum libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)" = "88ee81885f9f04bff991e306fea7c1c60a5f0f9e409e99f6b40e3311a3363135" | |
"checksum libressl-pnacl-sys 2.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "cbc058951ab6a3ef35ca16462d7642c4867e6403520811f28537a4e2f2db3e71" | |
"checksum log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "5141eca02775a762cc6cd564d8d2c50f67c0ea3a372cbf1c51592b3e029e10ad" | |
"checksum logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "92ff59f9a797ff30f711fe6b8489ad424953cee17c206de77d3c5957a9182ba7" | |
"checksum matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efd7622e3022e1a6eaa602c4cea8912254e5582c9c692e9167714182244801b1" | |
"checksum memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20" | |
"checksum mime 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b5c93a4bd787ddc6e7833c519b73a50883deb5863d76d9b71eb8216fb7f94e66" | |
"checksum modifier 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "41f5c9112cb662acd3b204077e0de5bc66305fa8df65c8019d5adb10e9ab6e58" | |
"checksum num_cpus 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a18c392466409c50b87369414a2680c93e739aedeb498eb2bff7d7eb569744e2" | |
"checksum openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)" = "c4117b6244aac42ed0150a6019b4d953d28247c5dd6ae6f46ae469b5f2318733" | |
"checksum openssl-sys 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)" = "89c47ee94c352eea9ddaf8e364be7f978a3bb6d66d73176572484238dd5a5c3f" | |
"checksum openssl-sys-extras 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)" = "11c5e1dba7d3d03d80f045bf0d60111dc69213b67651e7c889527a3badabb9fa" | |
"checksum openssl-verify 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ed86cce894f6b0ed4572e21eb34026f1dc8869cb9ee3869029131bc8c3feb2d" | |
"checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903" | |
"checksum plugin 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1a6a0dc3910bc8db877ffed8e457763b317cf880df4ae19109b9f77d277cf6e0" | |
"checksum pnacl-build-helper 1.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "dfbe13ee77c06fb633d71c72438bd983286bb3521863a753ade8e951c7efb090" | |
"checksum rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "022e0636ec2519ddae48154b028864bdce4eaf7d35226ab8e65c611be97b189d" | |
"checksum redox_syscall 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "8dd35cc9a8bdec562c757e3d43c1526b5c6d2653e23e2315065bc25556550753" | |
"checksum regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)" = "4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f" | |
"checksum regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957" | |
"checksum route-recognizer 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "4f0a750d020adb1978f5964ea7bca830585899b09da7cbb3f04961fc2400122d" | |
"checksum router 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b9b1797ff166029cb632237bb5542696e54961b4cf75a324c6f05c9cf0584e4e" | |
"checksum rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)" = "237546c689f20bb44980270c73c3b9edd0891c1be49cc1274406134a66d3957b" | |
"checksum rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "c5f5376ea5e30ce23c03eb77cbe4962b988deead10910c372b226388b594c084" | |
"checksum same-file 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d931a44fdaa43b8637009e7632a02adc4f2b2e0733c08caa4cf00e8da4a117a7" | |
"checksum semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)" = "d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac" | |
"checksum solicit 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "172382bac9424588d7840732b250faeeef88942e37b6e35317dce98cafdd75b2" | |
"checksum tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "87974a6f5c1dfb344d733055601650059a3363de2a6104819293baff662132d6" | |
"checksum thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03" | |
"checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" | |
"checksum time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)" = "211b63c112206356ef1ff9b19355f43740fc3f85960c598a93d3a3d3ba7beade" | |
"checksum traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "07eaeb7689bb7fca7ce15628319635758eda769fed481ecfe6686ddef2600616" | |
"checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" | |
"checksum typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887" | |
"checksum typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "653be63c80a3296da5551e1bfd2cca35227e13cdd08c6668903ae2f4f77aa1f6" | |
"checksum unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "13a5906ca2b98c799f4b1ab4557b76367ebd6ae5ef14930ec841c74aed5f3764" | |
"checksum unicode-bidi 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d3a078ebdd62c0e71a709c3d53d2af693fe09fe93fbff8344aebe289b78f9032" | |
"checksum unicode-normalization 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "e28fa37426fceeb5cf8f41ee273faa7c82c47dc8fba5853402841e665fcd86ff" | |
"checksum unsafe-any 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b351086021ebc264aea3ab4f94d61d889d98e5e9ec2d985d993f50133537fd3a" | |
"checksum url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f5ba8a749fb4479b043733416c244fa9d1d3af3d7c23804944651c8a448cb87e" | |
"checksum user32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4ef4711d107b21b410a3a974b1204d9accc8b10dad75d8324b5d755de1617d47" | |
"checksum utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f" | |
"checksum walkdir 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "bb08f9e670fab86099470b97cd2b252d6527f0b3cc1401acdb595ffc9dd288ff" | |
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" | |
"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "iron-issue-444" | |
version = "0.1.0" | |
authors = ["Matt Hauck <[email protected]>"] | |
[dependencies] | |
env_logger = "*" | |
hyper = "*" | |
iron = "*" | |
log = "*" | |
logger = "*" | |
router = "*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO - POST http://localhost:3000/stuff 200 OK (0.083 ms) | |
INFO - {}POST http://localhost:3000/stuff 404 Not Found (0.061 ms) | |
ERROR - Error handling: | |
Request { | |
url: Url { generic_url: "http://localhost:3000/stuff" } | |
method: Extension("{}POST") | |
remote_addr: V6([::1]:56194) | |
local_addr: V6([::1]:3000) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate iron; | |
extern crate router; | |
extern crate log; | |
extern crate logger; | |
extern crate env_logger; | |
use iron::prelude::*; | |
use iron::status; | |
use router::Router; | |
use logger::Logger; | |
use log::{LogRecord, LogLevelFilter}; | |
use env_logger::LogBuilder; | |
fn main() { | |
setup_logging(); | |
let mut router = Router::new(); | |
router.post("/stuff", stuff, "stuff"); | |
let (logger_before, logger_after) = Logger::new(None); | |
let mut chain = Chain::new(router); | |
// Link logger_before as your first before middleware. | |
chain.link_before(logger_before); | |
// Link logger_after as your *last* after middleware. | |
chain.link_after(logger_after); | |
Iron::new(chain).http("localhost:3000").unwrap(); | |
fn stuff(req: &mut Request) -> IronResult<Response> { | |
// Don't read the request body! | |
Ok(Response::with((status::Ok, "Got it"))) | |
} | |
} | |
fn setup_logging() { | |
let formatter = |record: &LogRecord| { | |
format!("{} - {}", record.level(), record.args()) | |
}; | |
let mut builder = LogBuilder::new(); | |
builder.format(formatter).filter(None, LogLevelFilter::Info); | |
if std::env::var("RUST_LOG").is_ok() { | |
builder.parse(&std::env::var("RUST_LOG").unwrap()); | |
} | |
builder.init().unwrap(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pass in some data | |
curl -v -d '{}' http://localhost:3000/stuff http://localhost:3000/stuff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment