-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch HashMap to BTreeMap, lints (#25)
* This crate is mostly needed for (de-)serialization, so keeping ordering of the output consistent is a better approach. * Made a few tiny linting changes * Added clippy configuration to Cargo.toml (only works on Rust 1.74+, and will be ignored by the earlier Cargo) - [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/master/CODE_OF_CONDUCT.md). - [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. ---
- Loading branch information
Showing
6 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tilejson" | ||
version = "0.3.4" | ||
version = "0.4.0" | ||
description = "Library for serializing the TileJSON file format" | ||
authors = [ | ||
"Stepan Kuzmin <[email protected]>", | ||
|
@@ -20,3 +20,10 @@ serde = { version = "1", features = ["derive"] } | |
serde_json = "1" | ||
serde_tuple = "0.5" | ||
thiserror = "1" | ||
|
||
[lints.rust] | ||
unsafe_code = "forbid" | ||
unused_qualifications = "warn" | ||
|
||
[lints.clippy] | ||
pedantic = "warn" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters