view rust/hg-core/src/config.rs @ 49634:ec399ddf6764

rust: use `matches!` macro now that we're using Rust 1.42+
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 14 Nov 2022 15:34:51 +0100
parents 467d9df98c68
children
line wrap: on
line source

// config.rs
//
// Copyright 2020
//      Valentin Gatien-Baron,
//      Raphaël Gomès <rgomes@octobus.net>
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.

//! Mercurial config parsing and interfaces.

mod config;
mod layer;
mod plain_info;
mod values;
pub use config::{Config, ConfigSource, ConfigValueParseError};
pub use layer::{ConfigError, ConfigOrigin, ConfigParseError};
pub use plain_info::PlainInfo;