Compare commits

..

3 Commits

Author SHA1 Message Date
Avril c8ecf2ccd1
Version bump: Moved from using `AsRawFd` to platform-agnostic `AsFd` in interface. Removed currently-unused features.
1 month ago
Avril 675f4b8a1a
Bump bf version: Added default trait impls to `Infallible`.
1 month ago
Avril 0ef800e077
Added default trait impls to `Infallible`.
1 month ago

@ -2,7 +2,7 @@
name = "termprogress" name = "termprogress"
description = "A terminal progress bar renderer with status and spinners" description = "A terminal progress bar renderer with status and spinners"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
version = "0.11.0-r0" version = "0.11.0"
authors = ["Avril <flanchan@cumallover.me>"] authors = ["Avril <flanchan@cumallover.me>"]
edition = "2024" edition = "2024"
@ -15,7 +15,7 @@ default = ["size"]
size = ["dep:terminal_size"] size = ["dep:terminal_size"]
# TODO: React to `SIGWINCH` when output stream is a terminal (linux only.) # TODO: React to `SIGWINCH` when output stream is a terminal (linux only.)
reactive = [] # reactive = []
[dependencies] [dependencies]
atomic_refcell = "0.1.10" atomic_refcell = "0.1.10"

@ -31,6 +31,7 @@ macro_rules! flush {
/// The default place to write bars to if an output is not user-specified. /// The default place to write bars to if an output is not user-specified.
pub(crate) type DefaultOutputDevice = std::io::Stdout; pub(crate) type DefaultOutputDevice = std::io::Stdout;
/// A function that creates the default output device object for constructing a progress bar. /// A function that creates the default output device object for constructing a progress bar.
/// ///
/// This must return multiple handles, since multiple bars can exist throughout the program at overlapping lifetimes. /// This must return multiple handles, since multiple bars can exist throughout the program at overlapping lifetimes.

Loading…
Cancel
Save