Skip to content

Commit

Permalink
0.1.1: language changes, updated documentations.
Browse files Browse the repository at this point in the history
- `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.
  • Loading branch information
lifthrasiir committed Nov 21, 2014
1 parent 6f2770d commit 0a04ae1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "chrono"
version = "0.1.0"
version = "0.1.1"
authors = ["Kang Seonghoon <[email protected]>"]

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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
2 changes: 1 addition & 1 deletion src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...
}
}

1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 0a04ae1

Please sign in to comment.