//! Scoring constants.
/// Per-character penalty for unmatched characters **before** the first match.
pub const SCORE_GAP_LEADING: f64 = -0.005;
/// Per-character penalty for unmatched characters **after** the last match.
pub const SCORE_GAP_TRAILING: f64 = -0.005;
/// Per-character penalty for unmatched characters **between** two matches.
pub const SCORE_GAP_INNER: f64 = -0.01;
/// Bonus for a match that immediately follows the previous match.
pub const SCORE_MATCH_CONSECUTIVE: f64 = 1.0;
/// Bonus for a match on a character immediately after `/`.
pub const SCORE_MATCH_SLASH: f64 = 0.9;
/// Bonus for a match on a character that starts a word
/// (preceded by `-`, `_`, or ` `).
pub const SCORE_MATCH_WORD: f64 = 0.8;
/// Bonus for a match on a lowercase letter that follows an uppercase letter
/// (CamelCase boundary).
pub const SCORE_MATCH_CAPITAL: f64 = 0.7;
/// Bonus for a match on a character immediately after `.`.
pub const SCORE_MATCH_DOT: f64 = 0.6;