Get the byte-progress bar style. Format: `⠋ [████████░░░░░░░░] 1.5 MB/3.0 MB Message (50%)`
()
| 351 | /// |
| 352 | /// Format: `⠋ [████████░░░░░░░░] 1.5 MB/3.0 MB Message (50%)` |
| 353 | fn byte_progress_style() -> ProgressStyle { |
| 354 | ProgressStyle::with_template( |
| 355 | "{spinner:.cyan} [{bar:30.cyan/dim}] {bytes}/{total_bytes} {msg} ({percent}%)", |
| 356 | ) |
| 357 | .expect("Invalid byte progress template") |
| 358 | .tick_chars(SPINNER_CHARS) |
| 359 | .progress_chars("█▓░") |
| 360 | } |
| 361 | |
| 362 | /// Get the warning completion style. |
| 363 | /// |
no outgoing calls