resolvo 0.10.2

Fast package resolver written in Rust (CDCL based SAT solving)
Documentation
use crate::internal::id::{ClauseId, VariableId};

/// Represents an assignment to a variable
#[derive(Copy, Clone, Eq, PartialEq)]
pub(crate) struct Decision {
    pub(crate) variable: VariableId,
    pub(crate) value: bool,
    pub(crate) derived_from: ClauseId,
}

impl Decision {
    pub(crate) fn new(variable: VariableId, value: bool, derived_from: ClauseId) -> Self {
        Self {
            variable,
            value,
            derived_from,
        }
    }
}