Skip to content

Commit 851ccf7

Browse files
almusilJoshua Nelson
authored and
Joshua Nelson
committed
features: Document the new optional_dependency field
1 parent 1d240bb commit 851ccf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/db/types.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use serde::Serialize;
66
pub struct Feature {
77
pub(crate) name: String,
88
pub(crate) subfeatures: Vec<String>,
9+
/// [`None`] when this crate was built before optional dependencies were tracked
910
pub(crate) optional_dependency: Option<bool>,
1011
}
1112

0 commit comments

Comments
 (0)