Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
Paul van Tilburg | 8b69470cff | |
Paul van Tilburg | 071473ffcf | |
Paul van Tilburg | 867397d2db | |
Paul van Tilburg | 54e3540946 | |
Paul van Tilburg | c63bdceb01 | |
Paul van Tilburg | 00856f4dd9 | |
Paul van Tilburg | e6f02664b7 | |
Paul van Tilburg | bbd061f0d3 | |
Paul van Tilburg | ca86701ee8 |
|
@ -0,0 +1,48 @@
|
|||
name: "Check, lint and test using Cargo"
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
- workflow_dispatch
|
||||
|
||||
jobs:
|
||||
check_lint:
|
||||
name: Check, lint and test
|
||||
runs-on: debian-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install stable toolchain
|
||||
uses: https://github.com/actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Use sparse Cargo index for crates.io
|
||||
run: echo -e '[registries.crates-io]\nprotocol = "sparse"' >> /root/.cargo/config.toml
|
||||
|
||||
- name: Run cargo check
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
|
||||
- name: Run cargo clippy
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
||||
- name: Run cargo fmt
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
- name: Run cargo test
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --all-features
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.2] - 2024-04-03
|
||||
|
||||
### Changed
|
||||
|
||||
* Bumped dependency on `derive_builder` crate
|
||||
|
||||
## [0.2.1] - 2023-03-11
|
||||
|
||||
### Changed
|
||||
|
@ -42,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
* Fix some small errors in the documentation
|
||||
|
||||
[Unreleased]: https://git.luon.net/paul/geo-uri-rs/compare/v0.2.1...HEAD
|
||||
[Unreleased]: https://git.luon.net/paul/geo-uri-rs/compare/v0.2.2...HEAD
|
||||
[0.2.2]: https://git.luon.net/paul/geo-uri-rs/compare/v0.2.1..v0.2.2
|
||||
[0.2.1]: https://git.luon.net/paul/geo-uri-rs/compare/v0.2.0..v0.2.1
|
||||
[0.2.0]: https://git.luon.net/paul/geo-uri-rs/compare/v0.1.1..v0.2.0
|
||||
[0.1.1]: https://git.luon.net/paul/geo-uri-rs/commits/tag/v0.1.1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "geo-uri"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
authors = ["Paul van Tilburg <paul@luon.net>"]
|
||||
edition = "2021"
|
||||
rust-version = "1.60.0"
|
||||
|
@ -10,6 +10,7 @@ repository = "https://git.luon.net/paul/geo-uri-rs"
|
|||
license = "MIT"
|
||||
keywords = ["geolocation", "uri", "parser", "rfc5870"]
|
||||
categories = ["parser-implementations", "web-programming", "encoding"]
|
||||
include = ["CHANGELOG.md", "LICENSE", "README.md", "src/*.rs"]
|
||||
|
||||
[package.metadata."docs.rs"]
|
||||
all-features = true
|
||||
|
@ -20,7 +21,7 @@ url = ["dep:url"]
|
|||
serde = ["dep:serde"]
|
||||
|
||||
[dependencies]
|
||||
derive_builder = "0.12.0"
|
||||
derive_builder = "0.20.0"
|
||||
serde = { version = "1.0.145", optional = true }
|
||||
thiserror = "1.0.35"
|
||||
url = { version = "2.3.1", optional = true }
|
||||
|
|
Loading…
Reference in New Issue