From a940c4ab993510e0ea3e77d743783f6cb05632e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Gro=C3=9Fe?= Date: Sun, 31 Mar 2024 11:48:12 +0100 Subject: [PATCH] v0.10.0 update readme --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 94e0acf..d9c9c3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -894,7 +894,7 @@ dependencies = [ [[package]] name = "ratatui-image" -version = "0.9.0" +version = "0.10.0" dependencies = [ "base64", "crossterm 0.25.0", diff --git a/Cargo.toml b/Cargo.toml index 3e11136..165f95e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ratatui-image" -version = "0.9.0" +version = "0.10.0" edition = "2021" autoexamples = true authors = ["Benjamin Große "] diff --git a/README.md b/README.md index 33accb6..8d9155c 100644 --- a/README.md +++ b/README.md @@ -110,10 +110,9 @@ blocking the UI thread. The lib also includes a binary that renders an image file. ## Features -* `sixel` (default) compiles with libsixel. * `rustix` (default) enables much better guessing of graphics protocols with `rustix::termios::tcgetattr`. -* `crossterm` or `termion` should match your ratatui backend. `termwiz` is available, but not -working correctly with ratatu-image. +* `crossterm` or `termion` should match your ratatui backend. `termwiz` is available, but does not +work correctly with ratatu-image. * `serde` for `#[derive]`s on [picker::ProtocolType] for convenience, because it might be useful to save it in some user configuration. * `image-defaults` (default) just enables `image/defaults` (`image` has `default-features = @@ -121,6 +120,8 @@ false`). To only support a selection of image formats and cut down dependencies, feature, add `image` to your crate, and enable its features/formats as desired. See https://doc.rust-lang.org/cargo/reference/features.html#feature-unification. +The sixel implementation is now native: [icy_sixel](https://github.com/mkrueger/icy_sixel). + [Ratatui]: https://github.com/ratatui-org/ratatui [Sixel]: https://en.wikipedia.org/wiki/Sixel [`render_stateful_widget`]: https://docs.rs/ratatui/latest/ratatui/terminal/struct.Frame.html#method.render_stateful_widget