Open-source Contributions
I have fixed bugs, improved heuristics, stabilized features, and significantly cleaned up code over a few open-source projects over time. This is in addition to my own projects, some of which have become quite large.
Projects are in no particular order. Contributions within a project are listed in reverse chronological order.
Rust
- #83772 modifies the
Step
trait, such that it is no longerunsafe
to implement, in addition to restrictingunsafe
behavior to types in the standard library. This combination of changes should allowtrait Step
to be stabilized in the short term. - #83363 implements a new API for procedural macro diagnostics, which puts the feature on a better path to stabilization.
- #82130 makes
Option::transpose
,Option::flatten
, andResult::flatten
const fn
on nightly. - #81940 stabilizes
str::split_once
in Rust 1.52. - #80962 stabilizes 168 inherent implementations on
integers as
const fn
in Rust 1.52. - #80959 stabilizes
i*::unsigned_abs()
in Rust 1.51.
rust-analyzer
- #7215 improves heuristics of hiding parameter inlay hints. #7224 was submitted as a follow-up for optimization.
quickcheck
- #270 eliminates a frequently-encountered panic.
Rocket
- #1143 removes the dependency on the
crate_visibility_modifier
feature. - #1129 removes the dependency on the
label_break_value
feature. - #1125 uses the
BoxFuture
type for readability. - #1124 removes unnecessary boxing.
- #1099 removes the stabilized
async_await
feature. - #1097 allows launching on a custom Tokio runtime.
- #1084 uses a proper
async fn
instead of returningPin<Box<_>>
where possible. - #1079 implements graceful shutdown functionality, both via signal handling and caller-requested. This was one of the most-requested features in Rocket.
- #1062 removes the unused
doc_cfg
feature. - #967 removes the stabilized
transpose_result
andtry_from
features. - #966 removes all uses of the unstable never
type (
!
) in favor of the stableInfallible
.
Tokio
- #1492 implements
spawn_with_handle
on the Tokio executor. This allowed the launching of Rocket on a custom Tokio runtime.