File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11[package ]
22
33name = " conduit-static"
4- version = " 0.8.1 "
4+ version = " 0.9.0-alpha.0 "
55authors = [" wycats@gmail.com" ,
66 " Alex Crichton <alex@alexcrichton.com>" ]
77description = " Middleware for serving static files for conduit"
88repository = " https://github.com/conduit-rust/conduit-static"
99license = " MIT"
1010
1111[dependencies ]
12- conduit = " 0.8 "
12+ conduit = " 0.9.0-alpha.0 "
1313conduit-mime-types = " 0.7"
1414time = " 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 "
2020tempdir = " 0.3"
Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments