Upgrade to Diesel 1.0.0

This commit is contained in:
Magnus Hoff 2018-01-06 09:29:15 +01:00
parent bfbc81ada2
commit c52ac1c2f1
2 changed files with 37 additions and 37 deletions

62
Cargo.lock generated
View file

@ -159,18 +159,18 @@ dependencies = [
[[package]]
name = "diesel"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_derives 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_derives 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libsqlite3-sys 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "diesel_derives"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
@ -179,19 +179,19 @@ dependencies = [
[[package]]
name = "diesel_infer_schema"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"infer_schema_macros 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"infer_schema_macros 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "diesel_migrations"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"migrations_internals 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"migrations_macros 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"migrations_internals 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"migrations_macros 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@ -341,19 +341,19 @@ dependencies = [
[[package]]
name = "infer_schema_internals"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "infer_schema_macros"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"dotenv 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"infer_schema_internals 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"infer_schema_internals 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -449,18 +449,18 @@ dependencies = [
[[package]]
name = "migrations_internals"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "migrations_macros"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"migrations_internals 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"migrations_internals 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -612,10 +612,10 @@ dependencies = [
[[package]]
name = "r2d2-diesel"
version = "1.0.0-beta1"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"r2d2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -689,9 +689,9 @@ dependencies = [
"chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
"codegen 0.1.0",
"diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_infer_schema 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_migrations 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_infer_schema 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_migrations 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
"futures-cpupool 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
@ -706,7 +706,7 @@ dependencies = [
"pulldown-cmark 0.1.0 (git+https://github.com/maghoff/pulldown-cmark.git)",
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
"r2d2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"r2d2-diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)",
"r2d2-diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1086,10 +1086,10 @@ dependencies = [
"checksum chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7c20ebe0b2b08b0aeddba49c609fe7957ba2e33449882cb186a180bc60682fa9"
"checksum clap 2.29.0 (registry+https://github.com/rust-lang/crates.io-index)" = "110d43e343eb29f4f51c1db31beb879d546db27998577e5715270a54bcf41d3f"
"checksum derive-error-chain 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3c9ca9ade651388daad7c993f005d0d20c4f6fe78c1cdc93e95f161c6f5ede4a"
"checksum diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "8cefa934d89d472eab3a8f8dd8e6cb78b78bd10f4f2b9a316d3b21f5fc92f94e"
"checksum diesel_derives 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "d17adb754297df2557f86b7bfaf479e6e5d6433f6c551a01628e5ceed13ba240"
"checksum diesel_infer_schema 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "5d0a245c96000569e55467fc861529c993c694b33ffb8edf4202d4384f57387c"
"checksum diesel_migrations 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "4dff84c1913d62b24921e569f200ca74eb568a1dbf601483131af18fc119de04"
"checksum diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "de51f2e2321a7db9bdfd7e3457c6ce11dce5009cad7ff9ac25a04879239e5fe6"
"checksum diesel_derives 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "274aeed033dcd9e40f472cd282a3692512fef153283ec4c745873517d0e67f3f"
"checksum diesel_infer_schema 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "83ddba01e174d26fbf8cb1ae4ac5d7a3dd3690da18a8281e14e62783eccd307f"
"checksum diesel_migrations 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "45efc922686673614d4aee6ddd47ebef2d5c789a0a0b34e0df5efaaedac51d09"
"checksum diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "3c2b69f912779fbb121ceb775d74d51e915af17aaebc38d28a592843a2dd0a3a"
"checksum digest 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e5b29bf156f3f4b3c4f610a25ff69370616ae6e0657d416de22645483e72af0a"
"checksum dotenv 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d6f0e2bb24d163428d8031d3ebd2d2bd903ad933205a97d0f18c7c1aade380f3"
@ -1108,8 +1108,8 @@ dependencies = [
"checksum idna 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "014b298351066f1512874135335d62a789ffe78a9974f94b43ed5621951eaf7d"
"checksum indoc 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1728ee8a2e45f6dc2843585160d1c7c14950abd3f9d23f854b9b2d6ff8b2379e"
"checksum indoc-impl 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a4d87d10be98219365f73f997c1c3a0b12c7be2c6b505211c9b062bd23763aae"
"checksum infer_schema_internals 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "612223b7e3f3d91f2e37007140001c110611672024ffa20e8d0a2e650e01fb3d"
"checksum infer_schema_macros 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "ee7447ac27f01f224a6fae696480a803a5c5779971b254d728c3486885198677"
"checksum infer_schema_internals 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ea8948b797ecdcfd162322c0fadece87c18eeb13b8d2a6750385f796e2d26591"
"checksum infer_schema_macros 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fb8a190a8a1cd2db92e59d62afca8e1d8a22dae9b26b753ba09067ac5835a6ae"
"checksum iovec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6e8b9c2247fcf6c6a1151f1156932be5606c9fd6f55a2d7f9fc1cb29386b2f7"
"checksum itertools 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d3f2be4da1690a039e9ae5fd575f706a63ad5a2120f161b1d653c9da3930dd21"
"checksum itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8324a32baf01e2ae060e9de58ed0bc2320c9a2833491ee36cd3b4c414de4db8c"
@ -1124,8 +1124,8 @@ dependencies = [
"checksum maplit 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5ed95049d40b8a1a7691adbabca028ad481f7e6a2921ce4846e1ee168b4e4ca5"
"checksum matches 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "100aabe6b8ff4e4a7e32c1c13523379802df0772b82466207ac25b013f193376"
"checksum memchr 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "796fba70e76612589ed2ce7f45282f5af869e0fdd7cc6199fa1aa1f1d591ba9d"
"checksum migrations_internals 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "b34ea7bb052a19ae3c1efae055ded41b591647fdc6a4c9f4d47673c7a5f72151"
"checksum migrations_macros 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "9fbf064205a75b00cbc82be9aad299bc09460d6437e9c210667e2be84d5f090c"
"checksum migrations_internals 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dd5248cbbe4f45d5b4e6cf13a9f37aa587d31c41d2d8b80a0bf0aaf2e30c862d"
"checksum migrations_macros 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "06b25945741aeb3a00bb37eb142d03480e96230fff5569327ab4ac2082449df2"
"checksum mime 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e2e00e17be181010a91dbfefb01660b17311059dc8c7f48b9017677721e732bd"
"checksum mio 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "0e8411968194c7b139e9105bc4ae7db0bae232af087147e72f0616ebf5fdb9cb"
"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
@ -1144,7 +1144,7 @@ dependencies = [
"checksum pulldown-cmark 0.1.0 (git+https://github.com/maghoff/pulldown-cmark.git)" = "<none>"
"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
"checksum r2d2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "59611202bee496c586ecd84e3ed149b4ec75981b0fc10d7f60e878fa23ae16e9"
"checksum r2d2-diesel 1.0.0-beta1 (registry+https://github.com/rust-lang/crates.io-index)" = "923c345fa4c2267a07589524b003ec1a17be8dc6150d45a3f69b199efedf7832"
"checksum r2d2-diesel 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9c29bad92da76d02bc2c020452ebc3a3fe6fa74cfab91e711c43116e4fb1a3"
"checksum rand 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)" = "6475140dfd8655aeb72e1fd4b7a1cc1c202be65d71669476e392fe62532b9edd"
"checksum redox_syscall 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "ab105df655884ede59d45b7070c8a65002d921461ee813a024558ca16030eea0"
"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"

View file

@ -25,7 +25,7 @@ lazy_static = "0.2"
maplit = "1"
percent-encoding = "1.0.0"
r2d2 = "0.8"
r2d2-diesel = "1.0.0-beta1"
r2d2-diesel = "1.0.0"
regex = "0.2"
serde = "1.0.0"
serde_derive = "1.0.0"
@ -44,17 +44,17 @@ version = "0.8"
[dependencies.diesel]
default-features = false
features = ["sqlite", "chrono"]
version = "1.0.0-beta1"
version = "1.0.0"
[dependencies.diesel_migrations]
default-features = false
features = ["sqlite"]
version = "1.0.0-beta1"
version = "1.0.0"
[dependencies.diesel_infer_schema]
default-features = false
features = ["sqlite"]
version = "1.0.0-beta1"
version = "1.0.0"
[dependencies.num]
default-features = false
@ -74,11 +74,11 @@ walkdir = "1"
[build-dependencies.diesel]
default-features = false
features = ["sqlite", "chrono"]
version = "1.0.0-beta1"
version = "1.0.0"
[build-dependencies.diesel_migrations]
default-features = false
features = ["sqlite"]
version = "1.0.0-beta1"
version = "1.0.0"
[workspace]