Avatar for the pubgrub-rs user
pubgrub-rs
pubgrub
BlogDocsChangelog

Branches performance

Pull requests

Allow `Ranges::contains` to accept borrows, e.g. `&str` for `Ranges<String>`#301
last run
6 days ago
Allow `Ranges::contains` to accept (e.g.) `&str` for `Ranges<String>` (#35) ## Summary This PR borrows a trick from [HashMap](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.contains_key) to enable users to pass (e.g.) `&str` to `Ranges::contains`, given `Ranges<String>`.
23 days ago
6992709
konsti/dev/borrow
CodSpeed Performance Gauge
0%
Add `State::add_incompatibility_from_dependencies` (#27) This wrapper avoids accessing the `incompatibility_store` directly in uv code. Before: ```rust let dep_incompats = self.pubgrub.add_version( package.clone(), version.clone(), dependencies, ); self.pubgrub.partial_solution.add_version( package.clone(), version.clone(), dep_incompats, &self.pubgrub.incompatibility_store, ); ``` After: ```rust self.pubgrub.add_incompatibility_from_dependencies(package.clone(), version.clone(), dependencies); ``` `add_incompatibility_from_dependencies` is one of the main methods for the custom interface to pubgrub.
6 months ago
8685610
konsti/dev/add-incompat-for-deps
CodSpeed Performance Gauge
0%
Lints and docs
7 days ago
bda2b81
Eh2406:discovery_order
CodSpeed Performance Gauge
-7%
Review
8 days ago
ec324e8
konsti/dev/incompat-tracker
CodSpeed Performance Gauge
-17%
Home Terms PrivacyDocs