Skip to content

Commit 32a374a

Browse files
authored
Merge pull request #5 from jtgeibel/bump-versions
Bump dependencies for new alpha release
2 parents 16e8797 + 385f36a commit 32a374a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22

33
name = "conduit-static"
4-
version = "0.8.1"
4+
version = "0.9.0-alpha.0"
55
authors = ["wycats@gmail.com",
66
"Alex Crichton <alex@alexcrichton.com>"]
77
description = "Middleware for serving static files for conduit"
88
repository = "https://github.com/conduit-rust/conduit-static"
99
license = "MIT"
1010

1111
[dependencies]
12-
conduit = "0.8"
12+
conduit = "0.9.0-alpha.0"
1313
conduit-mime-types = "0.7"
1414
time = "0.1"
15-
filetime = "0.1"
15+
filetime = "0.2"
1616

1717
[dev-dependencies]
18-
civet = "0.9"
19-
conduit-test = "0.8"
18+
civet = "0.12.0-alpha.0"
19+
conduit-test = "0.9.0-alpha.0"
2020
tempdir = "0.3"

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Handler for Static {
4848
}
4949
let mtime = FileTime::from_last_modification_time(&data);
5050
let ts = time::Timespec {
51-
sec: mtime.seconds_relative_to_1970() as i64,
51+
sec: mtime.unix_seconds() as i64,
5252
nsec: mtime.nanoseconds() as i32,
5353
};
5454
let tm = time::at(ts).to_utc();

0 commit comments

Comments
 (0)