File: Cargo.toml.orig

package info (click to toggle)
rust-time 0.3.47-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,972 kB
  • sloc: makefile: 2
file content (97 lines) | stat: -rw-r--r-- 2,960 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
lints.workspace = true

[package]
name = "time"
version = "0.3.47"
categories = [
    "date-and-time",
    "no-std",
    "parser-implementations",
    "value-formatting",
]
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
include = ["{src,tests,benchmarks}/**/*", "LICENSE-*", "README.md"]
readme = "../README.md"

authors.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]

[lib]
bench = false

[features]
default = ["std"]
alloc = ["serde_core?/alloc"]
formatting = ["dep:itoa", "std", "time-macros?/formatting"]
large-dates = ["time-core/large-dates", "time-macros?/large-dates"]
local-offset = ["std", "dep:libc", "dep:num_threads"]
macros = ["dep:time-macros"]
parsing = ["time-macros?/parsing"]
quickcheck = ["dep:quickcheck", "alloc", "deranged/quickcheck"]
rand = ["rand08", "rand09"]
rand08 = ["dep:rand08", "deranged/rand08"]
rand09 = ["dep:rand09", "deranged/rand09"]
serde = ["dep:serde_core", "time-macros?/serde", "deranged/serde"]
serde-human-readable = ["serde", "formatting", "parsing"]
# Deprecated in favor of using the relevant flags directly.
serde-well-known = ["serde", "formatting", "parsing"]
std = ["alloc"]
wasm-bindgen = ["dep:js-sys"]

# If adding an optional dependency, be sure to use the `dep:` prefix above to avoid an implicit
# feature gate.
[dependencies]
deranged.workspace = true
itoa = { workspace = true, optional = true }
num-conv.workspace = true
powerfmt.workspace = true
quickcheck = { workspace = true, optional = true }
rand08 = { workspace = true, optional = true }
rand09 = { workspace = true, optional = true }
serde_core = { workspace = true, optional = true }
time-core.workspace = true
time-macros = { workspace = true, optional = true }

[target.'cfg(target_family = "unix")'.dependencies]
libc = { workspace = true, optional = true }
num_threads = { workspace = true, optional = true }

[target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies]
js-sys = { workspace = true, optional = true }

[dev-dependencies]
num-conv.workspace = true
rand08.workspace = true
rand09 = { workspace = true, features = ["small_rng"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
serde_test.workspace = true
quickcheck_macros.workspace = true
time-macros.workspace = true
rstest.workspace = true
rstest_reuse.workspace = true

[target.'cfg(__ui_tests)'.dev-dependencies]
trybuild.workspace = true

[target.'cfg(bench)'.dev-dependencies]
criterion.workspace = true

[[bench]]
name = "benchmarks"
harness = false
path = "benchmarks/main.rs"

[[test]]
name = "tests"
path = "tests/integration/main.rs"