Add cfg_if

This commit is contained in:
2026-06-27 13:23:57 -04:00
parent ca8c96306f
commit 3677b6adfa
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -2314,6 +2314,7 @@ dependencies = [
name = "libretunes"
version = "0.1.0"
dependencies = [
"cfg-if",
"chrono",
"config",
"diesel",

View File

@@ -9,6 +9,7 @@ edition = "2024"
build = "src/build.rs"
[dependencies]
cfg-if = "1.0.4"
chrono = { version = "0.4.45", features = ["serde"] }
config = { version = "0.15.24", optional = true }
diesel = { version = "2.3.10", optional = true, features = ["chrono"] }