mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 00:12:57 +00:00
fc9546854f
We need to bump 0.x.0 because the library API changed in incompatible ways: $ cargo public-api diff Resolved `diff` to `diff 0.23.0` Removed items from the public API ================================= (none) Changed items in the public API =============================== -pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>) -> bat::error::Result<bool> +pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result<bool> -pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool> +pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool> Added items to the public API ============================= [...] |
||
---|---|---|
.. | ||
completions | ||
manual | ||
patches | ||
syntaxes | ||
themes | ||
.gitattributes | ||
.ignore | ||
acknowledgements.bin | ||
create.sh | ||
syntaxes.bin | ||
theme_preview.rs | ||
themes.bin |