2 releases

0.1.1 Jan 3, 2024
0.1.0 Jan 3, 2024

#1154 in Data structures

Download history 1987/week @ 2024-07-21 1615/week @ 2024-07-28 1851/week @ 2024-08-04 1362/week @ 2024-08-11 1362/week @ 2024-08-18 785/week @ 2024-08-25 1376/week @ 2024-09-01 1124/week @ 2024-09-08 795/week @ 2024-09-15 956/week @ 2024-09-22 306/week @ 2024-09-29 931/week @ 2024-10-06 804/week @ 2024-10-13 1002/week @ 2024-10-20 1363/week @ 2024-10-27 909/week @ 2024-11-03

4,214 downloads per month

MIT/Apache

14KB
294 lines

rs-tmpl

repo template for rust


lib.rs:

Tracks features provided/required by a library.

Example:

const PROVIDED: &[Action<Provide>] = &[
    add_provide(("foo", 0), "2012-02-21", (1, 2, 3)),
    add_provide(("foo", 1), "2012-02-22", (1, 2, 3)),
    add_provide(("bar", 1), "2012-03-21", (1, 2, 4)),
    del_provide(("foo", 0), "2012-04-21", (1, 2, 5)),
];

let fs = FeatureSet::from_provides(PROVIDED);
assert_eq!("bar:v1, foo:v1", fs.to_string());

Dependencies

~1.1–1.6MB
~26K SLoC