Skip to content

Commit cdd9fcc

Browse files
committed
Bump ron to v0.11.0
1 parent 1dcc70e commit cdd9fcc

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9-
- Add a new example `file_read_write_vec.rs` for reading and writing `Vec<T>` to/from files. ([#573](https://github.com/ron-rs/ron/pull/573))
9+
## [0.11.0] - 2025-08-27
1010

1111
### API Changes
1212

13-
- Breaking: `SpannedError` now stores the full error span in span: Span { start: Position, end: Position }`, to facilitate, e.g., language servers highlighting of syntax errors.
13+
- Breaking: `SpannedError` now stores the full error span in span: Span { start: Position, end: Position }`, to facilitate, e.g., language server highlighting of syntax errors.
1414

1515
- Breaking: Added `no_std` support via a new `std` feature (enabled by default). With default features disabled, you must enable the `std` feature to access `de::from_reader`, and the `std::io` operations on `Options`, such as `from_reader`, `from_reader_seed`, `to_io_writer`, and `to_io_writer_pretty` ([#567](https://github.com/ron-rs/ron/pull/567))
1616

17-
- Breaking: Fixed `ron::value::Number` to ensure it is non-exhaustive, to avoid breaking `match`es when feature unification enables more of its variants than expected ([#568](https://github.com/ron-rs/ron/pull/568))
17+
- Breaking: Fixed (again) `ron::value::Number` to ensure it is non-exhaustive, to avoid breaking `match`es when feature unification enables more of its variants than expected ([#568](https://github.com/ron-rs/ron/pull/568))
18+
19+
### Examples
20+
21+
- Add a new example `file_read_write_vec.rs` for reading and writing `Vec<T>` to/from files. ([#573](https://github.com/ron-rs/ron/pull/573))
1822

1923
## [0.10.1] - 2025-04-08
2024

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ron"
33
# Memo: update version in src/lib.rs too (doc link)
4-
version = "0.10.1"
4+
version = "0.11.0"
55
license = "MIT OR Apache-2.0"
66
keywords = ["parser", "serde", "serialization"]
77
authors = [

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#![warn(clippy::std_instead_of_alloc)]
1717
#![warn(clippy::std_instead_of_core)]
1818
#![doc = include_str!("../README.md")]
19-
#![doc(html_root_url = "https://docs.rs/ron/0.10.1")]
19+
#![doc(html_root_url = "https://docs.rs/ron/0.11.0")]
2020
#![no_std]
2121

2222
#[cfg(feature = "std")]

src/parse.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,12 +1044,12 @@ impl<'a> Parser<'a> {
10441044
let base64_result = ParsedByteStr::try_from_base64(&base64_str);
10451045

10461046
if cfg!(not(test)) {
1047-
// FIXME @juntyr: remove in v0.10
1047+
// FIXME @juntyr: remove in v0.12
10481048
#[allow(deprecated)]
10491049
base64_result.map_err(Error::Base64Error)
10501050
} else {
10511051
match base64_result {
1052-
// FIXME @juntyr: enable in v0.10
1052+
// FIXME @juntyr: enable in v0.12
10531053
Ok(byte_str) => Err(expected_byte_string_found_base64(&base64_str, &byte_str)),
10541054
Err(_) => Err(Error::ExpectedByteString),
10551055
}
@@ -1059,12 +1059,12 @@ impl<'a> Parser<'a> {
10591059
let base64_result = ParsedByteStr::try_from_base64(&base64_str);
10601060

10611061
if cfg!(not(test)) {
1062-
// FIXME @juntyr: remove in v0.10
1062+
// FIXME @juntyr: remove in v0.12
10631063
#[allow(deprecated)]
10641064
base64_result.map_err(Error::Base64Error)
10651065
} else {
10661066
match base64_result {
1067-
// FIXME @juntyr: enable in v0.10
1067+
// FIXME @juntyr: enable in v0.12
10681068
Ok(byte_str) => Err(expected_byte_string_found_base64(&base64_str, &byte_str)),
10691069
Err(_) => Err(Error::ExpectedByteString),
10701070
}

0 commit comments

Comments
 (0)