[ANN] rust-hglib 0.1.0
Yuya Nishihara
yuya at tcha.org
Thu Sep 24 13:51:58 UTC 2015
On Wed, 23 Sep 2015 19:00:26 -0500, Kevin Bullock wrote:
> > On Sep 21, 2015, at 08:22, Kevin Bullock <kbullock at ringworld.org> wrote:
> >> On 21 Sep 2015, at 01:27, Yuya Nishihara <yuya at tcha.org> wrote:
> >>> On Sun, 20 Sep 2015 23:03:02 -0700, Sean Farley wrote:
> >>> Kevin Bullock <kbullock+mercurial at ringworld.org> writes:
> >>>> I've just released a preliminary [command server][1] client library
> >>>> for [Rust][2]. It's available on crates.io: <https://crates.io/crates/hglib>.
> >>>>
> >>>> Source here: <http://kbullock.ringworld.org/hg/rust-hglib/>
> >>>> Documentation here: <http://kbullock.ringworld.org/rustdoc/hglib/>
> >>>>
> >>>> If you find it useful or want to contribute, please let me know or send
> >>>> patches! I'm curious to see if there's any interest in building tooling
> >>>> for Mercurial in Rust.
> >>
> >> It seems I need a beta release of Rust to build it.
> >
> > Yes, I believe I'm using features that are as yet only in the nightly build. I'd like to try to make it build against stable. Rust 1.4 may fix this when it gets released (they are also on a time-based release plan).
>
> I've just released 0.1.1 which builds on stable Rust, which required relatively few changes.
Thanks, it can be compiled by rustc in Debian sid.
For the last commit, I think it will need a dedicated error enum and Result
type at some point. try!() can wrap io::Error automagically if From<io::Error>
is implemented.
Regards,
More information about the Mercurial
mailing list