From 1990241715ed1cf170a6893775576d54f953a87d Mon Sep 17 00:00:00 2001 From: Serhij S Date: Sun, 30 Jun 2024 19:32:49 +0200 Subject: [PATCH] 0.2.0 --- Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e6b39ce..b7658ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bma-ts" -version = "0.1.12" +version = "0.2.0" edition = "2021" authors = ["Serhij S. "] license = "MIT" @@ -21,6 +21,7 @@ dateparser = { version = "0.2", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } sqlx = { version = "0.7", optional = true, features = ["postgres", "sqlite"] } thiserror = "1.0" +time = { version = "0.3.36", optional = true } [target.'cfg(not(unix))'.dependencies] once_cell = "1.19.0" @@ -29,7 +30,9 @@ once_cell = "1.19.0" nix = { version = "0.27", features = ["time"] } [features] -#default = [ "full" ] -chrono = ["dep:chrono", "dateparser"] -full = [ "chrono", "serde", "sqlx" ] +default = [] +chrono = ["dep:chrono"] +dateparser = ["dep:dateparser"] +time = ["dep:time"] +full = [ "chrono", "time", "dateparser", "serde", "sqlx" ] as-float-secs = []