From baaa4f147e36f8f667557ee1c64c7240da624001 Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Add sorting function to YamlValue, make it possible to sort in special macros, add special parsing for dates and numbers --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ebaf72c..4334410 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,13 @@ version = "0.1.0" edition = "2021" default-run = "skaldpress" +[features] +default = ["time"] +time = ["dep:chrono"] + [dependencies] -markdown = "1.0.0-alpha.20" +markdown = { version = "1.0.0-alpha.20" } +chrono = { version = "0.4.38", optional = true } [[bin]] name = "skaldpress" -- cgit v1.2.3