summaryrefslogtreecommitdiffhomepage
path: root/talpid-time/Cargo.toml
blob: 3b79e3f073f2056786980fa91aae6715f54374ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "talpid-time"
description = "Time functions"
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[features]
# This feature should only be enabled for testing (in dev-dependencies). When enabled, timers will
# use the standard tokio `Instant`, making it possible to advance/pause timers as expected in tests.
test = []

[dependencies]
tokio = { workspace = true, features = ["time"] }

[target.'cfg(unix)'.dependencies]
nix = { workspace = true, features = ["time"] }