1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#![cfg_attr(
    feature = "cargo-clippy",
    warn(
        clippy::pedantic,
        missing_debug_implementations,
        trivial_casts,
        trivial_numeric_casts,
        unreachable_pub,
        variant_size_differences,
        missing_docs,
        rust_2018_idioms
    )
)]
#![cfg_attr(feature = "cargo-clippy", allow(clippy::module_name_repetitions))]

//! The reusable library powering `dbgen`.

/// The full version of this library, for use in the CLI
pub const FULL_VERSION: &str = concat!(
    "\nVersion: v",
    structopt::clap::crate_version!(),
    "\nCommit:  ",
    env!("VERGEN_SHA"),
    "\nTarget:  ",
    env!("VERGEN_TARGET_TRIPLE"),
);

pub mod cli;
pub mod error;
pub mod eval;
pub mod format;
pub mod parser;
pub mod schemagen_cli;
pub mod value;