diff --git a/Cargo.lock b/Cargo.lock index bcaf00b..7682b93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -203,6 +203,12 @@ dependencies = [ "iovec", ] +[[package]] +name = "bytes" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" + [[package]] name = "cc" version = "1.0.53" @@ -660,10 +666,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" dependencies = [ "byteorder", - "bytes", + "bytes 0.4.12", "fnv", "futures", - "http", + "http 0.1.21", "indexmap", "log 0.4.8", "slab", @@ -696,9 +702,9 @@ checksum = "882ca7d8722f33ce2c2db44f95425d6267ed59ca96ce02acbe58320054ceb642" dependencies = [ "base64 0.10.1", "bitflags", - "bytes", + "bytes 0.4.12", "headers-core", - "http", + "http 0.1.21", "mime 0.3.16", "sha-1", "time", @@ -710,8 +716,8 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "967131279aaa9f7c20c7205b45a391638a83ab118e6509b2d0ccbe08de044237" dependencies = [ - "bytes", - "http", + "bytes 0.4.12", + "http 0.1.21", ] [[package]] @@ -745,9 +751,20 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0" dependencies = [ - "bytes", + "bytes 0.4.12", + "fnv", + "itoa 0.4.5", +] + +[[package]] +name = "http" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +dependencies = [ + "bytes 1.4.0", "fnv", - "itoa", + "itoa 1.0.5", ] [[package]] @@ -756,9 +773,9 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", - "http", + "http 0.1.21", "tokio-buf", ] @@ -783,15 +800,15 @@ version = "0.12.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "futures-cpupool", "h2", - "http", + "http 0.1.21", "http-body", "httparse", "iovec", - "itoa", + "itoa 0.4.5", "log 0.4.8", "net2", "rustc_version", @@ -813,7 +830,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "hyper", "native-tls", @@ -866,6 +883,12 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" +[[package]] +name = "itoa" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" + [[package]] name = "jsonwebtoken" version = "6.0.1" @@ -1650,11 +1673,11 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b03b599645e2db97724125cdff11196b56a70b21837a6e68f0e55955989e0cc" dependencies = [ - "bytes", + "bytes 0.4.12", "combine", "dtoa", "futures", - "itoa", + "itoa 0.4.5", "sha1", "tokio-codec", "tokio-executor", @@ -1716,13 +1739,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f88643aea3c1343c804950d7bf983bd2067f5ab59db6d613a08e05572f2714ab" dependencies = [ "base64 0.10.1", - "bytes", + "bytes 0.4.12", "cookie", "cookie_store", "encoding_rs", "flate2", "futures", - "http", + "http 0.1.21", "hyper", "hyper-tls", "log 0.4.8", @@ -1764,11 +1787,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd1a1069ba04874a485528d1602fab4569f2434a5547614428e2cc22b91bfb71" dependencies = [ "base64 0.9.3", - "bytes", + "bytes 0.4.12", "futures", "hex", "hmac", - "http", + "http 0.1.21", "hyper", "hyper-tls", "lazy_static 1.4.0", @@ -1812,7 +1835,7 @@ version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da6eac54781d2aac517a99f1d85d0d6a78674543f8d122d884628c1ff21b495" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "rusoto_core", "xml-rs", @@ -1980,7 +2003,7 @@ version = "1.0.53" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "993948e75b189211a9b31a7528f950c6adc21f9720b6438ff80a7fa2f864cea2" dependencies = [ - "itoa", + "itoa 0.4.5", "ryu", "serde 1.0.110", ] @@ -2010,7 +2033,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "642dd69105886af2efd227f75a520ec9b44a820d65bc133a9131f7d229fd165a" dependencies = [ "dtoa", - "itoa", + "itoa 0.4.5", "serde 1.0.110", "url 1.7.2", ] @@ -2116,7 +2139,7 @@ dependencies = [ "diesel", "env_logger", "futures", - "http", + "http 0.2.9", "log 0.4.8", "openssl", "radix_trie", @@ -2137,7 +2160,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d" dependencies = [ - "bytes", + "bytes 0.4.12", ] [[package]] @@ -2147,7 +2170,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9c668ebf3bf8af0ca69d0e3453d6ddb526d80ac4af0d10d7e074518136e1c89" dependencies = [ "chrono", - "http", + "http 0.1.21", "jsonwebtoken", "serde 1.0.110", "serde_derive", @@ -2273,7 +2296,7 @@ version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "mio", "num_cpus", @@ -2297,7 +2320,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46" dependencies = [ - "bytes", + "bytes 0.4.12", "either", "futures", ] @@ -2308,7 +2331,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "tokio-io", ] @@ -2350,7 +2373,7 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "log 0.4.8", ] @@ -2426,7 +2449,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "iovec", "mio", @@ -2469,7 +2492,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "log 0.4.8", "mio", @@ -2484,7 +2507,7 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5076db410d6fdc6523df7595447629099a1fdc47b3d9f896220780fa48faf798" dependencies = [ - "bytes", + "bytes 0.4.12", "futures", "iovec", "libc", @@ -2521,14 +2544,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f38f4e9aa8add743a8b66a35d497a2703710a54f65da709baa3fd98ddaa7eac2" dependencies = [ "atoi", - "bytes", + "bytes 0.4.12", "checked", "chrono", "flate2", "futures", "handlebars", "headers", - "http", + "http 0.1.21", "hyper", "lazy_static 1.4.0", "log 0.4.8", @@ -2555,7 +2578,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "161cdaa340b77756efe585d6d8f5d346aa3c04dd096cbd6c3443064797477a8b" dependencies = [ - "http", + "http 0.1.21", "proc-macro-hack", "proc-macro2 0.4.30", "quote 0.6.13", diff --git a/Cargo.toml b/Cargo.toml index 05d42b4..abf6b35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ chrono = "0.4" openssl = "*" diesel = { version = "1.4", features = ["postgres", "uuid", "chrono", "r2d2"] } tower-web = "0.3" -http = "0.1" +http = "0.2" url = "1.7" svc-authn = { version = "0.5", features = ["jose", "tower-web"] } svc-authz = "0.7"