notcurses/rust
joseLuís 1687af89e0 rust: refactor error system.
We need to use Result<> to manage error flow,
at least on the methods API. This way it will
finally feel idiomatic Rust and more concise.
Also, we can't return a non Result from main.

- rename NcResult to NcIntResult.
- new NcError & NcResult types.
- new error![] macro to reduce boilerplate.
- change return type of NcDirect methods to NcResult.
  - refactor several examples to return NcResult:
    direct-cursor, poc-direct & poc-kittyzapper.
- BONUS: fix test not stopping notcurses context.
- update lib doc-comment.
- fix typo in readme.
2020-12-25 05:16:34 +01:00
..
.cargo rust: improve testing 2020-11-18 01:48:54 +01:00
build v2.1.1 2020-12-16 17:42:06 -05:00
examples rust: refactor error system. 2020-12-25 05:16:34 +01:00
src rust: refactor error system. 2020-12-25 05:16:34 +01:00
tests rust: keep refactoring and improving docs 2020-12-02 02:12:12 +01:00
Cargo.toml v2.1.1 2020-12-16 17:42:06 -05:00
README.md rust fix poc-direct; update readme deps badge 2020-12-25 00:53:03 +01:00

libnotcurses-sys

Crate API dependency status MSRV: 1.47.0