[READ-ONLY] Mirror of https://github.com/probablykasper/csv-pipeline.
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix doctests

Kasper (Jan 11, 2023, 2:17 PM +0100) b51c28ba 9e748fbb

+23 -2
+21
README.md
··· 6 6 7 7 [![Crates.io](https://img.shields.io/crates/v/csv-pipeline.svg)](https://crates.io/crates/csv-pipeline) 8 8 [![Documentation](https://docs.rs/csv-pipeline/badge.svg)](https://docs.rs/csv-pipeline) 9 + 10 + 11 + ## Dev Instructions 12 + 13 + ### Get started 14 + 15 + Install [Rust](https://www.rust-lang.org). 16 + 17 + Run tests: 18 + ``` 19 + cargo test 20 + ``` 21 + 22 + ### Releasing a new version 23 + 24 + 1. Update `CHANGELOG.md` 25 + 2. Bump the version number in `Cargo.toml` 26 + 3. Run `cargo test` 27 + 4. Create a git tag in format `v#.#.#` 28 + 5. Add release notes to the generated GitHub release and publish it 29 + 6. Run `cargo publish`
+1 -1
src/lib.rs
··· 63 63 64 64 assert_eq!( 65 65 csv_str, 66 - "Person,Score\n\ 66 + "Person,Total score\n\ 67 67 A,9\n\ 68 68 B,7\n" 69 69 );
+1 -1
src/pipeline.rs
··· 51 51 /// Pipeline::from_path("test/AB.csv") 52 52 /// .unwrap() 53 53 /// .add_col("C", |headers, row| { 54 - /// Ok("1") 54 + /// Ok("1".to_string()) 55 55 /// }); 56 56 /// ``` 57 57 pub fn add_col<F>(mut self, name: &str, get_value: F) -> Self