David Tolnay
a42fa980f8
Unpin CI miri toolchain
...
Fixed in nightly-2026-02-13.
2026-02-15 19:03:48 -08:00
David Tolnay
684a60eba1
Pin CI miri to nightly-2026-02-11
2026-02-11 19:24:13 -08:00
David Tolnay
7c7da3302b
Raise required compiler to Rust 1.71
2026-02-08 12:56:20 -08:00
David Tolnay
acf4850e29
Simplify Number::is_f64
2026-02-08 12:55:58 -08:00
David Tolnay
6b8ceab565
Resolve unnecessary_map_or clippy lint
...
warning: this `map_or` can be simplified
--> src/number.rs:123:28
|
123 | return self.n.parse::<f64>().ok().map_or(false, f64::is_finite);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `-W clippy::unnecessary-map-or` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_map_or)]`
help: use `is_some_and` instead
|
123 - return self.n.parse::<f64>().ok().map_or(false, f64::is_finite);
123 + return self.n.parse::<f64>().ok().is_some_and(f64::is_finite);
|
2026-02-08 12:54:49 -08:00
David Tolnay
fde7faaad7
Raise required compiler to Rust 1.70
2026-02-08 12:54:14 -08:00
David Tolnay
4f6dbfac79
Release 1.0.149
v1.0.149
2026-01-06 08:23:24 -08:00
David Tolnay
f3df680098
Touch up PR 1306
2026-01-06 08:22:19 -08:00
David Tolnay
e16730ff44
Merge pull request #1306 from b41sh/fix-float-number-display
...
Align `arbitrary_precision` number strings with zmij’s formatting
2026-01-06 08:21:26 -08:00
baishen
eeb2bcd3f2
Align arbitrary_precision number strings with zmij’s formatting
2026-01-06 16:38:21 +08:00
David Tolnay
8b291c4c56
Release 1.0.148
v1.0.148
2025-12-26 22:33:18 -08:00
David Tolnay
1aefe15273
Update to zmij 1.0
2025-12-26 22:30:08 -08:00
David Tolnay
62d6e8d615
Release 1.0.147
v1.0.147
2025-12-23 14:12:17 -08:00
David Tolnay
fd829a65be
Merge pull request #1304 from dtolnay/zmij
...
Switch from ryu -> zmij for float formatting
2025-12-23 14:11:47 -08:00
David Tolnay
e757a3d881
Switch from ryu -> zmij for float formatting
2025-12-23 14:02:16 -08:00
David Tolnay
75ad7e6b4e
Release 1.0.146
v1.0.146
2025-12-22 04:02:51 -08:00
David Tolnay
bc6c8276d9
Merge pull request #1305 from Xeonacid/patch-1
...
Set fast_arithmetic=64 for riscv64
2025-12-22 04:02:15 -08:00
Xeonacid
a09210adf5
Set fast_arithmetic=64 for riscv64
...
riscv64 also has an ilp32 variant[1][2].
[1] https://github.com/ruyisdk/riscv-gnu-toolchain-rv64ilp32
[2] https://fedoraproject.org/wiki/Architectures/RISC-V/64ILP32
2025-12-22 18:36:40 +08:00
David Tolnay
01182e54b5
Update actions/upload-artifact@v5 -> v6
2025-12-19 21:10:59 -08:00
David Tolnay
383b13a45f
Update actions/upload-artifact@v4 -> v5
2025-12-18 18:58:13 -08:00
David Tolnay
04dd357b99
Raise required compiler to Rust 1.68
2025-12-13 19:40:48 -08:00
David Tolnay
e047dfbe00
Resolve manual_let_else pedantic clippy lint
...
warning: this could be rewritten as `let...else`
--> src/lexical/algorithm.rs:54:9
|
54 | / let value = match mantissa.checked_mul(power) {
55 | | None => return None,
56 | | Some(value) => value,
57 | | };
| |__________^ help: consider writing: `let Some(value) = mantissa.checked_mul(power) else { return None };`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else
= note: `-W clippy::manual-let-else` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::manual_let_else)]`
2025-12-13 19:40:16 -08:00
David Tolnay
a525d9c0c0
Raise required compiler to Rust 1.65
2025-12-13 19:39:43 -08:00
David Tolnay
f815793bfd
Remove rustc version badge from readme
2025-12-12 20:52:16 -08:00
David Tolnay
3f17d2c6ea
Update actions/checkout@v5 -> v6
2025-11-20 10:02:46 -08:00
David Tolnay
8b674e41d5
Merge pull request 1295 from claudecodering/master
2025-11-04 09:23:33 -08:00
claudecodering
250dc8a37b
chore: minor improvement for docs
...
Signed-off-by: claudecodering <claudecoder@outlook.com>
2025-11-04 16:14:40 +08:00
David Tolnay
ce410dd779
Raise compiler version required for preserve_order feature to 1.82
...
Required since version 2.12.0 of indexmap.
2025-10-18 08:22:52 -07:00
David Tolnay
b9cafe2626
Opt in to generate-macro-expansion when building on docs.rs
2025-09-16 16:29:21 -07:00
David Tolnay
efa66e3a1d
Release 1.0.145
v1.0.145
2025-09-14 08:55:56 -07:00
David Tolnay
23679e2b9d
Add serde version constraint
2025-09-14 08:48:39 -07:00
David Tolnay
fc27bafbf7
Release 1.0.144
v1.0.144
2025-09-13 16:35:55 -07:00
David Tolnay
caef3c6ea6
Ignore uninlined_format_args pedantic clippy lint
...
warning: variables can be used directly in the `format!` string
--> src/ser.rs:448:15
|
448 | match write!(adapter, "{}", value) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
|
448 - match write!(adapter, "{}", value) {
448 + match write!(adapter, "{value}") {
|
warning: variables can be used directly in the `format!` string
--> src/value/mod.rs:182:37
|
182 | Value::Bool(boolean) => write!(formatter, "Bool({})", boolean),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
182 - Value::Bool(boolean) => write!(formatter, "Bool({})", boolean),
182 + Value::Bool(boolean) => write!(formatter, "Bool({boolean})"),
|
warning: variables can be used directly in the `format!` string
--> src/value/mod.rs:184:38
|
184 | Value::String(string) => write!(formatter, "String({:?})", string),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
184 - Value::String(string) => write!(formatter, "String({:?})", string),
184 + Value::String(string) => write!(formatter, "String({string:?})"),
|
warning: variables can be used directly in the `format!` string
--> src/number.rs:365:9
|
365 | write!(formatter, "Number({})", self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
365 - write!(formatter, "Number({})", self)
365 + write!(formatter, "Number({self})")
|
2025-09-13 16:34:07 -07:00
David Tolnay
81ba3aaaff
Merge pull request #1285 from dtolnay/serdecore
...
Switch serde dependency to serde_core
2025-09-13 16:31:44 -07:00
David Tolnay
d21e8ce7a7
Switch serde dependency to serde_core
2025-09-13 16:26:54 -07:00
David Tolnay
6beb6cd596
Merge pull request #1286 from dtolnay/up
...
Raise required compiler to Rust 1.61
2025-09-13 16:26:41 -07:00
David Tolnay
1dbc803749
Raise required compiler to Rust 1.61
2025-09-13 16:21:24 -07:00
David Tolnay
0bf5d87003
Enforce trybuild >= 1.0.108
...
Older versions produce slightly differently normalized output
when run against 1.90.0+ Rust compiler.
2025-09-13 14:49:53 -07:00
David Tolnay
d12e943590
Update actions/checkout@v4 -> v5
2025-08-23 09:12:30 -07:00
David Tolnay
10102c49bf
Release 1.0.143
v1.0.143
2025-08-18 21:05:11 -07:00
David Tolnay
2a5b85312c
Replace super::super with absolute path within crate
2025-08-18 21:03:45 -07:00
David Tolnay
447170bd38
Merge pull request 1271 from mickvangelderen/mick/impl-from-str-for-map
2025-08-18 21:01:34 -07:00
David Tolnay
ec190d6dfd
Merge pull request #1264 from xlambein/master
...
Add Clone and Debug impls to map iterators
2025-08-18 20:49:07 -07:00
David Tolnay
8be664752f
Merge pull request #1268 from SOF3/compact-default
...
Implement Default for CompactFormatter
2025-08-18 20:45:57 -07:00
David Tolnay
ba5b3cccea
Revert "Pin nightly toolchain used for miri job"
...
This reverts commit c1826ebcccb1a520389c6b78ad3da15db279220d.
2025-08-07 21:47:05 -07:00
David Tolnay
1731167cd5
Release 1.0.142
v1.0.142
2025-07-31 16:40:28 -07:00
David Tolnay
e51c81450a
Touch up PR 1265
2025-07-31 16:32:54 -07:00
David Tolnay
84abbdb613
Merge pull request #1265 from aatifsyed/master
...
feat: impl Default for &Value
2025-07-31 16:20:48 -07:00
David Tolnay
6843c3660e
Release 1.0.141
v1.0.141
2025-07-18 11:57:53 -07:00
David Tolnay
6e2c21063a
Touch up PR 1273
2025-07-18 11:50:21 -07:00