New Features
-
add
topo::Builder::new
fn for creating a bare builder
Previously, the only way to create aBuilder
would be via
Builder::from_iters
. That fn takes as arguments both the tips and
ends, and used to be the only possibility for specifying either of them
during the building process. However, in order to enhance the builder-
likeness ofBuilder
, we recently introduced fnswith_tips
and
with_ends
for adding additional tips and ends.With those fns, the only component which needs to be supplied up-front
isfind
. Users can specify and emptyIterator
andNone
fortips
andends
respectively when callingBuilder::from_iters
and add
additional tips and ends at their leisure, without the need to chain
Iterator
s or collecting them in some external data structure.Now, calling
Builder::from_iters
with a empty lists for tips and ends
is a bit awkward. Thus, we provide a new method for creating a bare
Builder
. -
add
topo::Builder::with_tips
fn for adding tips after from_iters
Currently,Builder::from_iters
takes as arguments both the tips and
ends. Previously, this would be the only possibility for specifying
either of them during the building process. To enhance the
builder-likeness ofBuilder
, we recently introduced a fn for adding
additional ends.This change introduces a fn which allows adding additional tips after
initial construction of a "fresh"Builder
, allowing for more usage
patterns. -
add
topo::Builder::with_ends
for adding ends after from_iters
Currently,Builder::from_iters
takes as arguments both the tips and
ends, and it's the only possibility for specifying either of them during
the building process. Considering thatends
inBuilder::from_iters
is anOption
, this is not very builder-like and obstructs some
use-cases.This change introduces a fn which allows adding additional ends after
initial construction of a "fresh"Builder
.
Commit Statistics
- 10 commits contributed to the release over the course of 28 calendar days.
- 28 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Update changelogs prior to release (7ea8582)
- Merge pull request #1720 from neithernut/traverse-broaden-with-tips-ends (3e63721)
- Allow
topo::Builder::with_tips
andwith_ends
for non-default pred (d9426f4) - Merge pull request #1716 from neithernut/traverse-topo-builder-enhancements (67f20b1)
- Minor refactor (55eaf52)
- Impl topo::Builder::from_iters with new, with_tips and with_ends (29e3bbf)
- Add
topo::Builder::new
fn for creating a bare builder (59148a2) - Add
topo::Builder::with_tips
fn for adding tips after from_iters (a7a8d7c) - Add
topo::Builder::with_ends
for adding ends after from_iters (1c1d037) - Merge pull request #1701 from GitoxideLabs/release (e8b3b41)