-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: Bump deps & 2021 edition, reexports, clippy (#282)
* Rust: Bump deps & 2021 edition, reexports, clippy * Re-export the entire geozero because it has a number of other used traits like Error, so reexporting partial geozero creates more problem than solves * Switch all crates to 2021 edition * Cleanup crate.toml - we may want to switch to a proper workspace here * bump all dependency versions to latest * Address some clippy warnings * Some Clippy fixes ``` cargo clippy --fix cargo clippy --workspace --allow-dirty --fix --benches --tests --bins -- -A clippy::all -W clippy::uninlined_format_args ``` * A lot more clippy fixes * rename internal `to_feature` because it breaks Rust naming expectations * add a safety docs to `FgbReader::open_unchecked` -- please doublecheck that it is correct * fix a lot of `.write(...)` to `write_all(...)` - because write does not guarantee how many bytes it will write * removed a few lifetimes - clippy thinks they are not needed * `&Vec<_>` -> `&[_]` * Optimized `PackedRTree::build` iter * cleanup formats * Spelling, readme, unneeded clarifiers * Optimize read_coordinates * Update file_reader.rs
- Loading branch information
Showing
21 changed files
with
223 additions
and
216 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# Prevent this from interfering with workspaces | ||
[workspace] | ||
members = ["."] | ||
|
||
[package] | ||
name = "fgbutil" | ||
version = "0.1.0" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
clap = { version = "3.1.0", features = ["derive"] } | ||
geozero = { version = "0.9.5", default-features = true } | ||
|
||
[dependencies.flatgeobuf] | ||
path = ".." | ||
|
||
[workspace] | ||
members = ["."] | ||
clap = { version = "4.3.21", features = ["derive"] } | ||
flatgeobuf = { path = ".." } | ||
geozero = "0.10.0" |
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
Oops, something went wrong.