kconfig-linux 0.1.1

WIP crate for the KConfig DSL in the Linux kernel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::structure::atoms::kconfig_expression::KconfigExpression;

#[derive(Clone, Debug)]
pub struct KconfigDependency {
    pub expression: KconfigExpression,
}

impl KconfigDependency {
    pub fn from_source(expr: &str) -> Self {
        Self {
            expression: KconfigExpression::new(expr.to_string()),
        }
    }
}