generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (34 loc) · 1.31 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
[package]
name = "timekeeper"
default-run = "timekeeper_bin"
version = "0.1.0"
authors = ["Chris Clegg <chrisclegg256@ieee.org>"]
edition = "2021"
rust-version = "1.56"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "timekeeper_bin"
path = "src/main.rs"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
chrono = { version = "0.4.19", features = ["serde", "clock", "std"], default-features = false } # For time formatting
eframe = { version = "0.23.0", features = ["persistence"] } # Gives us egui, epi and web+native backends
egui_extras = { version = "0.23.0", features = ["datepicker"]}
rusqlite = { version = "0.29", features = ["bundled", "chrono"] }
directories-next = { version = "2.0.0" }
tracing = { version = "0.1.40" }
tracing-subscriber = "0.3.17"
anyhow = "1.0"
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
[profile.release]
opt-level = 2 # fast and small wasm
[patch.crates-io]
# If you want to use the bleeding edge version of `egui`:
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
# If you fork https://github.com/emilk/egui you can test with:
# eframe = { path = "../egui/eframe" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"