|
1 | | -[package] |
2 | | -name = "addiction-tracker" |
3 | | -version = "0.0.21" |
4 | | -description = "Addiction Tracker - An app for tracking substance addiction and habits (made with Tauri)." |
5 | | -authors = ["Charles Schaefer"] |
6 | | -edition = "2021" |
7 | | -keywords = ["health", "addiction", "substance abuse", "alcohol", "drugs", "habits", "cigarretes", "smoking", "tauri", "angular", "rust"] |
8 | | -homepage = "https://addictiontracker.app" |
9 | | -license = "MIT" |
10 | | -license-file = "../LICENSE" |
11 | | -readme = "../README.md" |
12 | | -repository = "https://github.com/charlesschaefer/addiction-tracker.git" |
13 | | - |
14 | | -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
15 | | - |
16 | | -[lib] |
17 | | -name = "addiction_tracker_lib" |
18 | | -crate-type = ["lib", "cdylib", "staticlib"] |
19 | | - |
20 | | -[build-dependencies] |
21 | | -tauri-build = { version = "2", features = [] } |
22 | | - |
23 | | -[dependencies] |
24 | | -tauri = { version = "2", features = ["tray-icon", "image-png", "devtools"] } |
25 | | -serde = { version = "1", features = ["derive"] } |
26 | | -serde_json = { version = "1", features = ["std"] } |
27 | | -mdns-sd = "0.13" |
28 | | -hostname = "0.4.1" |
29 | | -tiny_http = "0.12.0" |
30 | | -local-ip-addr = "0.1.1" |
31 | | -tauri-plugin-http = "2" |
32 | | - |
33 | | - |
34 | | -[profile.dev] |
35 | | -opt-level = 1 |
36 | | -incremental = true |
37 | | - |
38 | | -[profile.release] |
39 | | -codegen-units = 16 |
40 | | -lto = "thin" |
41 | | -opt-level = "s" |
42 | | -panic = "abort" |
43 | | -strip = true |
44 | | - |
45 | | - |
46 | | -[profile.dev.package."*"] |
47 | | -opt-level = 3 |
48 | | - |
49 | | - |
50 | | -# [build] |
51 | | -# rustc-wrapper = "/usr/bin/sccache" |
52 | | - |
53 | | - |
54 | | -[target.x86_64-unknown-linux-gnu] |
55 | | -linker = "clang" |
56 | | -rustflags = [ |
57 | | - "-Zthreads=8", |
58 | | - "-C", |
59 | | - # Mold only supports x86_64 |
60 | | - "link-arg=-fuse-ld=/usr/bin/mold", |
61 | | - "-Zcodegen-backend=cranelift", |
62 | | - # "-Zshare-generics=y", |
63 | | -] |
64 | | - |
65 | | -[target.arm64-linux-android] |
66 | | -rustflags = [ |
67 | | - "-Zthreads=8", |
68 | | - "-C", |
69 | | - # Mold only supports x86_64 |
70 | | - "link-arg=-fuse-ld=/usr/bin/mold", |
71 | | -] |
72 | | -[target.aarch64-linux-android] |
73 | | -rustflags = [ |
74 | | - "-Zthreads=8", |
75 | | - "-C", |
76 | | - # Mold only supports x86_64 |
77 | | - "link-arg=-fuse-ld=/usr/bin/mold", |
78 | | -] |
| 1 | +[package] |
| 2 | +name = "addiction-tracker" |
| 3 | +version = "0.0.22" |
| 4 | +description = "Addiction Tracker - An app for tracking substance addiction and habits (made with Tauri)." |
| 5 | +authors = ["Charles Schaefer"] |
| 6 | +edition = "2021" |
| 7 | +keywords = ["health", "addiction", "substance abuse", "alcohol", "drugs", "habits", "cigarretes", "smoking", "tauri", "angular", "rust"] |
| 8 | +homepage = "https://addictiontracker.app" |
| 9 | +license = "MIT" |
| 10 | +license-file = "../LICENSE" |
| 11 | +readme = "../README.md" |
| 12 | +repository = "https://github.com/charlesschaefer/addiction-tracker.git" |
| 13 | + |
| 14 | +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 15 | + |
| 16 | +[lib] |
| 17 | +name = "addiction_tracker_lib" |
| 18 | +crate-type = ["lib", "cdylib", "staticlib"] |
| 19 | + |
| 20 | +[build-dependencies] |
| 21 | +tauri-build = { version = "2", features = [] } |
| 22 | + |
| 23 | +[dependencies] |
| 24 | +tauri = { version = "2", features = ["tray-icon", "image-png", "devtools"] } |
| 25 | +serde = { version = "1", features = ["derive"] } |
| 26 | +serde_json = { version = "1", features = ["std"] } |
| 27 | +mdns-sd = "0.13" |
| 28 | +hostname = "0.4.1" |
| 29 | +tiny_http = "0.12.0" |
| 30 | +local-ip-addr = "0.1.1" |
| 31 | +tauri-plugin-http = "2" |
| 32 | + |
| 33 | + |
| 34 | +[profile.dev] |
| 35 | +opt-level = 1 |
| 36 | +incremental = true |
| 37 | + |
| 38 | +[profile.release] |
| 39 | +codegen-units = 16 |
| 40 | +lto = "thin" |
| 41 | +opt-level = "s" |
| 42 | +panic = "abort" |
| 43 | +strip = true |
| 44 | + |
| 45 | + |
| 46 | +[profile.dev.package."*"] |
| 47 | +opt-level = 3 |
| 48 | + |
| 49 | + |
| 50 | +# [build] |
| 51 | +# rustc-wrapper = "/usr/bin/sccache" |
| 52 | + |
| 53 | + |
| 54 | +[target.x86_64-unknown-linux-gnu] |
| 55 | +linker = "clang" |
| 56 | +rustflags = [ |
| 57 | + "-Zthreads=8", |
| 58 | + "-C", |
| 59 | + # Mold only supports x86_64 |
| 60 | + "link-arg=-fuse-ld=/usr/bin/mold", |
| 61 | + "-Zcodegen-backend=cranelift", |
| 62 | + # "-Zshare-generics=y", |
| 63 | +] |
| 64 | + |
| 65 | +[target.arm64-linux-android] |
| 66 | +rustflags = [ |
| 67 | + "-Zthreads=8", |
| 68 | + "-C", |
| 69 | + # Mold only supports x86_64 |
| 70 | + "link-arg=-fuse-ld=/usr/bin/mold", |
| 71 | +] |
| 72 | +[target.aarch64-linux-android] |
| 73 | +rustflags = [ |
| 74 | + "-Zthreads=8", |
| 75 | + "-C", |
| 76 | + # Mold only supports x86_64 |
| 77 | + "link-arg=-fuse-ld=/usr/bin/mold", |
| 78 | +] |
0 commit comments