Open renovate[bot] opened 3 years ago
bors r+
Configuration problem: bors.toml: not found
bors r+
Timed out.
bors r+
Timed out.
bors r+
Timed out.
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package serde_yaml@0.8.26 --precise 0.9.34
error: package ID specification `serde_yaml@0.8.26` did not match any packages
Did you mean one of these?
serde_yaml@0.9.29
This PR contains the following updates:
0.8.17
->0.9.0
Release Notes
dtolnay/serde-yaml (serde_yaml)
### [`v0.9.34`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.34) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.33...0.9.34) As of this release, I am not planning to publish further versions of `serde_yaml` as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml\&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available. ### [`v0.9.33`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.33) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.32...0.9.33) - Fix quadratic parse time for YAML containing deeply nested flow collections ([https://github.com/dtolnay/unsafe-libyaml/issues/26](https://redirect.github.com/dtolnay/unsafe-libyaml/issues/26)) ### [`v0.9.32`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.32) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.31...0.9.32) - Fix unused_imports warnings when compiled by rustc 1.78 ### [`v0.9.31`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.31) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.30...0.9.31) - Add `swap_remove` and `shift_remove` methods on Mapping ([#408](https://redirect.github.com/dtolnay/serde-yaml/issues/408)) ### [`v0.9.30`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.30) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.30) - Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache ### [`v0.9.29`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.29) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.28...0.9.29) - Turn on `deny(unsafe_op_in_unsafe_fn)` lint ### [`v0.9.28`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.28) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.28) - Update `unsafe-libyaml` dependency to pull in unaligned write fix ### [`v0.9.27`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.27) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.26...0.9.27) - Always serialize serde_yaml::Number containing NaN as a positive NaN ([#394](https://redirect.github.com/dtolnay/serde-yaml/issues/394)) ### [`v0.9.26`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.26) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.25...0.9.26) - Guarantee that `.nan` is deserialized as a positive NaN ([#392](https://redirect.github.com/dtolnay/serde-yaml/issues/392), [#393](https://redirect.github.com/dtolnay/serde-yaml/issues/393)) ### [`v0.9.25`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.25) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.24...0.9.25) - Serialize using quoted style around scalar that has digits with leading zero ([#347](https://redirect.github.com/dtolnay/serde-yaml/issues/347)) ### [`v0.9.24`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.24) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.23...0.9.24) - Implement FromStr for serde_yaml::Number ([#381](https://redirect.github.com/dtolnay/serde-yaml/issues/381)) ### [`v0.9.23`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.23) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.22...0.9.23) - Documentation improvements ### [`v0.9.22`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.22) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.21...0.9.22) - Update indexmap dependency to version 2 ### [`v0.9.21`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.21) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.20...0.9.21) - Make `Tag::new` panic if given empty string, since YAML has no syntax for an empty tag ### [`v0.9.20`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.20) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.19...0.9.20) - Allow an empty YAML document to deserialize to `None` or `Value::Null`, in addition to the previously supported empty vector, empty map, and struct with no required fields ### [`v0.9.19`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.19) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.18...0.9.19) - Fix message duplication between serde_yaml::Error's `Display` and `source()` ([#359](https://redirect.github.com/dtolnay/serde-yaml/issues/359), [#360](https://redirect.github.com/dtolnay/serde-yaml/issues/360)) ### [`v0.9.18`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.18) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.17...0.9.18) - Add support for emitting Unicode characters over codepoint U+FFFF ([#356](https://redirect.github.com/dtolnay/serde-yaml/issues/356)) ### [`v0.9.17`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.17) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.16...0.9.17) - Improve Debug representation of some error messages ### [`v0.9.16`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.16) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.15...0.9.16) - Opt out of `-Zrustdoc-scrape-examples` on docs.rs for now ### [`v0.9.15`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.15) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.14...0.9.15) - Documentation improvements ### [`v0.9.14`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.14) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.14) - Implement `Deserializer` for `TaggedValue` and `&TaggedValue` ([#339](https://redirect.github.com/dtolnay/serde-yaml/issues/339)) ### [`v0.9.13`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.13) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.12...0.9.13) - Recognize `True`, `TRUE`, `False`, `FALSE` as booleans, `Null`, `NULL` as null ([#330](https://redirect.github.com/dtolnay/serde-yaml/issues/330)) ### [`v0.9.12`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.12) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.11...0.9.12) - Support deserializing tagged literal scalar into primitive ([#327](https://redirect.github.com/dtolnay/serde-yaml/issues/327)) ```yaml "foo": !!int |- 7200 ``` ### [`v0.9.11`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.11) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.10...0.9.11) - Serialize strings on a single line when they do not already contain a newline character, regardless of string length ([#321](https://redirect.github.com/dtolnay/serde-yaml/issues/321), [#322](https://redirect.github.com/dtolnay/serde-yaml/issues/322)) ### [`v0.9.10`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.10) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.9...0.9.10) - Make `Display` for `Number` produce the same representation as serializing ([#316](https://redirect.github.com/dtolnay/serde-yaml/issues/316)) ### [`v0.9.9`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.9) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.8...0.9.9) - Add [serde_yaml::with::singleton_map_recursive](https://docs.rs/serde_yaml/0.9.9/serde_yaml/with/singleton_map_recursive/index.html) ### [`v0.9.8`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.8) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.7...0.9.8) - Fix serialization of `TaggedValue` when used with `to_value` ([#313](https://redirect.github.com/dtolnay/serde-yaml/issues/313)) ### [`v0.9.7`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.7) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.6...0.9.7) - Allow an empty plain scalar to deserialize as an empty map or seq ([#304](https://redirect.github.com/dtolnay/serde-yaml/issues/304)) ### [`v0.9.6`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.6) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.5...0.9.6) - Fix tag not getting serialized in certain map values ([#302](https://redirect.github.com/dtolnay/serde-yaml/issues/302)) ### [`v0.9.5`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.5) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.4...0.9.5) - Implement `Display` trait for `serde_yaml::value::Tag` ([#307](https://redirect.github.com/dtolnay/serde-yaml/issues/307), thanks [@masinc](https://redirect.github.com/masinc)) ### [`v0.9.4`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.4) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.3...0.9.4) - Add `serde_yaml::with::singleton_map` for serialization of enums as a 1-entry map ([#300](https://redirect.github.com/dtolnay/serde-yaml/issues/300)) - Reject duplicate keys when deserializing `Mapping` or `Value` ([#301](https://redirect.github.com/dtolnay/serde-yaml/issues/301)) ### [`v0.9.3`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.3) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.2...0.9.3) - Add categories to crates.io metadata - Add keywords to crates.io metadata ### [`v0.9.2`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.2) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.1...0.9.2) - Improve `Debug` representation of `serde_yaml::Error` ### [`v0.9.1`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.1) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.9.0...0.9.1) - Fix panic on some documents containing syntax error ([#293](https://redirect.github.com/dtolnay/serde-yaml/issues/293)) - Improve error messages that used to contain duplicative line/column information ([#294](https://redirect.github.com/dtolnay/serde-yaml/issues/294)) ### [`v0.9.0`](https://redirect.github.com/dtolnay/serde-yaml/releases/tag/0.9.0) [Compare Source](https://redirect.github.com/dtolnay/serde-yaml/compare/0.8.26...0.9.0) *API documentation: https://docs.rs/serde_yaml/0.9* ##### Highlights - The `serde_yaml::Value` enum gains a `Tagged` variant which represents the deserialization of YAML's `!Tag` syntax. Tagged scalars, sequences, and mappings are all supported. - An empty YAML input (or document containing only comments) will deserialize successfully to an empty map, empty sequence, or Serde struct as long as the struct has only optional fields. Previously this would error. - A new `.apply_merge()` method on `Value` implements YAML's `<<` merge key convention. - The `Debug` representation of `serde_yaml::Value` has gotten vastly better ([https://github.com/dtolnay/serde-yaml/pull/287](https://redirect.github.com/dtolnay/serde-yaml/pull/287)). - Deserialization of borrowed strings now works. ```rust #[derive(Deserialize, Debug)] struct Struct<'a> { borrowed: &'a str, } let yaml = "borrowed: 'kölcsönzött'\n"; let value: Struct = serde_yaml::from_str(yaml)?; println!("{:#?}", value); ``` - `Value`'s and `Mapping`'s methods `get` and `get_mut` have been generalized to support a \&str argument, as opposed to requiring you to allocate and construct a `Value::String` for indexing into another existing `Value`. - `Mapping` exposes more APIs that have become conventional on map data structures, such as `.keys()`, `.values()`, `.into_keys()`, `.into_values()`, `.values_mut()`, and `.retain(|k, v| …)`. ##### Breaking changes - Serialization no longer produces leading `---\n` on the serialized output. You can prepend this yourself if your use case demands it. - Serialization of enum variants is now based on YAML's `!Tag` syntax, rather than JSON-style singleton maps. ```rust #[derive(Serialize, Deserialize)] enum Enum { Newtype(usize), Tuple(usize, usize, usize), Struct { x: f64, y: f64 }, } ``` ```yaml - !Newtype 1 - !Tuple [0, 0, 0] - !Struct {x: 1.0, y: 2.0} ``` - A bunch of non-base-10 edge cases in number parsing have been resolved. For example `0x+1` and `++0x1` are now parsed as strings, whereas they used to be incorrectly treated as numbers. - Deserializers obtained through iteration can no longer be iterated further: ```rust let deserializer = serde_yaml::Deserializer::from_str(multiple_documents); for de in deserializer { // correct: let myvalue = T::deserialize(de)?; // incorrect: used to produce some questionable result, now produces 0 sub-documents for questionable in de { let wat = T::deserialize(questionable)?; } } ``` - The abandoned yaml-rust crate is no longer used as the YAML backend. The new libyaml-based backend surely has different edge cases and quirks than yaml-rust. - Some excessive `PartialEq` impls have been eliminated. - The `serde_yaml::to_vec` function has been removed. Use `serde_yaml::to_writer` for doing I/O, or use `serde_yaml::to_string` + `.into_bytes()` on the resulting String. - The `serde_yaml::seed` module has been removed. Now that a `serde_yaml::Deserializer` is publicly available, the same use cases can be addressed via `seed.deserialize(Deserializer::from_str(…))` instead. ##### Bugfixes - Empty values in a mapping are supported, and deserialize to empty string when the corresponding struct field is of type string. Previously they would deserialize to "~" which makes no sense. - 128-bit integer deserialization now supports hex and octal input. - Serde_yaml now includes a mitigation against a ["billion laughs"](https://en.wikipedia.org/wiki/Billion_laughs_attack) attack in which malicious input involving YAML anchors and aliases is used to consume an amount of processing or memory that is exponential in the size of the input document. Serde_yaml will quickly produce an error in this situation instead.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.