This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨
This adds `FromIterator` impls for `Line` and `Text` that allow creating
`Line` and `Text` instances from iterators of `Span` and `Line`
instances, respectively.
let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
let line: Line = iter::once("Hello".blue())
.chain(iter::once(" world!".green()))
.collect();
let text = Text::from_iter(vec!["The first line", "The second line"]);
let text: Text = iter::once("The first line")
.chain(iter::once("The second line"))
.collect();
Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨
This adds `FromIterator` impls for `Line` and `Text` that allow creating
`Line` and `Text` instances from iterators of `Span` and `Line`
instances, respectively.
let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
let line: Line = iter::once("Hello".blue())
.chain(iter::once(" world!".green()))
.collect();
let text = Text::from_iter(vec!["The first line", "The second line"]);
let text: Text = iter::once("The first line")
.chain(iter::once("The second line"))
.collect();
Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the deps group with 6 updates:
1.0.81
1.0.82
0.4.37
0.4.38
0.10.0
0.11.1
0.39.0
0.40.0
1.0.197
1.0.200
0.26.1
0.26.2
Updates
anyhow
from 1.0.81 to 1.0.82Release notes
Sourced from anyhow's releases.
Commits
074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensurec5af1db
Make ensure's doc comment apply to the cfg(not(doc)) macro toobebc7a2
Revert "Temporarily disable miri on doctests"f2c4db9
Update ui test suite to nightly-2024-03-31028cbee
Explicitly install a Rust toolchain for cargo-outdated job7a4cac5
Merge pull request #358 from dtolnay/workspacewrapper939db01
Apply RUSTC_WORKSPACE_WRAPPER9f84a37
Temporarily disable miri on doctests45e5a58
Ignore dead code lint in testUpdates
chrono
from 0.4.37 to 0.4.38Release notes
Sourced from chrono's releases.
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
lade-sdk
from 0.10.0 to 0.11.1Updates
self_update
from 0.39.0 to 0.40.0Changelog
Sourced from self_update's changelog.
Commits
Updates
serde
from 1.0.197 to 1.0.200Release notes
Sourced from serde's releases.
Commits
cc865ac
Release 1.0.2002d973c1
Merge pull request #2733 from jamessan/nan-decimal6ca499b
Only format Unexpected::Float with decimal point if it is finite1477028
Release 1.0.199789740b
Merge pull request #2732 from aatifsyed/master8fe7539
fix: ambiguous associated type in forward_to_deserialize_any!f6623a3
Ignore cast_precision_loss pedantic clippy lintc4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroUpdates
ratatui
from 0.26.1 to 0.26.2Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
363c4c5
chore(release): prepare for 0.26.2 (#1029)b7778e5
fix(paragraph): unit test typo (#1022)b5061c5
chore(deps): update stability requirement from 0.1.1 to 0.2.0 (#1021)359204c
refactor: simplify to io::Result (#1016)14461c3
docs(breaking-changes): typos and markdownlint (#1009)3b002fd
docs: update incompatible code warning in examples readme (#1013)0207160
fix(line): line truncation respects alignment (#987)26af650
feat(text): add push methods for text and line (#998)07da90a
chore(funding): add eth address for receiving funds from drips.network (#994)125ee92
chore(docs): fix typos in crate documentation (#1002)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show