chore(deps): update cargo-non-major #177
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
1.0.98
->1.0.100
4.5.40
->4.5.48
4.5.40
->4.5.48
4.5.54
->4.5.58
0.2.27
->0.2.29
0.3
->0.4
0.3
->0.4
0.4.27
->0.4.28
0.10.3
->0.11.0
=1.11.1
->=1.11.3
1.0.219
->1.0.228
1.17.0
->1.18.1
Release Notes
dtolnay/anyhow (anyhow)
v1.0.100
Compare Source
bail!
,ensure!
,anyhow!
(#426)v1.0.99
Compare Source
clap-rs/clap (clap)
v4.5.48
Compare Source
Documentation
typed_derive
cookbook entryv4.5.47
Compare Source
Features
impl FromArgMatches for ()
impl Args for ()
impl Subcommand for ()
impl FromArgMatches for Infallible
impl Subcommand for Infallible
Fixes
clap
v4.5.46
Compare Source
Features
StyledStr::push_str
v4.5.45
Compare Source
Fixes
ValueEnum
variants now use the full doc comment, not summary, forPossibleValue::help
v4.5.44
Compare Source
Features
Command::mut_subcommands
v4.5.43
Compare Source
Fixes
v4.5.42
Compare Source
Fixes
--help
v4.5.41
Compare Source
Features
Styles::context
andStyles::context_value
to customize the styling of[default: value]
like notes in the--help
rodrimati1992/konst (konst)
v0.4.2
Added these methods to iterator macros:
map_while
reduce
step_by
Fixed support of iterators of drop type in iterator macros. Previously drop items could only be produced by iterator methods, the input iterator could not be drop itself, now it can be.
Changed implementations of
"cmp"
-feature-requiring methods inkonst::iter::eval
to support drop types.Added these macros in
konst::array
(these require the"iter"
feature):konst::array::from_fn_nd
konst::array::map_nd
Added
of_assumed_nondrop
constructors to:konst::array::ArrayBuilder
konst::array::IntoIter
Added reexport of
const_panic::unwrap_err
inkonst::result
v0.4.0
Removed these items because there is an equivalent built-in replacement:
konst::alloc_type::COW_STR_NEW
: replaced byconst { Cow::Borrowed("") }
konst::alloc_type::STRING_NEW
: replaced byconst { String::new() }
konst::alloc_type::VEC_NEW
: replaced byconst { Vec::new() }
konst::chr::from_u32_unchecked
konst::chr::from_u32
konst::ffi::cstr
:CStr
constructors are const, unwrappable withkonst::result::unwrap
konst::konst
macro: replaced byconst { }
blockskonst::maybe_uninit::as_mut_ptr
konst::maybe_uninit::as_ptr
konst::maybe_uninit::assume_init_ref
konst::maybe_uninit::assume_init
konst::maybe_uninit::UNINIT
: replaced byconst { MaybeUninit::uninit() }
konst::option::copied
konst::option::flatten
konst::option::NONE
: replaced byconst { None }
konst::option::unwrap
konst::primitive::parse_i*
functions: replaced by integerfrom_str_radix
methods, unwrappable withkonst::result::unwrap
konst::primitive::parse_u*
functions: replaced by integerfrom_str_radix
methods, unwrappable withkonst::result::unwrap
konst::ptr::as_mut
: replaced by&mut *pointer
konst::ptr::as_ref
: replaced by&*pointer
konst::ptr::nonnull::as_mut
konst::ptr::nonnull::as_ref
konst::slice::as_chunks
konst::slice::as_rchunks
konst::slice::bytes_trim_end
: replaced by<[u8]>::trim_ascii_end
konst::slice::bytes_trim_start
: replaced by<[u8]>::trim_ascii_start
konst::slice::bytes_trim
: replaced by<[u8]>::trim_ascii
konst::slice::first_mut
konst::slice::last_mut
konst::slice::split_first_mut
konst::slice::split_last_mut
konst::string::from_utf8
konst::string::is_char_boundary
string::trim_end
: replaced bystr::trim_ascii_end
string::trim_start
: replaced bystr::trim_ascii_start
string::trim
: replaced bystr::trim_ascii
(the items in the list above without an explicit reason were replaced by a method or function of the same name)
Removed these items because their unstable std equivalents were removed:
konst::slice::array_chunks
konst::slice::array_chunks_mut
konst::slice::ArrayChunks
konst::slice::ArrayChunksRev
konst::slice::ArrayChunksMut
konst::slice::ArrayChunksMutRev
Removed these functions due to having an unsound impl:
konst::ptr::is_null
konst::ptr::nonnull::new
Removed these items because they are not needed anymore:
konst::rebind_if_ok
macrokonst::try_rebind
macrokonst::polymorphism::type_eq_projection_fn
macro: replaced bytypewit::TypeFn
+TypeEq::project
konst::unwrap_ctx
macro: superceeded bykonst::result::unwrap
panic
methods: superceeded byconst_panic::PanicFmt
implskonst::parsing::ParserResult
: using the type it aliased instead of the aliaskonst::parsing::ParseValueResult
: using the type it aliased instead of the aliaskonst::cmp::ConstCmpUnref
: replaced byConstCmp::This
associated typeConstrained macros that take closures from taking functions through
:expr
to:path
, to keep the evaluation order of macros consistent with functions.Added these macros at the root module:
if_let_Some
while_let_Some
Added
konst::drop_flavor
module with these items:DropFlavor
traitDropFlavorWrapper
traitMayDrop
marker typeNonDrop
marker typeunwrap
functionas_inner
functionas_inner_mut
functionwrap
functionRenameed
konst::array::{map_, from_fn_}
macros tomap
andfrom_fn
respectively, replacing the old macros of the same name in the process.Changes to
konst::array::ArrayConsumer
:IntoIter
ConstIntoIter
for itnext*
methods to returnOption<T>
instead ofOption<ManuallyDrop<T>>
(to be consistent withConstIntoIter
API).D: DropFlavor
parameter tokonst::array::IntoIter
to make it sometimes not need droppingnew
constructor with newof_copy
andof_drop
constructors.into_copy
methodinto_drop
methodrev
methodChanges to
konst::array::ArrayBuilder
D: DropFlavor
type parameter to make it sometimes not need dropping.new
constructor with newof_copy
andof_drop
constructors.is_empty
methodinto_copy
methodinto_drop
methodChange: Made array items conditional on
"iter"
feature:konst::array::ArrayBuilder
konst::array::from_fn
konst::array::IntoIter
konst::array::IntoIterRev
konst::array::map
Added
ConstIntoIter
impl for arrays that useskonst::array::IntoIter<T, L, MayDrop>
as the iterator.Added
konst::array::IntoIterRev
iterator.Added these items for
ConstCmp
overhaul;konst::cmp::ConstCmp::This
associated typekonst::cmp::ConstCmpKind
traitkonst::cmp::CoerceTo
type aliasRemoved
IsRefKind
reexport fromkonst::cmp
and made it not a validConstCmp::Kind
Merged all inherent
coerce
methods ofIsAConstCmp
into one generic method.Replaced
CmpWrapper::slice
constructor withfrom_ref
, which takes any&T
and converts it into&CmpWrapper<T>
.Changed the precise type that
std
types are coerced into for havingconst_eq
andconst_cmp
methods:&[T; N]
toCmpWrapper<&[T]>
, it's converted to&CmpWrapper<[T; N]>
&[T]
toCmpWrapper<&[T]>
, it's converted to&<[T]>
&str
toCmpWrapper<&str>
, it's converted to&str
&T
toCmpWrapper<T>
, it's converted to&CmpWrapper<T>
Moved these macros to
konst::cmp
module:coerce_to_cmp
const_cmp
const_cmp_for
const_eq
const_eq_for
impl_cmp
max
max_by
max_by_key
min
min_by
min_by_key
try_equal
Changed
konst::cmp::{const_cmp_for, const_eq_for}
to borrow their slice argumentsAdded these comparison macros:
konst::cmp::const_ge
konst::cmp::const_ge_for
konst::cmp::const_gt
konst::cmp::const_gt_for
konst::cmp::const_le
konst::cmp::const_le_for
konst::cmp::const_lt
konst::cmp::const_lt_for
konst::cmp::const_ne
konst::cmp::const_ne_for
Fixed how
const_cmp_for
macro andconst_cmp
methods compared slices for ordering, they used to consider all slices less than all longer slices. Nowconst_cmp!(short_slice, longer_slice)
only returnsLess
if all elements ofshort_slice
are less than or equal to thelonger_slice
elements at the same index.Turned iterators from taking
Self
and returningOption<(Self::Item, Self)>
into taking&mut Self
and returningOption<Self::Item>
.Removed support for lifetime promotion in return value of iterator methods in iterator macros, i.e.: there's no guarantee that the returned reference be usable in the following methods.
Added
konst::iter::ConstIntoIter::ITEMS_NEED_DROP
associated constantAdded
konst::iter::ConstIntoIterKind
traitAdded
konst::iter::CoerceTo
type aliasAdded
ConstIntoIter
impl for&mut impl ConstIntoIter<Kind = IsIteratorKind>
, that is for mutable references to iterators.Added
ConstIntoIterKind
bound toConstIntoIter::Kind
.Turned
IntoIterWrapper::coerce
methods into free function atkonst::iter::coerce
Added
konst::iter::{repeat_n, RepeatN}
iterator constructor and iterator struct.Removed
rposition
method from iterator macros, since it returned the distance from the end, not the start (bugfix).Changed drop behavior for iterators in
iter::eval
: iterators withConstIntoIter::ITEMS_NEED_DROP == true
are fully consumed after evaluating the methods passed to the macro, after which all iterators aremem::forget
-ed.Changed
IntoIterWrapper
to only be constructible bykonst::iter::coerce
, and made its fields private.Fixed
rev
method of iterator macros: it can't be used ifenumerate
/take
/take_while
/skip
/skip_while
/zip
were used before it, because the iterator without this restriction would produce different results thanstd::iter::Iterator
would.Added these methods to
iter::eval
macro (conditional on "cmp" feature):cmp
eq
ge
gt
is_sorted_by_key
is_sorted_by
is_sorted
le
lt
max_by_key
max_by
max
min_by_key
min_by
min
ne
Changed all of the
konst::parsing::Parser
methods to use&mut self
instead of taking and returningParser
by value, now every method mutates theParser
in place instead of returning a newParser
each time.The signatures of
konst::parsing::Parser
methods were changed in this way:(self) -> Self
methods: changed into(&mut self) -> &mut Self
(self, ..) -> Result<(T, Self), E>
methods: changed into(&mut self, ..) -> Result<T, E>
.(self, ..) -> Result<Self, E>
methods: changed into(&mut self, ..) -> Result<&mut Self, E>
.Removed
Copy
impl forParser
, addedcopy
method for explicit copying.Renamed
Parser::into_error
toto_error
and changed it from takingself
to taking&self
Renamed
Parser::into_other_error
intoto_other_error
, and from takingself
to&self
.Changed
ParseError::new
to takeParser
by reference.Changed
ParseError::other_error
to takeParser
by reference.Changed signature of
ParseError::extra_message
from returning&str
to&'static str
(the former tied the lifetime parameter of&str
to the lifetime of theParseError
value)Renamed
parse_with
toparse_type
and moved tokonst::parsing
Moved
parser_method
tokonst::parsing
Changed the
parse_type
macro from takingkonst::parsing::Parser
to automatically mutably borrowing it.Added
const_panic::PanicFmt
impls (used bykonst::result::unwrap
) for:konst::parsing::ErrorKind
konst::parsing::ParseError
konst::parsing::ParseDirection
konst::primiive::ParseBoolError
konst::slice::TryIntoArrayError
Changed
Option
macros to requireOption
by value when the equivalent methods takesOption
by value (the macros used to allow passingOption
by reference)Added const equivalents of
Option
-related items:konst::option::get_or_insert_with
(macro)konst::option::get_or_insert
(macro)konst::option::insert
(macro)konst::option::into_iter
(function, iterator constructor)konst::option::IntoIter
(struct, iterator)konst::option::IntoIterRev
(struct, iterator)konst::option::is_none_or
(macro)konst::option::is_some_and
(macro)konst::option::iter_mut
(function, iterator constructor)konst::option::iter
(function, iterator constructor)konst::option::Iter
(struct, iterator)konst::option::IterMut
(struct, iterator)konst::option::IterMutRev
(struct, iterator)konst::option::IterRev
(struct, iterator)konst::option::unzip
(function)konst::option::zip
(macro)Added support for
Drop
types in someOption
macros:konst::option::and_then
konst::option::map
konst::option::ok_or_else
konst::option::or_else
konst::option::unwrap_or_else
Added
ConstIntoIter
impls forOption<T>
/&Option<T>
/&mut Option<T>
Added missing impls of
ConstCmp
forRange
andRangeInclusive
types over signed integers.Added
konst::range::OneSidedRange
trait (currently only used bykonst::slice::{split_off, split_off_mut}
)Added these items to
konst::slice
:konst::slice::chunks_exact_mut
(function, iterator constructor)konst::slice::chunks_mut
(function, iterator constructor)konst::slice::ChunksExactMut
(struct, iterator)konst::slice::ChunksExactMutRev
(struct, iterator)konst::slice::ChunksMut
(struct, iterator)konst::slice::ChunksMutRev
(struct, iterator)konst::slice::fill_with
(macro)konst::slice::fill
(function)konst::slice::is_sorted_by_key
(macro)konst::slice::is_sorted_by
(macro)konst::slice::is_sorted
(macro)konst::slice::iter_mut
(function, iterator constructor)konst::slice::IterMut
(struct, iterator)konst::slice::IterMutRev
(struct, iterator)konst::slice::rchunks_exact_mut
(function, iterator constructor)konst::slice::rchunks_mut
(function, iterator constructor)konst::slice::RChunksExactMut
(struct, iterator)konst::slice::RChunksExactMutRev
(struct, iterator)konst::slice::RChunksMut
(struct, iterator)konst::slice::RChunksMutRev
(struct, iterator)konst::slice::split_off_first_mut
(function)konst::slice::split_off_first
(function)konst::slice::split_off_last_mut
(function)konst::slice::split_off_last
(function)konst::slice::split_off_mut
(function)konst::slice::split_off
(function)Fixed
RSplitTerminator
: it used to skip the empty string before the first instance of the delimiter, instead of the empty space after the last one.The latter is what
RSplitTerminator
does now, to be consistent with std.Removed
.rev()
method ofkonst::string::{Split, RSplit}
, because it allowed reversing an iterator with a&str
needle, whenstd
does not allow it (because the reverse iterator would produce different strings than forward).Reexported
const_panic::unwrap_ok
askonst::result::unwrap
Changed
Result
macros to require passing Result by value whenever the equivalent method does.Changed
konst
's edition to 2024 and Minimum Supported Rust Version to 1.89.0.Added crate features:
"const_panic_derive"
: to enableconst_panic
's"derive"
feature.Removed these crate features since the features they enabled are now always enabled:
"rust_1_83"
"mut_refs"
"nightly_mut_refs"
Upgraded
const_panic
dependency to 0.2.13, enabled its"rust_1_88"
featureUpgraded
typewit
dependency to 1.12, disabled its default feature, and enabled its"rust_1_83"
feature.rust-lang/log (log)
v0.4.28
Compare Source
mlua-rs/mlua (mlua)
v0.11.4
Value::to_serializable
publicdetect_mixed_tables
(to encode mixed array+map tables)ObjectLike::get_path
helper (for tables and userdata)v0.11.3
Compare Source
Lua::yield_with
to use ascoroutine.yield
functional replacement in async functions for any LuaBuffer::cursor
method (Luau)Lua::create_buffer_with_capacity
method (Luau)v0.11.2
Compare Source
Variadic<T>
-0.0
(#618)v0.11.1
Compare Source
Lua::push_c_function
now correctly handles OOM for Lua 5.1 and Luauv0.11.0
Compare Source
Changes since v0.11.0-beta.3
external
mlua-sys feature flagLua::inspect_stack
takes a callback with&Debug
argument, instead of returningDebug
directlyDebug::function
method to get function running at a given levelDebug::curr_line
is deprecated in favour ofDebug::current_line
that returnsOption<usize>
Lua::set_globals
method to replace global environmentTable::set_metatable
now returnsResult<()>
(this operation can fail in sandboxed Luau mode)impl ToString
replaced withInto<StdString>
inUserData
registrationValue::as_str
andValue::as_string_lossy
methods are deprecated (as they are non-idiomatic)rust-lang/regex (regex)
v1.11.3
Compare Source
===================
This is a small patch release with an improvement in memory usage in some
cases.
Improvements:
Improve memory usage by trimming excess memory capacity in some spots.
v1.11.2
Compare Source
===================
This is a new patch release of
regex
with some minor fixes. A larger numberof typo or lint fix patches were merged. Also, we now finally recommend using
std::sync::LazyLock
.Improvements:
Switch recommendation from
once_cell
tostd::sync::LazyLock
.Add
DFA::set_prefilter
toregex-automata
.Bug fixes:
Remove
std
dependency fromperf-literal-multisubstring
crate feature.Clarify the meaning of
(?R)$
in the documentation.Remove
fuzz/
andrecord/
directories from published crate on crates.io.serde-rs/serde (serde)
v1.0.228
Compare Source
RUSTDOCFLAGS='--cfg=docsrs'
set for the whole dependency graph (#2995)v1.0.227
Compare Source
v1.0.226
Compare Source
v1.0.225
Compare Source
v1.0.224
Compare Source
v1.0.223
Compare Source
v1.0.222
Compare Source
serialize_with
attribute produce code that works if respanned to 2024 edition (#2950, thanks @aytey)v1.0.221
Compare Source
serde_if_integer128!
macro (#2975)v1.0.220
Compare Source
uuid-rs/uuid (uuid)
v1.18.1
Compare Source
What's Changed
Full Changelog: uuid-rs/uuid@v1.18.0...v1.18.1
v1.18.0
Compare Source
What's Changed
Timestamp
andstd::time::SystemTime
by @dcormier in #835New Contributors
Full Changelog: uuid-rs/uuid@v1.17.0...v1.18.0
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.