2023-11-29
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @ThisWeekInRust on Twitter or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
This week's crate is tokio-graceful, a library for graceful shutdown of tokio-based async servers.
Thanks to Glen De Cauwsemaecker for the suggestion!
Please submit your suggestions and votes for next week!
Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
NodeManagerWorker for node / node statuskafka servicesnodes/models/transport and nodes/models/workersselect_from_list() 3If you are a Rust project owner and are looking for contributors, please submit tasks here.
405 pull requests were merged in the last week
x86_64-sun-solarisEvalCtxt::commit_if_ok don't inherit nested goalsintercrate_ambiguity_causes: handle self ty infer + reservation implsSpan to TraitBoundModifierdebug_assert_nounwind and convert assert_unsafe_preconditioncheck_coroutine_obligationsFileEncoder::finish in rmeta encodingIndex implementation in typeckderef_into_dyn_supertrait lintoutput_filenamesgeneric_const_exprs#[default] variantsshallow_resolver and recur when infer vars--check-cfg checking of command line --cfg argsHirId from QPath::LangItemNaN/Inf floats with _ref and boxcore, suggest stdVarDebugInfo to Stable MIRTy::Ref pretty printingdead_alloc_map toofloat_to_int_checked to remove its generic parameter and reduce code duplication a bitty::ConstLayout::array cannot overflowAmbiguityCause should not eagerly format stringsSpecFromElem for ()binary_search_by to use conditional movesptr::addr_eqBufRead::skip_untilDuration::abs_difffold implementation of iteratorsrefactor(toml): Better abstract inheritance detailsCARGO_RUSTC_CURRENT_DIR (unstable)checkPath and sortResultsTypeckResults::node_type() can be used inside of bodiesdeprecated_semver: Allow #[deprecated(since = "TBD")]manual_try_fold: check that fold is really Iterator::foldmissing_asserts_for_indexing: work with bodies instead of blocks separatelyneedless_return_with_question_mark: don't lint if never type is used for coercionptr_arg: recognize methods that also exist on slicescheck_private_items configoption_map_or_err_oka.mul_add(b, c) if parameters are not floatresult_map_or_into_option lint to handle Result::map_or_else(|_| None, Some)box_default behaviour with empty vec![] coming from macro argiter_kv_map false positive into_keys and into_values suggestionmanual_non_exhaustive lintdeclare_tool_lint in declare_clippy_lintoption.map(cond) == Some(true) with option.is_some_and(cond)Rusty Events between 2023-11-29 - 2023-12-27 🦀
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Please see the latest Who's Hiring thread on r/rust
I'd like to report that Rust's compile times were OK today and yesterday and the day before.
I'll keep you posted.
– ZiCog about slow Rust compile times on rust-users
Thanks to Michael Bryan for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
Email list hosting is sponsored by The Rust Foundation