Skip to content

feat(tui-bigtext): enable no_std as default#190

Merged
orhun merged 2 commits intomainfrom
feat/tui-bigtext-no-std
Feb 1, 2026
Merged

feat(tui-bigtext): enable no_std as default#190
orhun merged 2 commits intomainfrom
feat/tui-bigtext-no-std

Conversation

@orhun
Copy link
Member

@orhun orhun commented Jan 30, 2026

This enables using tui-bigtext in a no_std environment via disabling the default features.

e.g. ratatui/mousefood#159

/// ```
#[derive(Debug, Builder, Clone, PartialEq, Eq, Hash)]
#[builder(build_fn(skip))]
#[cfg_attr(not(feature = "std"), builder(no_std))]
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@j-g00da j-g00da left a comment

Choose a reason for hiding this comment

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

Let's skip the feature flag completely.

@orhun orhun force-pushed the feat/tui-bigtext-no-std branch from 115719f to 8f6b9a1 Compare February 1, 2026 10:10
@orhun orhun changed the title feat(tui-bigtext): add std feature flag feat(tui-bigtext): enable no_std as default Feb 1, 2026
@orhun orhun requested a review from j-g00da February 1, 2026 10:10
@orhun orhun force-pushed the feat/tui-bigtext-no-std branch from 8f6b9a1 to 3e851ff Compare February 1, 2026 10:15
@orhun orhun force-pushed the feat/tui-bigtext-no-std branch from 3e851ff to ecfadd4 Compare February 1, 2026 10:16
@orhun orhun merged commit 4b4b6c9 into main Feb 1, 2026
19 checks passed
@orhun orhun deleted the feat/tui-bigtext-no-std branch February 1, 2026 10:39
orhun pushed a commit that referenced this pull request Feb 1, 2026
## 🤖 New release

* `tui-big-text`: 0.8.1 -> 0.8.2 (✓ API compatible changes)

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

<blockquote>

## [0.8.2] - 2026-02-01

### 🚀 Features

- *(tui-bigtext)* Enable no_std as default
([#190](#190))
  > This enables using `tui-bigtext` in a no_std environment
  >
  > e.g. ratatui/mousefood#159

### ⚙️ Miscellaneous Tasks

- *(project)* Update the repository link
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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