2023-03-08
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. If you find any errors in this week's issue, please submit a PR.
Arc<Mutex<T>> - Katharina FeyThis week's crate is man-in-the-middle-proxy, a - surprise! - man in the middle proxy.
Thanks to Emanuele Em for the self-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.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
376 pull requests were merged in the last week
point error span at Some constructor argument when trait resolution fails
descriptive error when users try to combine RPITIT/AFIT with specialization
exit when there are unmatched delims to avoid noisy diagnostics
erase all regions when probing for associated types on ambiguity in astconv
erase regions even when failing to normalize type in MIR opts
don't ICE when encountering bound var in builtin copy/clone bounds
feed queries on impl side for RPITITs when using lower_impl_trait_in_trait_to_assoc_ty
new solver: implement canonicalization and region constraints
cargo: breaking endless loop on cyclic features in added dependency in cargo-add
cargo: fix CARGO_CFG_ vars for configs defined both with and without value
cargo: fix help string for "--charset" option of "cargo tree"
cargo: fix(toml): provide a way to show unused manifest keys for dependencies
cargo: improve error for missing crate in --offline mode for sparse index
rustdoc-json: switch from HashMap to FxHashMap to fix non-determinism
rustdoc: function signature search with traits in where clause
rustdoc: show that repeated expression arrays can be made with constant values
clippy: fix false positive for let_unit_value when await used
clippy: fix array-size-threshold config deserialization error
clippy: missing_docs_in_private_items should cover only private items
rust-analyzer: allow generate_function to generate in different local crate
rust-analyzer: diagnose unresolved field, method call and call expression
rust-analyzer: diagnose value breaks in incorrect breakables
rust-analyzer: make replace_or_with_or_else assists more generally applicable
rust-analyzer: adjust replace_match_with_if_let applicability range
rust-analyzer: don't drop rustc crates in the rustc workspace
rust-analyzer: fix associated item visibility in block-local impls
rust-analyzer: run doctests for structs with lifetime parameters from IDE
rust-analyzer: generate correct completion edits for missing macro arguments
rust-analyzer: implement pattern mismatch diagnostics (but keep them disabled)
rust-analyzer: support removing nested dbg!()s in remove_dbg
Rusty Events between 2023-03-08 - 2023-04-05 🦀
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
(…) as much as i dislike the cargo-geiger concept, the name … kind of works
unsafeis a lot like uranium. it’s just one more metal ore you can process, refine, and machine. it doesn’t combust in atmosphere, it doesn’t corrode or make weird acids. unless you go out of your way to make it dangerous you don’t even have to worry about critical masses. you can work with it pretty normally most of the timebut if you don’t know exactly what it is, what it does, and how to work with it, it will cause mysterious illnesses that only crop up long after you’ve stopped touching it
Thanks to Stephan Sokolow 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