upgrade dependencies

Rust 1.15+ now supports serde codegen on stable without the build.rs.
Update to serde 0.9 and uuid crate 0.4 to match.
This commit is contained in:
Scott Lamb
2017-02-05 20:13:51 -08:00
parent c82f038bef
commit f97e232131
7 changed files with 54 additions and 163 deletions

View File

@@ -35,6 +35,7 @@ use core::str::FromStr;
use db;
use dir::SampleFileDir;
use error::Error;
use json;
use http_entity;
use hyper::{header,server,status};
use hyper::uri::RequestUri;
@@ -66,8 +67,6 @@ lazy_static! {
static ref SEGMENTS_RE: Regex = Regex::new(r"^(\d+)(-\d+)?(?:\.(\d+)?-(\d+)?)?$").unwrap();
}
mod json { include!(concat!(env!("OUT_DIR"), "/serde_types.rs")); }
enum Path {
CamerasList, // "/" or "/cameras/"
Camera(Uuid), // "/cameras/<uuid>/"