-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (30 loc) · 931 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "bma-ts"
version = "0.1.15"
edition = "2021"
authors = ["Serhij S. <[email protected]>"]
license = "MIT"
repository = "https://github.com/alttch/bma-ts"
description = "Bohemia Automation time library"
readme = "README.md"
keywords = ["time", "date"]
[package.metadata.docs.rs]
features = ["full"]
[package.metadata.playground]
features = ["full"]
[dependencies]
chrono = { version = "0.4", optional = true }
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"
[target.'cfg(not(unix))'.dependencies]
once_cell = "1.19.0"
instant = "0.1"
[target.'cfg(unix)'.dependencies]
nix = { version = "0.27", features = ["time"] }
[features]
#default = [ "full" ]
chrono = ["dep:chrono", "dateparser"]
full = [ "chrono", "serde", "sqlx" ]
as-float-secs = []