shell-quote 0.7.0

A Rust library for shell-quoting strings, e.g. for interpolating into a Bash script.
Documentation
1
2
3
4
5
6
7
8
9
from itertools import combinations

if __name__ == '__main__':
    features = "bstr", "bash", "fish", "sh"
    for length in range(1, len(features) + 1):
        for combination in combinations(features, length):
            combo = ",".join(combination)
            print(f"cargo build --no-default-features --features {combo}")
            print(f"cargo test --no-fail-fast --no-default-features --features {combo}")