1557 Commits

Author SHA1 Message Date
David Tolnay
fe031cd1de
Delete trace_macros! functionality from test 2023-12-28 15:29:20 -08:00
David Tolnay
05196caf16
Update ui test suite to nightly-2023-11-19 2023-11-18 18:14:15 -08:00
David Tolnay
4bc1eaa03a
Release 1.0.108 v1.0.108 2023-10-30 11:36:54 -04:00
David Tolnay
1454eac069
Merge pull request #1082 from dtolnay/fromdoc
Improve Value From and FromIterator docs
2023-10-30 11:36:13 -04:00
David Tolnay
0f072fad73
Improve Value From and FromIterator docs 2023-10-30 11:26:17 -04:00
David Tolnay
a8e6f75a9b
Merge pull request #1081 from fritzrehde/master
Fixed some typos
2023-10-30 11:22:05 -04:00
fritzrehde
ebaf61709a fixed typos 2023-10-30 15:20:19 +01:00
David Tolnay
f56053d6f8
Merge pull request #1080 from serde-rs/negativenan
Add test of negative NaN and negative infinity
2023-10-25 10:51:06 -07:00
David Tolnay
4e091d5d6d
Add test of negative NaN and negative infinity 2023-10-25 10:41:10 -07:00
David Tolnay
421a70d1a6
Fix unused imports
warning: unused imports: `parse_concise_float`, `parse_truncated_float`
      --> tests/../src/lexical/mod.rs:38:23
       |
    38 | pub use self::parse::{parse_concise_float, parse_truncated_float};
       |                       ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default

    warning: unused import: `std::vec::Vec`
      --> tests/lexical.rs:30:13
       |
    30 |     pub use std::vec::Vec;
       |             ^^^^^^^^^^^^^

    warning: unused imports: `cmp`, `iter`, `mem`, `ops`
      --> tests/lexical.rs:31:19
       |
    31 |     pub use std::{cmp, iter, mem, ops};
       |                   ^^^  ^^^^  ^^^  ^^^
2023-10-24 23:35:42 -07:00
David Tolnay
39f5ad1534
Remove 'remember to update' reminder from Cargo.toml 2023-10-17 21:05:31 -07:00
David Tolnay
5bb696029d
Merge pull request #1075 from dimo414/master
Remove a few unnecessary lifetimes
2023-10-06 15:03:56 -04:00
Michael Diamond
9d86391170 Remove a few unnecessary lifetimes 2023-10-06 00:50:19 -07:00
David Tolnay
57d529b70f
Test docs.rs documentation build in CI 2023-09-24 10:53:44 -07:00
David Tolnay
b6e113f203
Release 1.0.107 v1.0.107 2023-09-13 16:53:39 -06:00
David Tolnay
00626a0a95
Merge pull request #1073 from dtolnay/rawvalue
IntoDeserializer for &RawValue
2023-09-13 16:53:18 -06:00
David Tolnay
b9d296f87d
IntoDeserializer for &RawValue 2023-09-13 16:47:17 -06:00
David Tolnay
4ea34a2566
Merge pull request #1072 from dtolnay/rawvalue
Support deserializing from &RawValue
2023-09-13 16:47:08 -06:00
David Tolnay
fe30766ae5
Support deserializing from &RawValue 2023-09-13 16:36:30 -06:00
David Tolnay
2c22077f0e
Merge pull request #1062 from osiewicz/remove_build_rs
Simplify/remove build.rs following the bump to 2021 edition
2023-09-11 16:23:52 -07:00
Piotr Osiewicz
04f7758b6e fixup! chore: Remove no_btreemap_get_key_value and no_btreemap_remove_entry. 2023-09-11 11:23:47 +02:00
Piotr Osiewicz
83bdc5fd42
Omit return keyword in remove_entry
Co-authored-by: David Tolnay <dtolnay@gmail.com>
2023-09-11 11:21:00 +02:00
Piotr Osiewicz
89a2741956 Revert "Remove limb_width32 and limb_width64 features"
This reverts commit c754f0344b61bf20fe76c205fd8d7a3d46138a96.
2023-09-11 11:19:34 +02:00
David Tolnay
45f10ec816
Release 1.0.106 v1.0.106 2023-09-09 12:19:41 -07:00
David Tolnay
f346308cda
Elaborate on documentation of Number::as_str 2023-09-09 12:19:07 -07:00
David Tolnay
f16cad635d
Add cfg banner to documentation of Number::as_str 2023-09-09 12:15:56 -07:00
David Tolnay
fc8dd13aa2
Touch up PR 1067 2023-09-09 12:15:00 -07:00
David Tolnay
028b643930
Merge pull request #1067 from chanced/add-as_str-to-number
adds `as_str` to `Number` if `arbitrary_precision` is enabled
2023-09-09 12:13:39 -07:00
David Tolnay
db75c22990
Fix unintended u8 link inferred by intra doc link 2023-09-09 12:07:12 -07:00
David Tolnay
11b603cf07
Resolve rustdoc::redundant_explicit_links lint
warning: redundant explicit link target
       --> src/lib.rs:59:20
        |
    59  | //! [`from_slice`][from_slice] for parsing from a byte slice &[u8] and
        |      ------------  ^^^^^^^^^^ explicit target is redundant
        |      |
        |      because label contains path that resolves to same destination
        |
    note: referenced explicit link target defined here
       --> src/lib.rs:295:19
        |
    295 | //! [from_slice]: crate:🇩🇪:from_slice
        |                   ^^^^^^^^^^^^^^^^^^^^^
        = note: when a link's destination is not specified,
                the label is used to resolve intra-doc links
        = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
    help: remove explicit link target
        |
    59  | //! [`from_slice`] for parsing from a byte slice &[u8] and
        |     ~~~~~~~~~~~~~~

    warning: redundant explicit link target
       --> src/lib.rs:60:21
        |
    60  | //! [`from_reader`][from_reader] for parsing from any `io::Read` like a File or
        |      -------------  ^^^^^^^^^^^ explicit target is redundant
        |      |
        |      because label contains path that resolves to same destination
        |
    note: referenced explicit link target defined here
       --> src/lib.rs:296:20
        |
    296 | //! [from_reader]: crate:🇩🇪:from_reader
        |                    ^^^^^^^^^^^^^^^^^^^^^^
        = note: when a link's destination is not specified,
                the label is used to resolve intra-doc links
    help: remove explicit link target
        |
    60  | //! [`from_reader`] for parsing from any `io::Read` like a File or
        |     ~~~~~~~~~~~~~~~
2023-09-09 12:05:53 -07:00
David Tolnay
95c5d6c8be
Fix documentation typo from PR 1069 2023-09-09 12:04:49 -07:00
David Tolnay
5a39516161
Reorder Value::as_number after is_number
The other as_* methods all come after the corresponding is_* method.
2023-09-09 12:02:31 -07:00
David Tolnay
6a5fef9190
Wrap as_number documentation to 80 columns 2023-09-09 12:02:13 -07:00
David Tolnay
de39b2a1aa
Delete trailing whitespace from PR 1069 2023-09-09 12:01:48 -07:00
David Tolnay
c308779197
Merge pull request 1069 from chanced/add-as_number-to-value 2023-09-09 12:01:15 -07:00
Chance
cf433e9efd removes unwrap from assertions in Value::as_number 2023-09-07 15:19:09 -04:00
Chance
2cd5d59cd1 minor cleanup of documentation for Value::as_number 2023-09-07 15:16:22 -04:00
Chance
b438004775 adds as_number to Value 2023-09-07 15:04:28 -04:00
Chance
1786de244f removes println! from example 2023-09-07 13:22:21 -04:00
Chance
029fda06fa improves Number::as_str doc example 2023-09-07 13:21:51 -04:00
Chance
99bc2df40b adds missing cfg attr to as_str 2023-09-06 15:13:42 -04:00
Chance
4cc9ea77ab adds as_str to Number if arbitrary_precision is enabled 2023-09-06 15:03:40 -04:00
David Tolnay
6525ffa364
Update actions/checkout@v3 -> v4 2023-09-04 22:35:02 -07:00
Piotr Osiewicz
16e04ceedd fixup! Remove limb_width32 and limb_width64 features 2023-09-03 23:17:27 +02:00
Piotr Osiewicz
c754f0344b Remove limb_width32 and limb_width64 features
Moved dispatch directly into the type system.
2023-09-03 22:55:58 +02:00
Piotr Osiewicz
716cb8fb30 chore: Remove no_btreemap_get_key_value and no_btreemap_remove_entry. 2023-09-03 22:55:58 +02:00
Piotr Osiewicz
d0c979aaf1 chore: Remove no_btreemap_retain feature from build.rs 2023-09-03 22:55:57 +02:00
David Tolnay
0daacdd52e
Release 1.0.105 v1.0.105 2023-08-15 15:05:28 -07:00
David Tolnay
59d9f969e8
Merge pull request #1055 from dtolnay/boolkey
Support bool in map keys
2023-08-15 15:04:48 -07:00
David Tolnay
9b69f16813
Delete test_serialize_rejects_bool_keys 2023-08-15 14:58:56 -07:00