braces 0.2.6

Convert path lists into compact brace expansion syntax
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod helpers;

use braces::BraceConfig;
use helpers::*;

#[test]
fn test_max_brace_size() {
    let config = BraceConfig {
        max_brace_size: Some(2),
        ..Default::default()
    };
    // Should split into multiple braces
    assert_braces(vec!["a/b", "a/c", "a/d"], "{a/{b,c},a/d}", &config);
}