Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update cargo all non breaking changes #54

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 5, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change OpenSSF
arc-swap dependencies minor 1.2 -> 1.7 OpenSSF Scorecard
async-trait dependencies patch 0.1.50 -> 0.1.79 OpenSSF Scorecard
async-trait dependencies patch 0.1.52 -> 0.1.79 OpenSSF Scorecard
bytes dependencies minor 1.1.0 -> 1.6.0 OpenSSF Scorecard
clap dev-dependencies minor 4.0.18 -> 4.5.4 OpenSSF Scorecard
color-eyre dev-dependencies patch 0.6.1 -> 0.6.3 OpenSSF Scorecard
compact_str dependencies patch 0.7.0 -> 0.7.1 OpenSSF Scorecard
dotenvy dev-dependencies patch 0.15.0 -> 0.15.7 OpenSSF Scorecard
once_cell dependencies minor 1.4 -> 1.19 OpenSSF Scorecard
predicates dependencies patch 2.1.1 -> 2.1.5 OpenSSF Scorecard
rand (source) dependencies patch 0.8.3 -> 0.8.5 OpenSSF Scorecard
reqwest-middleware dependencies patch 0.2.0 -> 0.2.5 OpenSSF Scorecard
serde (source) dev-dependencies patch 1.0.137 -> 1.0.197 OpenSSF Scorecard
task-local-extensions dependencies patch 0.1.1 -> 0.1.4 OpenSSF Scorecard
time (source) dev-dependencies patch 0.3.9 -> 0.3.34 OpenSSF Scorecard
tracing-test dev-dependencies patch 0.2.2 -> 0.2.4 OpenSSF Scorecard

Release Notes

vorner/arc-swap (arc-swap)

v1.7.1

Compare Source

  • Fix docs build (mutually exclusive features, #​112).

v1.7.0

Compare Source

  • Support for no-std builds with the experimental-thread-local. Needs nightly
    compiler. No stability guarantees with this feature (#​93).

v1.6.0

Compare Source

  • Fix a data race reported by MIRI.
  • Avoid violating stacked borrows (AFAIK these are still experimental and not
    normative, but better safe than sorry). (#​80).
  • The AccessConvert wrapper is needed less often in practice (#​77).

v1.5.1

Compare Source

  • bug: Insufficient synchronization on weak platforms (#​76).

    Never observed in practice (it's suspected practical weak platforms like ARM
    are still stronger than the model), but still technically UB.

  • docs: Mention triomphe's ThinArc around the fat-pointer limitations.

v1.5.0

Compare Source

  • Support serde (by a feature).

v1.4.0

Compare Source

  • Allow const-initializing ArcSwapOption (const_empty method).

v1.3.2

Compare Source

  • More helpful description of the AsRaw trait (isn't implemented for owned
    Arc/Option<Arc>).

v1.3.1

Compare Source

  • Cache doc improvements.

v1.3.0

Compare Source

  • Allow mapping of DynAccess.
  • Fix some lints.
  • Don't leave threads running in tests/doctests. It's a bad form and annoys
    miri.
dtolnay/async-trait (async-trait)

v0.1.79

Compare Source

  • Clean up some dead code

v0.1.78

Compare Source

  • Prevent unused_qualifications lint being triggered in generated code in nightly-2024-03-05 and up (#​260)

v0.1.77

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v0.1.76

Compare Source

  • Documentation improvements

v0.1.75

Compare Source

  • Documentation improvements

v0.1.74

Compare Source

  • Documentation improvements

v0.1.73

Compare Source

  • Prevent generated code from triggering ignored_unit_patterns pedantic clippy lint

v0.1.72

Compare Source

  • Documentation improvements

v0.1.71

Compare Source

  • Documentation improvements

v0.1.70

Compare Source

v0.1.69

Compare Source

  • Resolve new diverging_sub_expression clippy lint in generated code

v0.1.68

Compare Source

  • Improve error message if an async fn is written without a function body in an impl block

v0.1.67

Compare Source

  • Update syn dependency to 2.x

v0.1.66

Compare Source

  • Set html_root_url attribute

v0.1.65

Compare Source

  • Fix interaction with rustc's single_use_lifetimes lint (#​238, #​239)

v0.1.64

Compare Source

  • Suppress async_yields_async clippy correctness lint in generated code (#​236, #​237)

v0.1.63

Compare Source

  • Do not require Sync on unused shared reference arguments (#​232, #​233)
  • Make expansion of nested _ and .. patterns edition independent (#​234, #​235)

v0.1.62

Compare Source

  • Improve error message involving elided lifetimes (#​229)

v0.1.61

Compare Source

  • Fix async function signatures that involve #[cfg(...)] attributes on parameters (#​227, thanks @​azriel91)

v0.1.60

Compare Source

  • Documentation improvements

v0.1.59

Compare Source

  • Support self: Arc<Self> async methods that have a default implementation provided by the trait (#​210)

v0.1.58

Compare Source

  • Improve rust-analyzer "go to definition" on the method names of an async trait (#​218)

v0.1.57

Compare Source

  • Add categories to crates.io metadata

v0.1.56

Compare Source

  • Fix build errors that involve use parentheses to disambiguate: `(impl 'async_trait + Trait)` (#​204)

v0.1.55

Compare Source

  • Fix drop order of uncaptured arguments (_) when compiling in 2021 edition's closure capture rules (#​199)

v0.1.54

Compare Source

  • Fix lifetime issue when using impl Trait in an async function argument type (#​177)

v0.1.53

Compare Source

  • Improve diagnostic / suggested fixes which involve "consider further restricting this bound" (#​194)

v0.1.52

Compare Source

  • Eliminate clippy::shadow_some restriction lint from generated code (#​184, thanks @​c410-f3r)

v0.1.51

Compare Source

tokio-rs/bytes (bytes)

v1.6.0

Compare Source

Added
Documented
Internal changes
  • Move comment to correct constant (#​629)
  • Various cleanup (#​635)
  • Simplify UninitSlice::as_uninit_slice_mut() logic (#​644)
  • Use self. instead of Self:: (#​642)
  • BytesMut: Assert alignment of Shared (#​652)
  • Remove unnecessary namespace qualifier (#​660)
  • Remove an unnecessary else branch (#​662)
  • Remove unreachable else branch (#​661)
  • make parameter mut in From<Vec> (#​667)
  • Restore commented tests (#​665)
  • Use sub instead of offset (#​668)
  • Calculate original capacity only if necessary (#​666)
  • set_vec_pos does not need a second parameter (#​672)
  • get_vec_pos: use &self instead of &mut self (#​670)
  • Refactor split_at/split_to (#​663)
  • Use Iterator from the prelude (#​673)
  • copy_to_bytes: Add panic section to docs (#​676)
  • Remove redundant reserve call (#​674)
  • Use ManuallyDrop instead of mem::forget (#​675)

v1.5.0

Compare Source

Added
Changed
  • Mark BytesMut::extend_from_slice as inline (#​595)

v1.4.0

Compare Source

Added
  • Make IntoIter constructor public (#​581)
Fixed
  • Avoid large reallocations when freezing BytesMut (#​592)
Documented
  • Document which functions require std (#​591)
  • Fix duplicate "the the" typos (#​585)

v1.3.0

Compare Source

Added
  • Rename and expose BytesMut::spare_capacity_mut (#​572)
  • Implement native-endian get and put functions for Buf and BufMut (#​576)
Fixed
  • Don't have important data in unused capacity when calling reserve (#​563)
Documented
  • Bytes::new etc should return Self not Bytes (#​568)

v1.2.1

Compare Source

Fixed
  • Fix unbounded memory growth when using reserve (#​560)

v1.2.0

Compare Source

Added
  • Add BytesMut::zeroed (#​517)
  • Implement Extend<Bytes> for BytesMut (#​527)
  • Add conversion from BytesMut to Vec<u8> (#​543, #​554)
  • Add conversion from Bytes to Vec<u8> (#​547)
  • Add UninitSlice::as_uninit_slice_mut() (#​548)
  • Add const to Bytes::{len,is_empty} (#​514)
Changed
Fixed
Documented
  • Redraw layout diagram with box drawing characters (#​539)
  • Clarify BytesMut::unsplit docs (#​535)
clap-rs/clap (clap)

v4.5.4

Compare Source

Fixes
  • (derive) Allow non-literal #[arg(id)] attributes again

v4.5.3

Compare Source

Internal
  • (derive) Update heck

v4.5.2

Compare Source

Fixes
  • (macros) Silence a warning

v4.5.1

Compare Source

Fixes
  • (error) Include suggestion to add -- even if there is a "did you mean" so long as last or trailing_var_arg is used

v4.5.0

Compare Source

Compatibility
  • Update MSRV to 1.74

v4.4.18

Compare Source

Fixes
  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.17

Compare Source

Fixes
  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

v4.4.16

Compare Source

Fixes
  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

v4.4.15

Compare Source

Fixes
  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

v4.4.14

Compare Source

Documentation
  • Fix find cookbook entry to allow repeats of flags/options
Features
  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

v4.4.13

Compare Source

Documentation
  • Fix link to structopt migration guide

v4.4.12

Compare Source

Performance
  • Only ask TypedValueParser for possible values if needed

v4.4.11

Compare Source

Features
  • Add Command::mut_group

v4.4.10

Compare Source

Documentation
  • Link out to changelog
  • Cross link derive's attribute reference to derive tutorial

v4.4.9

Compare Source

Fixes
  • (help) Show correct Command::about under flattened headings
  • (help) Respect hide when flattening subcommands

v4.4.8

Compare Source

Features
  • Add Command::flatten_help to allow git stash -h like help for subcommands

v4.4.7

Compare Source

Performance
  • Reduced code size

v4.4.6

Compare Source

Internal
  • Upgrade anstream

v4.4.5

Compare Source

Fixes
  • (parser) When inferring subcommand name or long_flag, allow ambiguous-looking matches that unambiguously map back to the same command
  • (parser) When inferring subcommand long_flag, don't panic
  • (assert) Clarify what action is causing a positional that doesn't set values which is especially useful for derive users

v4.4.4

Compare Source

Internal
  • Update terminal_size to 0.3

v4.4.3

Compare Source

Documentation
  • (derive) Clarify use of attributes within the tutorial
  • Split sections in the builder and derive tutorials into separate modules

v4.4.2

Compare Source

Performance
  • Improve build times by removing once_cell dependency

v4.4.1

Compare Source

Fixes
  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.0

Compare Source

compatibility
  • update msrv to 1.70.0

v4.3.24

Compare Source

Fixes
  • Ensure column padding is preserved in --help with custom templates

v4.3.23

Compare Source

Fixes
  • Fixed UnknownArgumentValueParser to not error on flag's absence

v4.3.22

Compare Source

Features
  • Add UnknownArgumentValueParser for injecting errors for improving the experience with errors

v4.3.21

Compare Source

Features
  • Expose TryMapValueParser so the type can be named

v4.3.20

Compare Source

Features
  • Command::mut_args for modifying all arguments en masse

v4.3.19

Compare Source

Fixes
  • (parse) Respect value_terminator even in the presence of later multiple-value positional arguments

v4.3.18

Compare Source

Fixes
  • (parse) Suggest -- in fewer places where it won't work

v4.3.17

Compare Source

Fixes
  • (help) Address a regression in wrapping PossibleValue descriptions in --help

v4.3.16

Compare Source

Fixes
  • Don't assert when stateful value parsers fail on defaults (e.g. checking if a path exists)

v4.3.15

Compare Source

Features
  • (unstable-styles) Re-export anstyle
Documentation
  • (unstable-styles) Provide more examples

v4.3.14

Compare Source

Features
  • ArgAction::HelpShort and ArgAction::HelpLong for explicitly specifying which style of help to display
Fixes
  • Skip [OPTIONS] in usage if a help or version ArgAction is used

v4.3.13

Compare Source

v4.3.12

Compare Source

Fixes
  • (derive) Don't error on enum variant field attributes

v4.3.11

Compare Source

Features
  • (derive) Support fields wrapped in num::Wrapping, Box, or Arc
  • (derive) Support Box<str>, Box<OsStr>, and Box<Path>

v4.3.10

Compare Source

Performance
  • Drop a dependency, reducing binary size by 1.3 KiB

v4.3.9

Compare Source

Fixes
  • Command::ignore_errors no longer masks help/version

v4.3.8

Compare Source

Fixes
  • Error on ambiguity with infer_long_arg, rather than arbitrarily picking one, matching the documentation and subcommand's behavior

v4.3.7

Compare Source

Documentation
  • Further clarify magic behavior in derive tutorial
  • Further clarify derive API's relationship to builder within the tutorial

v4.3.6

Compare Source

Documentation
  • Suggest clio

v4.3.5

Compare Source

  • ColorChoice::possible_values is added to simplify things for builder users
Fixes
  • ColorChoice::to_possible_value no longer includes descriptions, encouraging shorter help where possible

v4.3.4

Compare Source

Features
  • Add Error::exit_code

v4.3.3

Compare Source

Features
  • Command::defer for delayed initialization of subcommands to reduce startup times of large applications like deno

v4.3.2

Compare Source

Fixes
  • Ensure column padding is preserved in --help with custom templates

v4.3.1

Compare Source

Fixes
  • (parse) Respect value_terminator even in the presence of later multiple-value positional arguments

v4.3.0

Compare Source

Fixes
  • (assert) Allow multiple, value-terminated, positional arguments
  • (assert) Clear up language on last assertion
  • (parser) Correctly assign values to arguments when using multiple, value-termianted, positional arguments
  • (parser) Ensure value_terminator has higher precedence than allow_hyphen_values
  • (help) Only use next-line-help on subcommand list when explicitly specified, not just with --help
  • (help) Correctly align possible values list
  • (help) Don't waste code, vertical space in moving possible value descriptions to next line

v4.2.7

Compare Source

Fixes
  • Correctly track remaining length for iterators provided by ArgMatches

v4.2.6

Compare Source

Features
  • impl Eq<std::any::TypeId> for clap_builder::util::AnyValueId

v4.2.5

Compare Source

Fixes
  • Improve panic when a group requires a non-existent ID

v4.2.4

Compare Source

Documentation
  • Corrected docs for Command::style

v4.2.3

Compare Source

Features
  • Command::styles for theming help/errors (behind unstable-styles)

v4.2.2

Compare Source

Internal
  • Update dependencies

v4.2.1

Compare Source

Fixes
  • Don't highlight uninteresting parts of the error message

v4.2.0

Compare Source

Compatibility
  • Removed the languishing unstable-replace feature (open to discussion at #​2836)
  • Removed the stablized unstable-grouped feature
Features
  • Allow any StyledStr to accept text styled with ANSI escape codes
  • Respect CLICOLOR, CLICOLOR_FORCE
Fixes
  • Lighten the tone for "unexpected argument" errors (open to discussion at #​4638)

v4.1.14

Compare Source

Features
  • (derive) #[group] raw attribute support
Performance
  • (derive) clap_builder was pulled out of clap so it could build in parallel to clap_derive
  • os_str_bytes dependency was removed for faster builds and smaller binaries

v4.1.13

Compare Source

Performance
  • Reduce repeated alloc calls when building a Command
  • Reduce duplicate dependencies for faster builds

v4.1.12

Compare Source

Internal
  • (derive) Update to syn v2
Performance
  • (derive) Faster build times by dropping proc-macro-error dependency

v4.1.11

Compare Source

Internal
  • Update bitflags

v4.1.10

Compare Source

Fixes
  • (help) On Windows, avoid underlined text artifacts

v4.1.9

Compare Source

Fixes
  • (assert) Improve the assert when using the wrong action with get_count / get_flag

v4.1.8

Compare Source

Fixes
  • (derive) Don't deny lints on the users behalf

v4.1.7

Compare Source

Fixes
  • (derive) Hide some nightly clippy warnings

v4.1.6

Compare Source

Fixes
  • (help) Don't show long help for --help just because hidden possible values include a description

v4.1.5

Compare Source

Fixes
  • (help) Don't show long help for --help just because a hidden arg has a possible value with a description

v4.1.4

Compare Source

Fixes
  • (help) Respect disable_colored_help when using arg_required_else_help
Performance
  • Speed up compiling arg! macro

v4.1.3

Compare Source

Fixes
  • (error) Improve suggested flag/value/subcommand when two share a long preifx
  • (error) When suggesting one of several subcommands, use the plural subcommands, rather than subcommand

v4.1.2

Compare Source

Fixes
  • In documentation, refer to get_flag, rather than get_one::<bool>

v4.1.1

Compare Source

Features
  • (derive) #[group] raw attribute support
Performance
  • (derive) clap_builder was pulled out of clap so it could build in parallel to clap_derive
  • os_str_bytes dependency was removed for faster builds and smaller binaries

v4.1.0

Compare Source

Compatibility

MSRV changed to 1.64.0

For apps with custom --help and --version flags:

  • Descriptions for --help and --version changed

When apps have errors imitating clap's error style:

  • Error message style was changed, including
    • Moving away from "did you mean" to tips
    • Leading letter is lower case
    • "For more" added some punctuation
Features
  • ArgMatches::get_occurrences support for argument values to be grouped by their occurrence
Fixes
  • (derive) Allow upgrade_from when arguments / subcommands are explicitly marked as required
  • (help) Try be more clearer and succinct with --help and --version (also helps with overflow)
  • (error) Try to be more clearer and succinct with error messages
  • (error) Officially adopt an error style guide

v4.0.32

Compare Source

Fixes
  • (parser) When overriding required(true), consider args that conflict with its group

v4.0.31

Compare Source

Performance
  • Speed up parsing when a lot of different flags are present (100 unique flags)

v4.0.30

Compare Source

Fixes
  • (error) Improve error for args_conflicts_with_subcommand

v4.0.29

Compare Source

v4.0.28

Compare Source

Fixes
  • Fix wasm support which was broken in 4.0.27

v4.0.27

Compare Source

Features
  • Have Arg::value_parser accept Vec<impl Into<PossibleValue>>
  • Implement Display and FromStr for ColorChoice
Fixes
  • Remove soundness issue by switching from atty to is-terminal

v4.0.26

Compare Source

Fixes
  • (error) Fix typos in ContextKind::as_str

v4.0.25

Compare Source

Features
  • (error) Report available subcommands when required subcommand is missing

v4.0.24

Compare Source

Fixes
  • Avoid panic when printing an argument that isn't built

v4.0.23

Compare Source

Fixes
  • Don't panic on reporting invalid-long errors when followed by invalid UTF8
  • (help) Clarified argument to help subcommand

v4.0.22

Compare Source

Fixes
  • (help) Don't overflow into next-line-help early due to stale (pre-v4) padding calculations

v4.0.21

Compare Source

Features
  • (derive) long_about and long_help attributes, without a value, force using doc comment (before it wouldn't be set if there wasn't anything different than the short help)

v4.0.20

Compare Source

Fixes
  • (derive) Allow defaulted value parser for '()' fields

v4.0.19

Compare Source

Features
  • ColorChoice now implements ValueEnum
eyre-rs/eyre (color-eyre)

v0.6.3

Compare Source

v0.6.2

Compare Source

ParkMyCar/compact_str (compact_str)

v0.7.1

June 21, 2023
allan2/dotenvy (dotenvy)

v0.15.7

Compare Source

Added
Changed

v0.15.6

Compare Source

Added
Changed

v0.15.5

Compare Source

Added

v0.15.4

Compare Source

Changed

v0.15.3

Compare Source

Changed

v0.15.2

Added
Changed
matklad/once_cell (once_cell)

v1.19.0

Compare Source

  • Use portable-atomic instead of atomic-polyfill, #​251.

v1.18.0

Compare Source

  • MSRV is updated to 1.60.0 to take advantage of dep: syntax for cargo features,
    removing "implementation details" from publicly visible surface.

v1.17.2

Compare Source

  • Avoid unnecessary synchronization in Lazy::{force,deref}_mut(), #​231.

v1.17.1

Compare Source

v1.17.0

Compare Source

  • Add race::OnceRef for storing a &'a T.

v1.16.0

Compare Source

  • Add no_std implementation based on critical-section,
    #​195.
  • Deprecate atomic-polyfill feature (use the new critical-section instead)

v1.15.0

Compare Source

  • Increase minimal supported Rust version to 1.56.0.
  • Implement UnwindSafe even if the std feature is disabled.

v1.14.0

Compare Source

  • Add extension to unsync and sync Lazy mut API:
    • force_mut
    • get_mut

v1.13.1

Compare Source

  • Make implementation compliant with strict provenance.
  • Upgrade atomic-polyfill to 1.0

v1.13.0

Compare Source

  • Add Lazy::get, similar to OnceCell::get.

v1.12.1

Compare Source

  • Remove incorrect debug_assert.

v1.12.0

Compare Source

  • Add OnceCell::wait, a blocking variant of get.

v1.11.0

Compare Source

  • Add OnceCell::with_value to create initialized OnceCell in const context.
  • Improve Clone implementation for OnceCell.
  • Rewrite parking_lot version on top of parking_lot_core, for even smaller cells!

v1.10.0

Compare Source

  • upgrade parking_lot to 0.12.0 (note that this bumps MSRV with parking_lot feature enabled to 1.49.0).

v1.9.0

Compare Source

  • Added an atomic-polyfill optional dependency to compile race on platforms without atomics

v1.8.0

Compare Source

  • Add try_insert API -- a version of set that returns a reference.

v1.7.2

Compare Source

  • Improve code size when using parking_lot feature.

v1.7.1

Compare Source

  • Fix race::OnceBox<T> to also impl Default even if T doesn't impl Default.

v1.7.0

Compare Source

  • Hide the race module behind (default) race feature.
    Turns out that adding race by default was a breaking change on some platforms without atomics.
    In this release, we make the module opt-out.
    Technically, this is a breaking change for those who use race with no_default_features.
    Given that the race module itself only several days old, the breakage is deemed acceptable.

v1.6.0

Compare Source

  • Add Lazy::into_value
  • Stabilize once_cell::race module for "first one wins" no_std-compatible initialization flavor.
  • Migrate from deprecated compare_and_swap to compare_exchange.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant