define custom dependencies

This commit is contained in:
yggverse 2025-09-12 13:58:21 +03:00
parent dacf14c9d9
commit d4bdb501af

View file

@ -12,12 +12,11 @@ repository = "https://github.com/yggverse/btracker-fs"
[features] [features]
# default = ["public"] # default = ["public"]
public = [] public = ["chrono", "librqbit-core"]
crawler = [] crawler = ["log", "regex"]
[dependencies] [dependencies]
chrono = { version = "0.4.41", features = ["serde"] } chrono = { version = "0.4.41", features = ["serde"], optional = true }
librqbit-core = "5.0.0" librqbit-core = { version = "5.0.0", optional = true }
log = { version = "0.4.28", optional = true }
log = "0.4.28" regex = { version = "1.11.2", optional = true }
regex = "1.11.2"