Commit Graph

306 Commits

Author SHA1 Message Date
openharmony_ci 843744a645 !3 告警与遗留问题文件补充
Merge pull request !3 from peizhe/master
2023-05-09 11:13:40 +00:00
peizhe c56baf1536 告警与遗留问题文件补充
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-08 19:10:04 +08:00
openharmony_ci 30d5b1c4f9 !2 CI OAT 告警清零与README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
2023-05-04 06:59:12 +00:00
peizhe 564b348931 CI OAT 告警清零与README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-04-28 14:34:53 +08:00
openharmony_ci 9fc907de3d !1 [ryu]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:40 +00:00
peizhe 049cc4fa71 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 16:49:28 +08:00
David Tolnay eecb55bab5 Release 1.0.13 github.com/dtolnay/ryu/refs/tags/1.0.13 2023-03-03 15:23:54 -08:00
David Tolnay c90bef47b9 Enable type layout randomization in CI on nightly 2023-02-19 09:21:58 -08:00
David Tolnay 4a639e99dd Support a manual trigger on CI workflow 2023-02-18 17:23:56 -08:00
David Tolnay 449074192d Prevent actions duplication on noop merge commits 2023-02-01 17:55:24 -08:00
David Tolnay 71a935005d Speed up cargo fuzz CI job
https://github.com/rust-fuzz/cargo-fuzz/pull/317
2023-01-19 17:28:30 -08:00
David Tolnay da29cf86d5 Opt out -Zrustdoc-scrape-examples on docs.rs
I'd like a chance to audit all the code that rustdoc is inserting into
the docs. Currently I am skeptical that showing ryu's internal usages
of APIs is a net benefit to the public documentation. I am also
skeptical that quite so many examples are needed, and that they should
be featured so prominently in comparison to handwritten docs. Lastly I
wish there were a way to turn this behavior off on a more granular
basis.
2023-01-02 21:44:33 -08:00
David Tolnay e742096a63 Sync license text with rust-lang repos 2022-12-30 12:00:50 -08:00
David Tolnay b135337638 Release 1.0.12 2022-12-17 11:43:57 -08:00
David Tolnay d8c66244c8 Update build status badge 2022-12-15 17:52:42 -08:00
David Tolnay 707ba583d5 Time out workflows after 45 minutes
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
2022-11-25 03:51:41 -08:00
David Tolnay a953e5c02d Add a funding file 2022-11-25 03:44:02 -08:00
David Tolnay 1ef96abfd3 Resolve unnecessary_cast clippy lint
error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:46:17
       |
    46 |         let c = (output - 10_000 * (output / 10_000)) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(output - 10_000 * (output / 10_000))`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
       = note: `-D clippy::unnecessary-cast` implied by `-D clippy::all`

    error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:63:17
       |
    63 |         let c = ((output % 100) << 1) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((output % 100) << 1)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
      --> src/pretty/mantissa.rs:73:17
       |
    73 |         let c = (output << 1) as u32;
       |                 ^^^^^^^^^^^^^^^^^^^^ help: try: `(output << 1)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
       --> src/pretty/mod.rs:164:9
        |
    164 |         ((bits >> FLOAT_MANTISSA_BITS) & ((1u32 << FLOAT_EXPONENT_BITS) - 1)) as u32;
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `((bits >> FLOAT_MANTISSA_BITS) & ((1u32 << FLOAT_EXPONENT_BITS) - 1))`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

    error: casting to the same type is unnecessary (`u32` -> `u32`)
       --> src/s2f.rs:223:68
        |
    223 |     let ieee = ((((signed_m as u32) << f2s::FLOAT_EXPONENT_BITS) | ieee_e2 as u32)
        |                                                                    ^^^^^^^^^^^^^^ help: try: `ieee_e2`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
        = note: `-D clippy::unnecessary-cast` implied by `-D clippy::all`
2022-10-07 22:15:19 -07:00
David Tolnay 14d3467cc7 Remove default package.readme metadata from Cargo.toml
Since cargo 1.46.0, README.md is recognized by default.
2022-09-14 09:16:00 -07:00
David Tolnay 117bd27ae9 GitHub Workflows security hardening 2022-09-02 15:09:31 -07:00
David Tolnay 29bc62726a Release 1.0.11 2022-08-02 18:19:53 -07:00
David Tolnay 8d3f390163 Update keywords in crates.io metadata 2022-08-02 10:38:56 -07:00
David Tolnay 3d9633ea8f Add no-std category to crates.io metadata 2022-08-01 00:14:11 -07:00
David Tolnay 82ae077f9e Add authors to Cargo.toml 2022-07-31 19:25:46 -07:00
David Tolnay 1e10defa82 Sort package entries in Cargo.toml 2022-07-31 19:19:05 -07:00
David Tolnay 90d7cff380 Use upstreamed docs.rs icon in docs.rs badge 2022-06-11 10:17:10 -07:00
David Tolnay ca8b0b35d6 Check for outdated deps in fuzz target 2022-06-06 17:03:42 -07:00
David Tolnay 48a3be96dd Check all crates in workspace for outdated deps 2022-06-06 14:39:24 -07:00
David Tolnay f8e64e2c45 Release 1.0.10 2022-05-15 14:30:30 -07:00
David Tolnay 647e8fe30e Add CI job to compile fuzz target 2022-05-15 14:29:05 -07:00
David Tolnay c99109f6c9 Assert formatted float parses back to the same value 2022-05-15 14:28:17 -07:00
David Tolnay 6238cd6a53 Assert size of string in fuzz target 2022-05-15 14:22:52 -07:00
David Tolnay da2c2709a4 Format a single float per fuzz call 2022-05-15 14:22:16 -07:00
David Tolnay d8536f36a4 Remove unneeded Clone impls from fuzz target 2022-05-15 14:18:32 -07:00
David Tolnay 6f1d4f992f Depend on arbitrary crate directly 2022-05-15 14:18:10 -07:00
David Tolnay c6a18a9ba6 Copy cargo-fuzz generated gitignore 2022-05-15 14:17:18 -07:00
David Tolnay a0f5c086b7 Touch up PR 45 manifest 2022-05-15 14:16:52 -07:00
David Tolnay 85928006e8 Fix crate name of fuzz target crate 2022-05-15 14:16:14 -07:00
David Tolnay f7c46393e0 Merge pull request #45 from adetaylor/fuzz
Add a fuzzer.
2022-05-15 14:13:39 -07:00
David Tolnay 78b54334c5 Run miri in stricter miri-strict-provenance mode 2022-05-06 04:01:34 -07:00
David Tolnay 136324f76f Drop unneeded quoting from env variable in workflows yaml 2022-04-28 19:29:11 -07:00
David Tolnay a51cf3d6bb Update workflows to actions/checkout@v3 2022-04-25 01:39:03 -07:00
David Tolnay 538c42d39c Pull miri from miri branch of dtolnay/rust-toolchain 2022-04-24 15:46:05 -07:00
Adrian Taylor ceab1f75de Add a fuzzer. 2022-03-04 13:53:32 -08:00
David Tolnay a7dc4acd32 Detect warnings in CI 2021-12-31 22:07:18 -08:00
David Tolnay c4be25da77 Change test suite atomic from SeqCst to Relaxed
These atomics are not synchronizing anything outside of their own value,
so we don't need the Acquire/Release guarantee that all memory
operations prior to the store are visible after the subsequent load, nor
the SeqCst guarantee of all threads seeing all of the sequentially
consistent operations in the same order.
2021-12-23 10:59:07 -08:00
David Tolnay 462eea2ce0 Run clippy on benches as well 2021-12-12 13:58:16 -08:00
David Tolnay fc7c3a4f83 Release 1.0.9 2021-12-12 12:50:38 -08:00
David Tolnay 3c7faa747e Add chart to readme and rustdoc 2021-12-12 12:49:01 -08:00
David Tolnay cf0e3169ae Merge pull request #44 from dtolnay/chart
Add latex performance chart
2021-12-12 12:48:55 -08:00