-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also adds in a few API methods as well as deprecations. - `Options::buffer_size_const` - `build_checked` and `build_unchecked` to our `NumberFormatBuilder` API - Added `build_checked` to our `Options` API. - Added `has_digit_separator` to `NumberFormat`. - Re-export `NumberFormat` to our other crates. - Lowered the MSRV from 1.63.0 to 1.61.0 and adds support for most testing on 1.60.0 (this is not guaranteed). - Reduced the required buffer size for integer and float writers when using `buffer_size` and `buffer_size_const` for decimal numbers. - Deprecated `NumberFormatBuilder::build` due to a lack of validation. - Deprecated `Options::set_*` in our write float API since options should be considered immutable. - Removed `static_assertions` dependency. - Bug where the `radix` feature wasn't enabling `power-of-two` in `lexical-core` or `lexical`.
- Loading branch information
1 parent
c6c5052
commit a9677c3
Showing
85 changed files
with
12,484 additions
and
4,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Docs | ||
|
||
on: | ||
[workflow_dispatch] | ||
|
||
jobs: | ||
docs: | ||
name: Test Docs Combinations | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install latest nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo --version | ||
- run: python --version | ||
- run: cargo check | ||
- run: cargo build | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=format | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=radix | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=format,radix | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=write-integers,write-floats | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=parse-integers,parse-floats | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --all-features | ||
# validate all the generated docs.rs docs | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --features=format,radix | ||
- run: python scripts/docs.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.