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.20Release Notes
zhiburt/tabled (tabled)
v0.20.0Added
Table::noheadfunction just likeTable::newbut with no header.Table::with_capacityfunction just likeTable::newbut 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::textandTruncate::text.Text::new.Columns::singleintoColumns::one.Rows::singleintoRows::one.fnvfromahashcause of WASM build.Wrap::keep_wordslogic where we preserving all content.Fixed
testing_tableinclusion (by @klensy).WASMbuild (by @cptpiepmatz).TableOption::hint.v0.19.0Added
tabled::assertmodule.#[tabled(map)]macro.derive::display::boolfunction.derive::display::wrapandderive::display::truncatefunction.Locator::value.Table::get_dimensionfunction.ANSIlink handling inWidth::truncate.Upper Title Caseandlower title caseoptions forrename_all.no_stdintesting_table.Changed
Reverseinterface.Positioninterface.tabled::grid::dimensionstructures.IterTableinterface.ronto0.10.ColumnNames::default()intoColumnsNames::head().BorderSpanCorrectionintoBorderCorrection::span().Offset::BeginintoOffset::Start.Offsetout oftabledintopapergrid.Fixed
no_stdbuild (in actuallno_stdenv).LineText<LastColumn>.v0.18.0Added
#[tabled(display(Type, "function", arg1, arg2))]- a derive helper (propoused by @georgewhewell).Table::kv- a new type of table layout.Spanlogic with negative and 0 spans.LineText::alignto stick text on border to specific location.LayoutIteratorto navigateTable::kveasier.Tabledimplementation forOption<T>.Changed
#[tabled(display_with)]into#[tabled(display)].Fixed
clippyissues (by @joshtriplett).v0.17.0Added
Color::rgb_fg,Color::rgb_bg(by @k86td)ObjectIterator: so things likeRows::new(1..10).step_by(2)be possible.Rows::last() + 100andColumns::last() + 100add operation.left|rightspecifiers toPriorityMaxandPriorityMin.Priorityfactory 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.0Added
#[tabled(crate = "")]attribute.#[tabled(format = "", format(""))]attribute.#[tabled(display_with(""))]Settingsdoes.PriorityRightandPriorityLeftpriorities.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.