cnf_lib/
lib.rs

1// Copyright (C) 2023 Andreas Hartmann <hartan@7x.de>
2// GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#![doc = include_str!("../README.md")]
6pub mod environment;
7pub mod error;
8pub mod provider;
9#[cfg(any(test, doc))]
10pub mod test;
11pub mod util;
12
13// Quicker access to modules
14pub use environment as env;
15pub use provider as prov;
16
17pub use env::{Environment, Error as EnvironmentError, ExecutionError, IsEnvironment};
18pub use prov::{
19    search_in, Actions, Candidate, Error as ProviderError, IsProvider, Provider, Query,
20};
21pub use util::CommandLine;
22
23pub mod prelude {
24    pub use super::{
25        search_in, CommandLine, Environment, EnvironmentError, IsEnvironment, IsProvider, Provider,
26        ProviderError, Query,
27    };
28}