Update Rust crate tabled to 0.20 #25
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.15
->0.20
Release Notes
zhiburt/tabled (tabled)
v0.20.0
Added
Table::nohead
function just likeTable::new
but with no header.Table::with_capacity
function just likeTable::new
but with an exact number of rows.Changed
with(Border)
logic to set only outer border instead of border of all cells.tabled::grid::dimension::*
modules.Wrap::text
andTruncate::text
.Text::new
.Columns::single
intoColumns::one
.Rows::single
intoRows::one
.fnv
fromahash
cause of WASM build.Wrap::keep_words
logic where we preserving all content.Fixed
testing_table
inclusion (by @klensy).WASM
build (by @cptpiepmatz).TableOption::hint
.v0.19.0
Added
tabled::assert
module.#[tabled(map)]
macro.derive::display::bool
function.derive::display::wrap
andderive::display::truncate
function.Locator::value
.Table::get_dimension
function.ANSI
link handling inWidth::truncate
.Upper Title Case
andlower title case
options forrename_all
.no_std
intesting_table
.Changed
Reverse
interface.Position
interface.tabled::grid::dimension
structures.IterTable
interface.ron
to0.10
.ColumnNames::default()
intoColumnsNames::head()
.BorderSpanCorrection
intoBorderCorrection::span()
.Offset::Begin
intoOffset::Start
.Offset
out oftabled
intopapergrid
.Fixed
no_std
build (in actuallno_std
env).LineText<LastColumn>
.v0.18.0
Added
#[tabled(display(Type, "function", arg1, arg2))]
- a derive helper (propoused by @georgewhewell).Table::kv
- a new type of table layout.Span
logic with negative and 0 spans.LineText::align
to stick text on border to specific location.LayoutIterator
to navigateTable::kv
easier.Tabled
implementation forOption<T>
.Changed
#[tabled(display_with)]
into#[tabled(display)]
.Fixed
clippy
issues (by @joshtriplett).v0.17.0
Added
Color::rgb_fg
,Color::rgb_bg
(by @k86td)ObjectIterator
: so things likeRows::new(1..10).step_by(2)
be possible.Rows::last() + 100
andColumns::last() + 100
add operation.left|right
specifiers toPriorityMax
andPriorityMin
.Priority
factory to create different priorities. Basically a more convinient way.testing_table::assert_table
.Builder::from(HashMap::new())
implementation.CleanCharset::clean("")
function for cases where we build a table byBuilder
.v0.16.0
Added
#[tabled(crate = "")]
attribute.#[tabled(format = "", format(""))]
attribute.#[tabled(display_with(""))]
Settings
does.PriorityRight
andPriorityLeft
priorities.Layout
/Reverse
/MarginColor
/PaddingColor
.ExtendedTable
(by @brianheineman)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.