From d4bdb501afead80b4232ef113a8f36f5b6580e49 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 12 Sep 2025 13:58:21 +0300 Subject: [PATCH] define custom dependencies --- Cargo.toml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7e0c001..1fda1ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,12 +12,11 @@ repository = "https://github.com/yggverse/btracker-fs" [features] # default = ["public"] -public = [] -crawler = [] +public = ["chrono", "librqbit-core"] +crawler = ["log", "regex"] [dependencies] -chrono = { version = "0.4.41", features = ["serde"] } -librqbit-core = "5.0.0" - -log = "0.4.28" -regex = "1.11.2" +chrono = { version = "0.4.41", features = ["serde"], optional = true } +librqbit-core = { version = "5.0.0", optional = true } +log = { version = "0.4.28", optional = true } +regex = { version = "1.11.2", optional = true }