Commit Graph

12 Commits

Author SHA1 Message Date
Paul van Tilburg 129b29da26
Use assert_eq for float tests; drop dev depend on float_eq crate 2022-10-08 15:03:16 +02:00
Paul van Tilburg 6030134a34
Bump the version to 0.2.0 2022-10-01 15:47:21 +02:00
Paul van Tilburg 7fbef8ddf9
Add some more fields 2022-10-01 15:41:19 +02:00
Paul van Tilburg 56a888d5a3
Add support for serde (closes: #2)
* Introduce and document the `serde` feature
* Implement `serde::Deserialize` and `serde::Serialize` for `GeoUri`
* Add tests
2022-10-01 15:41:19 +02:00
Paul van Tilburg ff32105fce
Enable all features and document them for docs.rs 2022-10-01 15:41:19 +02:00
Paul van Tilburg 758a3f8072
Add support for converting from/to Url structs (closes: #1)
* Introduce and document the `url` feature
* Implement `From<&GeoUri>` and `From<GeoUri>` for `Url`
* Implement `TryFrom<&Url>` and `TryFrom<Url>` for `GeoUri`
* Add and extend tests
2022-10-01 15:41:18 +02:00
Paul van Tilburg 7f3d4128b8
Make crate adhere to Rust API guidelines
* Don't set the `homepage` field in `Cargo.toml` if it is the same as
  the repository (C-METADATA)
* Don't use `expect` but `?` in examples (C-QUESTION-MARK)
  (This cannot be fixed for the README for now, unfortunately)
* Document the errors for all methods which return a `Result`
  (C-FAILURE)
2022-10-01 13:53:02 +02:00
Paul van Tilburg 8201b4d17b
Bump the version to 0.1.1 2022-09-30 20:52:08 +02:00
Paul van Tilburg 93cc6a8501
Add some more extra fields 2022-09-30 20:44:11 +02:00
Paul van Tilburg f24fe7f6d3
Add missing fields to Cargo.toml 2022-09-27 18:01:06 +02:00
Paul van Tilburg 7ec8dbc7d3
Add README.md and LICENSE file
Also link the files from the crate and include `README.md` as the
crate documentation.
2022-09-27 18:00:03 +02:00
Paul van Tilburg 2029eadb3c
Initial import into Git 2022-09-27 17:10:45 +02:00