Skip to content

Commit 385f36a

Browse files
committed
Bump dependencies for new alpha release
1 parent 16e8797 commit 385f36a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
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 = ["[email protected]",
66
"Alex Crichton <[email protected]>"]
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

Lines changed: 1 addition & 1 deletion
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)