Add more removal methods to OccupiedEntry (#1179, thanks @GREsau)
1.0.126
Improve string parsing on targets that use 32-bit pointers but also have fast 64-bit integer arithmetic, such as aarch64-unknown-linux-gnu_ilp32 and x86_64-unknown-linux-gnux32 (#1182, thanks @CryZe)
ed51c4b(terminal) Add ratatui::init() and restore() methods by @joshka in #1289
These are simple opinionated methods for creating a terminal that is
useful to use in most apps. The new init method creates a crossterm
backend writing to stdout, enables raw mode, enters the alternate
screen, and sets a panic handler that restores the terminal on panic.
A minimal hello world now looks a bit like:
use ratatui::{
crossterm::event::{self, Event},
text::Text,
Frame,
};
fn main() {
let mut terminal = ratatui::init();
loop {
terminal
.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
.expect("Failed to draw");
if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
break;
}
}
ratatui::restore();
}
A type alias DefaultTerminal is added to represent this terminal
type and to simplify any cases where applications need to pass this
terminal around. It is equivalent to:
Terminal<CrosstermBackend<Stdout>>
We also added ratatui::try_init() and try_restore(), for situations
where you might want to handle initialization errors yourself instead
of letting the panic handler fire and cleanup. Simple Apps should
prefer the init and restore functions over these functions.
Corresponding functions to allow passing a TerminalOptions with
a Viewport (e.g. inline, fixed) are also available
(init_with_options,
and try_init_with_options).
ed51c4b(terminal) Add ratatui::init() and restore() methods by @joshka in #1289
These are simple opinionated methods for creating a terminal that is
useful to use in most apps. The new init method creates a crossterm
backend writing to stdout, enables raw mode, enters the alternate
screen, and sets a panic handler that restores the terminal on panic.
A minimal hello world now looks a bit like:
use ratatui::{
crossterm::event::{self, Event},
text::Text,
Frame,
};
fn main() {
let mut terminal = ratatui::init();
loop {
terminal
.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
.expect("Failed to draw");
if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
break;
}
}
ratatui::restore();
}
A type alias DefaultTerminal is added to represent this terminal
type and to simplify any cases where applications need to pass this
terminal around. It is equivalent to:
Terminal<CrosstermBackend<Stdout>>
We also added ratatui::try_init() and try_restore(), for situations
where you might want to handle initialization errors yourself instead
of letting the panic handler fire and cleanup. Simple Apps should
prefer the init and restore functions over these functions.
Corresponding functions to allow passing a TerminalOptions with
a Viewport (e.g. inline, fixed) are also available
(init_with_options,
and try_init_with_options).
The existing code to create a backend and terminal will remain and
... (truncated)
Commits
3a90e2a chore(release): prepare for 0.28.1 (#1343)
Added support for the loop_controls feature which adds
{% break %} and {% continue %}. #558
Iterables can now be indexed into. It was already possible previously
to slice them. This improves support for Jinja2 compatibility as Jinja2
is more likely to create temporary lists when slicing lists. #565
Install minijinja-cli 2.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/2.2.0/minijinja-cli-installer.sh | sh
Added support for the loop_controls feature which adds
{% break %} and {% continue %}. #558
Iterables can now be indexed into. It was already possible previously
to slice them. This improves support for Jinja2 compatibility as Jinja2
is more likely to create temporary lists when slicing lists. #565
Added support for the loop_controls feature which adds
{% break %} and {% continue %}. #558
Iterables can now be indexed into. It was already possible previously
to slice them. This improves support for Jinja2 compatibility as Jinja2
is more likely to create temporary lists when slicing lists. #565
Install minijinja-cli 2.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/2.2.0/minijinja-cli-installer.sh | sh
Added support for the loop_controls feature which adds
{% break %} and {% continue %}. #558
Iterables can now be indexed into. It was already possible previously
to slice them. This improves support for Jinja2 compatibility as Jinja2
is more likely to create temporary lists when slicing lists. #565
Added opts functions to control server timeouts (get_server_connect_timeout_in_milliseconds, set_server_connect_timeout_in_milliseconds, get_server_timeout_in_milliseconds, set_server_timeout_in_milliseconds), and add ErrorCode::Timeout.
#1052
Bumps the all group with 13 updates in the / directory:
1.39.3
1.40.0
0.5.2
0.5.3
1.0.208
1.0.209
1.0.125
1.0.127
0.9.0
0.10.0
0.21.0
0.24.0
0.26.3
0.28.1
0.27.0
0.28.1
0.1.81
0.1.82
2.1.2
2.2.0
0.2.157
0.2.158
0.2.6
0.2.7
0.18.3
0.19.0
Updates
tokio
from 1.39.3 to 1.40.0Release notes
Sourced from tokio's releases.
Commits
ea6d652
chore: prepare Tokio v1.40.0 (#6806)11f66f4
chore: replaceready!
withstd::task::ready!
(#6804)479a56a
time: eliminate timer wheel allocations (#6779)b37f0de
runtime: implement initial set of task hooks (#6742)c9fad08
codec: fix typo in the docs forEncoder::Error
(#6800)cc70a21
task: addjoin_all
method toJoinSet
(#6784)1ac8dff
task: addAbortOnDropHandle
type (#6786)ff3f2a8
io: addSimplexStream
(#6589)5b9a290
io: clarify zero remaining capacity case (#6790)70569bd
task: fix typo inTaskTracker
docs (#6792)Updates
ordermap
from 0.5.2 to 0.5.3Changelog
Sourced from ordermap's changelog.
Commits
9aa2c9a
Merge pull request #4 from cuviper/syncdf53000
Release 0.5.31009781
Add doc examples forinsert_before
andshift_insert
1112578
Useinsert_before
for "new" entries ininsert_sorted
8038705
Addinsert_before
as an alternate toshift_insert
bf0eac1
Document index bounds inshift_insert
73c621a
Add doc aliases likeBTreeMap
/BTreeSet
18c4410
Addfirst_entry
andlast_entry
similar toBTreeMap
7581c5d
ImplementFrom
betweenIndexedEntry
andOccupiedEntry
7e696d6
Move theMutableEntryKey::key_mut
doc to the traitUpdates
serde
from 1.0.208 to 1.0.209Release notes
Sourced from serde's releases.
Commits
30752ac
Release 1.0.209b84e6ca
Improve wording of PR 2805 comments87a2fb0
Wrap comments from PR 2805 to 80 columns9eaf7b9
Merge pull request #2805 from Mingun/untagged-tests7bde100
Replace MapRefDeserializer with value::MapDeserializerda7fc79
Fix deserialization of empty struct variant in untagged enums4c5fec1
Test special cases that reaches SeqRefDeserializer::deserialize_any len==0 co...6588b0a
Cover Content::Seq case in VariantRefDeserializer::struct_variant0093f74
Split test newtype_enum into four tests for each variant171c6da
Complete coverage of ContentRefDeserializer::deserialize_newtype_structUpdates
serde_json
from 1.0.125 to 1.0.127Release notes
Sourced from serde_json's releases.
Commits
5ebf65c
Release 1.0.127f287a3b
Merge pull request 1179 from GREsau/patch-1ec980b0
Release 1.0.126e6282b0
Merge pull request #1184 from serde-rs/fastarithmeticffc4a43
Improve cfg names for fast arithmetic4b1048d
Merge pull request #1183 from serde-rs/arithmeticf268173
Unify chunk size choice between float and string parsingfec0376
Merge pull request #1182 from CryZe/chunk-64bit3d837e1
Ensure the SWAR chunks are 64-bit in more cases11fc61c
AddOccupiedEntry::shift_remove()
andswap_remove()
Updates
testcontainers-modules
from 0.9.0 to 0.10.0Release notes
Sourced from testcontainers-modules's releases.
Changelog
Sourced from testcontainers-modules's changelog.
Commits
480d5ed
chore: release v0.10.0 (#204)cd740ed
feat!: updatetestcontainers
to 0.22.0 (#203)a7fd7d0
docs: documents the neo4j plugins (#194)804139b
docs: addpub mod
docs (#193)afe100c
docs: complete the*_PORT
documentation (#195)72fd4f6
docs: complete the documentation for the meilisearch module (#192)31a5a8e
feat: add support forapache\kafka
docker image (#178)ab0cdbd
docs: fixed a bit of missing docs in the openldap module (#191)2facbec
refactor!: changedKAFKA_PORT
to aContainerPort
(#185)377f162
docs: fixed rustfmt violation in theopenldap
module (#189)Updates
tungstenite
from 0.21.0 to 0.24.0Changelog
Sourced from tungstenite's changelog.
Commits
00c00d4
Prepare 0.24.0 release4f9c5cb
Flush stream on final handshake stage (#431)1617041
style: simplify string formatting (#435)7829e0e
Update GitHub workflow to use rustc 1.635e970b4
Raise MSRV and update the CHANGELOGfb83cd1
Fix behavior when connecting wss url without TLS support (#437)bef231d
Prepare 0.23.0 release2ebcc1f
Update CHANGELOG0e25483
Set default-features = false for rustls (#427)9d12773
Update CHANGELOGUpdates
ratatui
from 0.26.3 to 0.28.1Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
3a90e2a
chore(release): prepare for 0.28.1 (#1343)65da535
chore(ci): update release strategy (#1337)9ed85fd
docs(table): fix incorrect backticks inTableState
docs (#1342)aed60b9
fix(terminal): Terminal::insert_before would crash when called while the view...3631b34
docs(examples): add widget implementation example (#1147)0d5f3c0
test: Avoid unneeded allocations in assertions (#1335)ed51c4b
feat(terminal): Add ratatui::init() and restore() methods (#1289)23516bc
chore: rename ratatui-org to ratatui (#1334)6d1bd99
docs: minor grammar fixes (#1330)2fb0b8a
fix: fix u16 overflow in Terminal::insert_before. (#1323)Updates
crossterm
from 0.27.0 to 0.28.1Release notes
Sourced from crossterm's releases.
Changelog
Sourced from crossterm's changelog.
... (truncated)
Commits
Updates
async-trait
from 0.1.81 to 0.1.82Release notes
Sourced from async-trait's releases.
Commits
f8e5bb4
Release 0.1.828fbf118
Merge pull request #276 from dtolnay/elidednamed6fa246a
Ignore nightly's new elided_named_lifetimes lint in generated coded542a0d
Upload CI Cargo.lock for reproducing failures8828c35
Sort dependency features in Cargo.tomlba9793a
Update ui test suite to nightly-2024-08-1182c62cd
Update ui test suite to nightly-2024-07-25370ee12
Update ui test suite to nightly-2024-07-20Updates
minijinja-contrib
from 2.1.2 to 2.2.0Release notes
Sourced from minijinja-contrib's releases.
Changelog
Sourced from minijinja-contrib's changelog.
Commits
b327a8c
2.2.0dfbd604
Add two inline markers5446f88
Add support for indexing into iterables (#565)3559330
example: nit (#563)080304a
Convert PendingBlock to named structs (#559)dff9f46
Add support for break and continue (#558)f8b5562
Added filesizeformat filter (#556)b1df40e
Added changelog entry76520fb
Implement IntoDeserializer for Value (#555)69ef7e5
Fix a bug with deserializating enums (#554)Updates
minijinja
from 2.1.2 to 2.2.0Release notes
Sourced from minijinja's releases.
Changelog
Sourced from minijinja's changelog.
Commits
b327a8c
2.2.0dfbd604
Add two inline markers5446f88
Add support for indexing into iterables (#565)3559330
example: nit (#563)080304a
Convert PendingBlock to named structs (#559)dff9f46
Add support for break and continue (#558)f8b5562
Added filesizeformat filter (#556)b1df40e
Added changelog entry76520fb
Implement IntoDeserializer for Value (#555)69ef7e5
Fix a bug with deserializating enums (#554)Updates
libc
from 0.2.157 to 0.2.158Release notes
Sourced from libc's releases.
Changelog
Sourced from libc's changelog.
Commits
c809c58
Merge pull request #3857 from rust-lang/release-plz-2024-08-19T05-21-04Z0d28de5
Update CHANGELOG.md284bd9e
chore: release2682681
Merge pull request #3856 from tgross35/backport-wasi-fix71440ab
[wasi] Add use core::iter::Iterator;Updates
filenamegen
from 0.2.6 to 0.2.7Commits
Updates
git2
from 0.18.3 to 0.19.0Changelog
Sourced from git2's changelog.
Commits
9a5c970
Merge pull request #1059 from ehuss/bump-versionsdb3a3ce
Bump versions for 1.8.1b318ea3
Looks like these dependencies are updatable in another way, so this is no longer needed.