20 releases (breaking)

new 0.15.0 Nov 24, 2024
0.13.0 Aug 22, 2024
0.11.3 Jul 23, 2024
0.11.0 Mar 14, 2024
0.2.0 Jul 22, 2023

#652 in Algorithms

Download history 73479/week @ 2024-08-04 73043/week @ 2024-08-11 71970/week @ 2024-08-18 69881/week @ 2024-08-25 77423/week @ 2024-09-01 81156/week @ 2024-09-08 72419/week @ 2024-09-15 73880/week @ 2024-09-22 78267/week @ 2024-09-29 77096/week @ 2024-10-06 82075/week @ 2024-10-13 78800/week @ 2024-10-20 78654/week @ 2024-10-27 82987/week @ 2024-11-03 88399/week @ 2024-11-10 85625/week @ 2024-11-17

342,859 downloads per month
Used in 45 crates (7 directly)

MIT/Apache

600KB
12K SLoC

A library for implementing everything needed to deal with git filter pipelines.

Generally, multiple filters are applied in a row forming a pipeline, with each filter being a stage in that pipeline. This pipeline is pre-determined with each stage being configurable.

The transformation on an input buffer goes in two ways: either a filter is applied, or its effects are undone. Differentiating between these states is important to avoid comparing unfiltered buffers with filtered ones, for example.

This crate implements the building blocks in terms of applying and undoing filters, along with logic to decide whether or not to apply such a filter.

Dependencies

~11–19MB
~319K SLoC