2 releases
0.1.1 | Jan 3, 2024 |
---|---|
0.1.0 | Jan 3, 2024 |
#1154 in Data structures
4,214 downloads per month
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