kconfig-linux 0.1.1

WIP crate for the KConfig DSL in the Linux kernel
Documentation
use crate::structure::atoms::KconfigReverseDependency;

#[derive(Debug, Clone)]
pub struct KconfigReverseDependenciesProperty {
    pub dependencies: Vec<KconfigReverseDependency>,
}

impl KconfigReverseDependenciesProperty {
    pub(crate) fn new_empty() -> Self {
        Self {
            dependencies: vec![],
        }
    }

    pub fn add_reverse_dependency(
        &mut self,
        dep: KconfigReverseDependency,
    ) {
        self.dependencies.push(dep);
    }
}