a-kenji / tui-term

A pseudoterminal widget library for ratatui
MIT License
119 stars 7 forks source link

chore(deps): bump divan from 0.1.2 to 0.1.4 #117

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps divan from 0.1.2 to 0.1.4.

Changelog

Sourced from divan's changelog.

[0.1.4] - 2023-12-02

Added

  • From implementations for counters on references to u8u64 and usize, such as From<&u64> and From<&&u64>. This allows for doing:

    bencher
        .with_inputs(|| { ... })
        .input_counter(ItemsCount::from)
        .bench_values(|n| { ... });
    
  • Bencher::count_inputs_as<C> method to convert inputs to a Counter:

    bencher
        .with_inputs(|| -> usize {
            // ...
        })
        .count_inputs_as::<ItemsCount>()
        .bench_values(|n| -> Vec<usize> {
            (0..n).collect()
        });
    

[0.1.3] - 2023-11-21

Added

  • Convenience shorthand options for #[divan::bench] and #[divan::bench_group] counters:

  • Support for NetBSD, DragonFly BSD, and Haiku OS by using pre-main.

  • Set global thread counts using:

    • Divan::threads
    • --threads A B C... CLI arg
    • DIVAN_THREADS=A,B,C env var

    The following example will benchmark across 2, 4, and [available parallelism] thread counts:

... (truncated)

Commits
  • 2032b47 Release v0.1.4
  • 79791bf Add Bencher::count_inputs_as\<C>
  • 1e0ba5a Add From impls for counters on int refs
  • 40784c8 Release v0.1.3
  • 0f7133e Add convenience shorthand options for counters
  • a173613 Deduplicate target groups
  • 39dc3d7 Emit compile error for unsupported OS
  • 06c4c02 Always use pre-main instead of linkme
  • d60ad58 Take optional name in AnyBenchEntry::bench
  • 80f80a2 Change AnyBenchEntry::bench to use Bencher
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)