-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Renovate] deps: Update rust #52
base: main
Are you sure you want to change the base?
Conversation
275ec43
to
40741ca
Compare
2858d90
to
5555f70
Compare
5555f70
to
3c25d06
Compare
5348847
to
0c99c8b
Compare
0c99c8b
to
2692d39
Compare
1b32ade
to
8c581cc
Compare
42dee64
to
342fad1
Compare
3c9cd7d
to
2719dce
Compare
2719dce
to
37056a6
Compare
b036b80
to
fe12636
Compare
d07bddf
to
2d3416f
Compare
c1576ee
to
8671473
Compare
8671473
to
582e932
Compare
f041f9b
to
6261f5c
Compare
6261f5c
to
65857df
Compare
143b6a1
to
c23f723
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Cargo.lock
|
c23f723
to
17f64ec
Compare
53f6eac
to
2c2f15a
Compare
2c2f15a
to
31f5292
Compare
31f5292
to
64be48b
Compare
64be48b
to
f91723f
Compare
4d62ee4
to
8d61ddf
Compare
8d61ddf
to
af88b7d
Compare
|
This PR contains the following updates:
1.0.75
->1.0.95
0.11.20
->0.12.0
1.0.188
->1.0.217
1.0.107
->1.0.137
0.11.6
->0.12.0
0.3.2
->0.4.0
1.32.0
->1.43.0
0.1.37
->0.1.41
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dtolnay/anyhow (anyhow)
v1.0.95
Compare Source
Error::from_boxed
(#401, #402)v1.0.94
Compare Source
v1.0.93
Compare Source
thiserror
v2v1.0.92
Compare Source
&raw const
and&raw mut
syntax insideensure!
(#390)v1.0.91
Compare Source
v1.0.90
Compare Source
v1.0.89
Compare Source
UnwindSafe
andRefUnwindSafe
impl consistently available between versions of Rust newer and older than 1.72 (#386)v1.0.88
Compare Source
v1.0.87
Compare Source
Error::new
andError::chain
, in no-std mode on Rust 1.81+ (#383)v1.0.86
Compare Source
ensure!
with non-literal after minus sign (#373)v1.0.85
Compare Source
ensure!
macro's rules to unblock some rustc pretty-printer improvements (#368, #371)v1.0.84
Compare Source
ensure!
through aNot
impl for a type that is notbool
(#367)v1.0.83
Compare Source
v1.0.82
Compare Source
v1.0.81
Compare Source
v1.0.80
Compare Source
v1.0.79
Compare Source
v1.0.78
Compare Source
v1.0.77
Compare Source
anyhow::Error::backtrace
available on stable Rust compilers 1.65+ (#293, thanks @LukasKalbertodt)v1.0.76
Compare Source
unsafe_op_in_unsafe_fn
lint (#329)seanmonstar/reqwest (reqwest)
v0.12.12
Compare Source
tokio/time
on WASM.v0.12.11
Compare Source
v0.12.10
Compare Source
ClientBuilder::connector_layer()
to allow customizing the connector stack.ClientBuilder::http2_max_header_list_size()
option.content-length
) information when wrapping bodies.v0.12.9
Compare Source
tls::CertificateRevocationLists
support.connection_verbose()
to output read logs.multipart::Part::file()
to automatically include content-length.v0.12.8
Compare Source
multipart::Form::file()
method for adding files easily.Body::wrap()
to wrap anyhttp_body::Body
type.v0.12.7
Compare Source
impl Service<http::Request<_>>
forClient
.v0.12.6
Compare Source
danger_accept_invalid_hostnames
forrustls
.impl Service<http::Request<Body>>
forClient
and&'_ Client
.!Sync
bodies inBody::wrap_stream()
.hickory-dns
is used.Proxy
so thatHTTP(S)_PROXY
values take precedence overALL_PROXY
.blocking::RequestBuilder::header()
from unsettingsensitive
on passed header values.v0.12.5
Compare Source
blocking::ClientBuilder::dns_resolver()
method to change DNS resolver in blocking client.http3
feature back, still requiringreqwest_unstable
.rustls-tls-no-provider
Cargo feature to use rustls without a crypto provider.Accept-Encoding
header combinations.v0.12.4
Compare Source
zstd
support, enabled withzstd
Cargo feature.ClientBuilder::read_timeout(Duration)
, which applies the duration for each read operation. The timeout resets after a successful read.v0.12.3
Compare Source
FromStr
fordns::Name
.ClientBuilder::built_in_webpki_certs(bool)
to enable them separately.ClientBuilder::built_in_native_certs(bool)
to enable them separately.content-length: 0
for GET requests.content_length()
to return value when timeout is configured.ClientBuilder::resolve()
to use lowercase domain names.v0.12.2
Compare Source
v0.12.1
Compare Source
tokio/time
on WASM.v0.12.0
Compare Source
hyper
,http
, andhttp-body
v1.http::Request
andhttp::Response
.http2
optional cargo feature, default on.charset
optional cargo feature, default on.macos-system-configuration
cargo feature, default on.ClientBuilder::interface(str)
to specify the local interface to bind to.http3
feature temporarily.v0.11.27
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Certificate::from_pem_bundle()
parsing.v0.11.24
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
trust-dns
is enabled.v0.11.21
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
ClientBuilder::http1_ignore_invalid_headers_in_responses()
option.ClientBuilder::http1_allow_spaces_after_header_name_in_responses()
option.ALL_PROXY
environment variable.use_preconfigured_tls
when combined with HTTP/3.deflate
decompression from using the zlib decoder.Response::{text, text_with_charset}()
to strip BOM characters.v0.11.18
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
v0.11.16
Cargo.toml
.v0.11.15
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.v0.11.13
ClientBuilder::dns_resolver()
option for custom DNS resolvers.ClientBuilder::tls_sni(bool)
option to enable or disable TLS Server Name Indication.Identity::from_pkcs8_pem()
constructor when usingnative-tls
.redirect::Policy::limited(0)
from following any redirects.v0.11.12
ClientBuilder::resolve_to_addrs()
which allows a slice of IP addresses to be specified for a single host.Response::upgrade()
to await whether the server agrees to an HTTP upgrade.v0.11.11
ClientBuilder
.ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
.impl Service<Request>
forClient
and&'_ Client
.RequestBuilder::basic_auth()
.RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
.v0.11.10
Error::url()
to access the URL of an error.Response::extensions()
to access thehttp::Extensions
of a response.rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate.v0.11.9
ClientBuilder::http09_responses(bool)
option to allow receiving HTTP/0.9 responses.v0.11.8
v0.11.7
blocking::ClientBuilder::resolve()
option, matching the async builder.From<tokio::fs::File>
forBody
.blocking
request-scoped timeout applying to bodies as well.rustls
to 0.20.v0.11.6
v0.11.5
ClientBuilder::http1_only()
method.tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods.TryFrom<Request>
forhttp::Request
.Clone
forIdentity
.NO_PROXY
environment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*
is allowed to match everything.https_only
option.Body::as_bytes()
method.JsValue
.v0.11.4
ClientBuilder::resolve()
option to override DNS resolution for specific domains.native-tls-alpn
Cargo feature to use ALPN with the native-tls backend.ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate.RequestBuilder::version()
to allow setting the HTTP version of a request.rustls-tls
backend, when the server uses TLS v1.2 or v1.3.try_clone
toRequest
andRequestBuilder
v0.11.3
impl From<hyper::Body> for reqwest::Body
.RequestBuilder
.v0.11.2
CookieStore
trait to customize the type that stores and retrieves cookies for a session.cookie::Jar
as a defaultCookieStore
, easing creating some session cookies before creating theClient
.ClientBuilder::http2_adaptive_window()
option to configure an adaptive HTTP2 flow control behavior.ClientBuilder::http2_max_frame_size()
option to adjust the maximum HTTP2 frame size that can be received.IntoUrl
forString
, making it more convenient to create requests withformat!
.v0.11.1
ClientBuilder::tls_built_in_root_certs()
option to disable built-in root certificates.rustls-tls
glue to more often support ALPN to upgrade to HTTP/2.http://
if no scheme is found.runtime
feature.Request::new()
constructor.v0.11.27
Compare Source
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
Compare Source
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Compare Source
Certificate::from_pem_bundle()
parsing.v0.11.24
Compare Source
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Compare Source
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
Compare Source
trust-dns
is enabled.serde-rs/serde (serde)
v1.0.217
Compare Source
v1.0.216
Compare Source
v1.0.215
Compare Source
v1.0.214
Compare Source
v1.0.213
Compare Source
with
attributes inside a newtype struct (#2847)v1.0.212
Compare Source
v1.0.211
Compare Source
with
anddefault
attributes (#2558, thanks @Mingun)v1.0.210
Compare Source
IpAddr
andSocketAddr
in no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch)serde::ser::StdError
andserde::de::StdError
equivalent tocore::error::Error
on Rust 1.81+ (#2818)v1.0.209
Compare Source
v1.0.208
Compare Source
flatten
field (#2802, thanks @jonhoo)v1.0.207
Compare Source
flatten
attribute andskip_serializing
/skip_deserializing
(#2795, thanks @Mingun)v1.0.206
Compare Source
flatten
attribute inside of enums (#2567, thanks @Mingun)v1.0.205
Compare Source
v1.0.204
Compare Source
v1.0.203
Compare Source
v1.0.202
Compare Source
v1.0.201
Compare Source
v1.0.200
Compare Source
v1.0.199
Compare Source
forward_to_deserialize_any!
is used on an enum withError
variant (#2732, thanks @aatifsyed)v1.0.198
Compare Source
Saturating<T>
(#2709, thanks @jbethune)v1.0.197
Compare Source
v1.0.196
Compare Source
v1.0.195
Compare Source
v1.0.194
Compare Source
v1.0.193
Compare Source
RangeFrom
andRangeTo
(#2653, #2654, #2655, thanks @emilbonnek)v1.0.192
Compare Source
v1.0.191
Compare Source
v1.0.190
Compare Source
v1.0.189
Compare Source
serde-rs/json (serde_json)
v1.0.137
Compare Source
v1.0.136
Compare Source
v1.0.135
Compare Source
v1.0.134
Compare Source
RawValue
associated constants for literalnull
,true
,false
(#1221, thanks @bheylin)v1.0.133
Compare Source
v1.0.132
Compare Source
v1.0.131
Compare Source
Map<String, Value>
and&Map<String, Value>
(#1135, thanks @swlynch99)v1.0.130
Compare Source
Number
from i128 and u128 (#1141, thanks @druide)v1.0.129
Compare Source
serde_json::Map::sort_keys
andserde_json::Value::sort_all_objects
(#1199)v1.0.128
Compare Source
v1.0.127
Compare Source
v1.0.126
Compare Source
v1.0.125
Compare Source
v1.0.124
Compare Source
v1.0.123
Compare Source
v1.0.122
Compare Source
json!
in no-std crates (#1166)v1.0.121
Compare Source
v1.0.120
Compare Source
indexmap
dependency (#1152, thanks @cforycki)v1.0.119
Compare Source
serde_json::Map::shift_insert
(#1149, thanks @joshka)v1.0.118
Compare Source
v1.0.117
Compare Source
v1.0.116
Compare Source
v1.0.115
Compare Source
v1.0.114
Compare Source
v1.0.113
Compare Source
swap_remove
andshift_remove
methods on Map (#1109)v1.0.112
Compare Source
v1.0.111
Compare Source
v1.0.110
Compare Source
v1.0.109
Compare Source
v1.0.108
Compare Source
serenity-rs/serenity (serenity)
v0.12.4
Compare Source
This is a hotfix release to fix broken behaviour of
Message::author_permissions
before it is relied on.Thanks to the following for their contributions:
Deprecations
_in
variants.Additions
From<&User>
has been added toCreateEmbedAuthor
, to avoid consuming the user.Fixes
Message::author_permissions
now respects permission overrides, as it is documented to.Message::author_permissions
now respectsSEND_MESSAGES_IN_THREADS
when used in threads.Documentation improvements
Guild::threads
has been expanded.v0.12.3
Compare Source
Thanks to the following for their contributions:
Deprecations
Message(Id)::link_ensured
can be replaced byMessage(Id)::link
if recieved via event, orMessageId::link
if the message was recieved via a HTTP request.CreateInteractionResponse::PremiumRequired
has been deprecated and replaced with Premium Buttons.GuildChannel::permissions_for_user
has been deprecated, use the newMessage::author_permissions
helper orGuild::user_permissions_in
.Additions
CreateButton
now implementsFrom<Button>
.User::display_name
has been added, as users may have two different names now.CurrentApplicationInfo
.GuildMemberFlags
have been added.USE_EXTERNAL_APPS
permission has been added.MessageReferenceKind
has been added to start supporting forwarding.{PartialGuild, Guild}::partial_member_permissions
has been added for more efficent permissions checkingunstable_discord_api
.Message::author_permissions
helper has been added, alongsidePermissions::dm_permissions
.Deserialisation Fixes
Messages with reactions no longer fail to deserialize due to super reaction changes.
unstable_discord_api
-1
no longer fail to deserialise.General fixes
GuildId::members_iter
documentation.CreateAttachment
documentation has been updated to be more consistent with other builders.CreateEmbedAuthor
documentation can now spellembed
correctly.AuthorizingIntegrationOwners
is now usable, as the field was previously private.Partial
)Guild::member_permissions
is now usable without cache.ChannelId::delete_messages
documentation has been expanded to document the single item case.BulkBanResponse
have been made public.bulk_ban
endpoint is now usable, previously unusable due toSend
issues.v0.12.2
Compare Source
Thanks to the following for their contributions:
Deprecations
Continuing with the deprecations started in 0.12.1, many more methods and fields have been deprecated in order to make an easier upgrade path to 0.13.
These deprecation messages include a migration path, it is recommended to go one by one using
cargo check
and migrate each warning to reduce the burden migrating to 0.13. Following is a list of the deprecation PRs and the justification for these changes.Channel::is_nsfw
method was wrong, useless, and served better byGuildChannel::nsfw
Member::highest_role_info
is now strictly less powerful than the newGuild::member_highest_role
and can avoid a cache lookup if used correctly.Guild::is_large
is less accurate thanGuild::large
Message::is_own
is super simple to implement yourselfMessage::is_private
simply checks ifMessage::guild_id
isnone
.Event::PresencesReplace
does not exist, and is a relic from when serenity supported user accounts.TeamMember::permissions
is always["*"]
, so is useless.Other notable changes
CreateMessage::enforce_nonce
, to prevent sending duplicate messages.EditProfile::banner
, allowing banners to be set for bots.ChannelId::get_thread_member
.Guild::partial_member_permissions_in
, which can be used to avoid fetching aMember
in message events just to check permissions.From<User>
forCreateEmbedAuthor
, setting the author name and icon to theUser
's info.UserId::direct_message
, so you don't need a fullUser
to direct message.Http::default_allowed_mentions
to set theAllowedMentions
to be used with every request.Guild
(Id
)::bulk_ban
, allowing bulk banning without hitting rate limits.v0.12.1
Compare Source
Thanks to the following for their contributions:
Notable changes
In this release, the standard framework has been deprecated
(#2733).
As Discord continues to endorse and evolve application commands (
/...
commands, user commands, message commands, etc.), the standard framework
becomes increasingly outdated. Bots are also steadily losing (and already have
los
Configuration
📅 Schedule: Branch creation - "before 9am on Monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.