[package]
name = "simple_conddb"
description = "Simple Condition Database library implemented in Rust."
version = "0.1.0"
authors = [
"Marco Clemencic <marco.clemencic@cern.ch>",
"LHCb Core Software <lhcb-core-soft@cern.ch>",
]
license = "Apache-2.0"
readme = "README.md"
repository = "https://gitlab.cern.ch/lhcb/simple_conddb.git"
edition = "2021"
[dependencies]
anyhow = { version = "1.0.75", optional = true }
clap = { version = "4.4.8", features = ["derive"], optional = true }
gix = { version = "0.70.0", default-features = false, features = [
"revision",
], optional = true }
num-traits = "0.2"
serde_json = { version = "1.0.108", optional = true }
[dev-dependencies]
tempdir = "0.3.7"
[[bin]]
name = "simple-conddb"
required-features = ["fs", "git", "cli"]
[features]
default = ["fs", "json", "git"]
fs = []
git = ["dep:gix"]
json = ["dep:serde_json"]
cli = ["dep:anyhow", "dep:clap"]