Skip to content

Commit b945d3a

Browse files
bors[bot]bidoubiwa
andauthored
Merge #448
448: Fix the build issues introduced by latest serde patch r=irevoire a=bidoubiwa In the latest serde patch version a breaking change led to a build error. By installing the project for the first time, the latest patch versions are installed. This is not the case in an already existing project unless `cargo update` is ran. Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents edb1595 + c4fa0ca commit b945d3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ To install dependencies:
4040
cargo build --release
4141
```
4242

43+
To ensure the same dependency versions in all environments, for example the CI, update the dependencies by running: `cargo update`.
44+
4345
### Tests <!-- omit in toc -->
4446

4547
To run the tests, run:

src/settings.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub struct PaginationSetting {
1616
#[derive(Serialize, Deserialize, Default, Debug, Clone, Eq, PartialEq)]
1717
#[serde(rename_all = "camelCase")]
1818
pub struct FacetingSettings {
19-
#[serde()]
2019
pub max_values_per_facet: usize,
2120
}
2221

0 commit comments

Comments
 (0)