-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (71 loc) · 1.73 KB
/
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
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
workspace = { members = ["asm"] }
[package]
name = "timex"
version = "0.3.2-beta.1"
edition = "2021"
resolver = "2"
authors = ["Jawahar S <[email protected]>"]
license = "mit"
description = "Generate date times as event similar to Microsoft calender or Google calender based on the given parameters."
readme = "README.md"
homepage = "https://github.com/jawahar273/timex"
repository = "https://github.com/jawahar273/timex"
categories = ["date-and-time"]
keywords = ["calendar", "date", "time"]
rust-version = "1.73"
exclude = ["server", "coverage"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
anyhow = "1.0.75"
chrono = "0.4.31"
env_logger = "0.10.1"
log = "0.4.20"
serde = { version = "1.0.193", features = ["derive"] }
thiserror = "1.0.50"
serde_json = "1.0.108"
# reduce web assembly size https://rustwasm.github.io/twiggy/
[dev-dependencies]
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.release]
opt-level = "s"
debug = false
debug-assertions = false
overflow-checks = false
lto = true
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false
[profile.test]
opt-level = 0
debug = 2
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
# [profile.bench]
# opt-level = 3
# debug = true
# debug-assertions = false
# overflow-checks = false
# lto = false
# panic = 'unwind'
# incremental = false
# codegen-units = 16
# rpath = false
# [dev-dependencies]
# cargo-tarpaulin = "0.27.2"