Compare commits
No commits in common. "v0.3.5" and "v0.3.4" have entirely different histories.
4 changed files with 4 additions and 11 deletions
|
@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.3.5] - 2024-02-27
|
||||
|
||||
### Fixed
|
||||
|
||||
* Fix clippy issue
|
||||
|
||||
## [0.3.4] - 2024-02-27
|
||||
|
||||
### Security
|
||||
|
@ -121,8 +115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
Rename Autarco Scraper project to Solar Grabber.
|
||||
|
||||
[Unreleased]: https://git.luon.net/paul/solar-grabber/compare/v0.3.5...HEAD
|
||||
[0.3.5]: https://git.luon.net/paul/solar-grabber/compare/v0.3.4...v0.3.5
|
||||
[Unreleased]: https://git.luon.net/paul/solar-grabber/compare/v0.3.4...HEAD
|
||||
[0.3.4]: https://git.luon.net/paul/solar-grabber/compare/v0.3.3...v0.3.4
|
||||
[0.3.3]: https://git.luon.net/paul/solar-grabber/compare/v0.3.2...v0.3.3
|
||||
[0.3.2]: https://git.luon.net/paul/solar-grabber/compare/v0.3.1...v0.3.2
|
||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1543,7 +1543,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "solar-grabber"
|
||||
version = "0.3.5"
|
||||
version = "0.3.4"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"color-eyre",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "solar-grabber"
|
||||
version = "0.3.5"
|
||||
version = "0.3.4"
|
||||
authors = ["Paul van Tilburg <paul@luon.net>"]
|
||||
edition = "2021"
|
||||
description = """"
|
||||
|
|
|
@ -112,7 +112,7 @@ where
|
|||
use rocket::serde::de::Error;
|
||||
|
||||
match <StringOrObject<'_, T>>::deserialize(deserializer) {
|
||||
Ok(StringOrObject::String("")) => Ok(None),
|
||||
Ok(StringOrObject::String(s)) if s.is_empty() => Ok(None),
|
||||
Ok(StringOrObject::String(_)) => Err(Error::custom("Non-empty string not allowed here")),
|
||||
Ok(StringOrObject::Object(t)) => Ok(Some(t)),
|
||||
Ok(StringOrObject::Value(j)) => Err(Error::custom(&format!(
|
||||
|
|
Loading…
Reference in a new issue