0.1.1: language changes, updated documentations.

- `std::fmt::WriteError` is now `std::fmt::Error`.
- abandoned rust-ci for documentations (sorry, but it didn't work
  nowdays ;_;), we are now publishing directly to Github pages.
This commit is contained in:
Kang Seonghoon 2014-11-21 16:17:47 +09:00
parent 6f2770d2bb
commit 0a04ae1aa9
4 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,11 @@
[package]
name = "chrono"
version = "0.1.0"
version = "0.1.1"
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
description = "Date and time library for Rust"
homepage = "https://github.com/lifthrasiir/rust-chrono"
documentation = "https://lifthrasiir.github.io/rust-chrono/chrono/"
repository = "https://github.com/lifthrasiir/rust-chrono"
readme = "README.md"
license = "MIT/Apache-2.0"

View File

@ -8,7 +8,7 @@ Rust-chrono
Date and time handling for Rust.
[Complete Documentation](http://rust-ci.org/lifthrasiir/rust-chrono/doc/chrono/)
[Complete Documentation](https://lifthrasiir.github.io/rust-chrono/chrono/)
```rust
// find out if the doomsday rule is correct!

View File

@ -212,7 +212,7 @@ impl<'a> DelayedFormat<'a> {
impl<'a> fmt::Show for DelayedFormat<'a> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let ret = format(f, self.date.as_ref(), self.time.as_ref(), self.off.as_ref(), self.fmt);
ret.map_err(|_| fmt::WriteError) // XXX
ret.map_err(|_| fmt::Error) // we don't have any good means to pass detailed errors...
}
}

View File

@ -8,6 +8,7 @@ Experimental date and time handling for Rust.
#![comment = "Date and time library for Rust"]
#![license = "MIT"]
#![doc(html_root_url = "https://lifthrasiir.github.io/rust-chrono/")]
#![feature(macro_rules)]
#![deny(missing_docs)]