Skip to content

terminput: add support for no_std#41

Merged
aschey merged 1 commit intoaschey:mainfrom
baloo:baloo/terminput/no_std
Jul 1, 2025
Merged

terminput: add support for no_std#41
aschey merged 1 commit intoaschey:mainfrom
baloo:baloo/terminput/no_std

Conversation

@baloo
Copy link
Contributor

@baloo baloo commented Jun 30, 2025

This adds support for no_std to terminput.

This is an opt-in feature (defaults continue to be std). This is intended to be used with ratatui on uefi (https://github.com/reubeno/tui-uefi) with stable builds.

@baloo baloo requested a review from aschey as a code owner June 30, 2025 10:13
Copy link
Owner

@aschey aschey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baloo looks like there are some more imports that need to be updated.

@baloo baloo force-pushed the baloo/terminput/no_std branch from 28323c4 to 16d5d2e Compare July 1, 2025 01:52
@baloo
Copy link
Contributor Author

baloo commented Jul 1, 2025

Ha my bad, I made those changes, and rolled them back before pushing thinking the std-feature would be enough, but didn't re-test them.

Sorry for that.

@codecov
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.98%. Comparing base (698a7cc) to head (c761d1c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   26.98%   26.98%           
=======================================
  Files           9        9           
  Lines        2616     2616           
  Branches     2616     2616           
=======================================
  Hits          706      706           
  Misses       1819     1819           
  Partials       91       91           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@baloo baloo force-pushed the baloo/terminput/no_std branch from 16d5d2e to c761d1c Compare July 1, 2025 07:28
Copy link
Owner

@aschey aschey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, thanks!

@aschey aschey merged commit f309625 into aschey:main Jul 1, 2025
7 checks passed
@aschey aschey mentioned this pull request Jul 1, 2025
aschey added a commit that referenced this pull request Jul 1, 2025
## 🤖 New release

* `terminput`: 0.5.0 -> 0.5.1 (✓ API compatible changes)
* `terminput-crossterm`: 0.3.0 -> 0.3.1
* `terminput-egui`: 0.2.0 -> 0.2.1
* `terminput-termion`: 0.2.0 -> 0.2.1
* `terminput-termwiz`: 0.3.0 -> 0.3.1

<details><summary><i><b>Changelog</b></i></summary><p>

## `terminput`

<blockquote>

##
[0.5.1](https://github.com/aschey/terminput/compare/terminput-v0.5.0..terminput-v0.5.1)
- 2025-07-01

### Documentation

- Document feature flags
([#43](#43)) -
([a12a415](a12a415))

### Terminput

- Add support for `no_std`
([#41](#41)) -
([f309625](f309625))
</blockquote>

## `terminput-crossterm`

<blockquote>

##
[0.3.1](https://github.com/aschey/terminput/compare/terminput-crossterm-v0.3.0..terminput-crossterm-v0.3.1)
- 2025-07-01

### Miscellaneous Tasks

- Updated the following local packages: terminput -
([0000000](0000000))
</blockquote>

## `terminput-egui`

<blockquote>

##
[0.2.1](https://github.com/aschey/terminput/compare/terminput-egui-v0.2.0..terminput-egui-v0.2.1)
- 2025-07-01

### Miscellaneous Tasks

- Updated the following local packages: terminput -
([0000000](0000000))
</blockquote>

## `terminput-termion`

<blockquote>

##
[0.2.1](https://github.com/aschey/terminput/compare/terminput-termion-v0.2.0..terminput-termion-v0.2.1)
- 2025-07-01

### Miscellaneous Tasks

- Updated the following local packages: terminput -
([0000000](0000000))
</blockquote>

## `terminput-termwiz`

<blockquote>

##
[0.3.1](https://github.com/aschey/terminput/compare/terminput-termwiz-v0.3.0..terminput-termwiz-v0.3.1)
- 2025-07-01

### Miscellaneous Tasks

- Updated the following local packages: terminput -
([0000000](0000000))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
@aschey
Copy link
Owner

aschey commented Jul 1, 2025

Released in 0.5.1

@baloo baloo deleted the baloo/terminput/no_std branch July 1, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants