-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
148 lines (130 loc) · 6.88 KB
/
Copy pathCargo.toml
File metadata and controls
148 lines (130 loc) · 6.88 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# Settings for Rust Workspace
# [Cargo Manifest Configuration Reference](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-lints-section)
[workspace]
members = ["crates/*", "xtask"]
resolver = "3"
# default-members = ["crates/sample-async"]
[workspace.package]
# name = "______"
version = "0.1.0"
edition = "2024"
authors = ["Ethan Skowronski-Lutz <33399972+dream-dasher@users.noreply.github.com>",]
repository = "https://github.com/dream-dasher/______"
description = "______"
categories = []
keywords = []
[workspace.lints.rust]
unsafe_code = "warn" # (removable default)
[workspace.lints.clippy]
uninlined_format_args = "allow" # allow `"name is {}", name` instead of `"name is {name}"`
allow_attributes = "warn" # use `#[expect(...)]` instead
undocumented_unsafe_blocks = "deny" # "forbid" lint level appears buggy
[profile.release]
codegen-units = 1
lto = true # true:= "fat"
[profile.profiling] # for perf-analysis, e.g. `samply`
inherits = "release"
debug = true
# [profile.release.package.egui] # for wasm deploy
# # lto = true # VERY slightly smaller wasm
# # opt-level = 's' # 10-20% smaller wasm compared to `opt-level = 3`
# # opt-level = 1 # very slow and big wasm. Don't do this.
# opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'`
# # opt-level = 3 # unnecessarily large wasm for no performance gain
[workspace.dependencies]
utilities = { path = "crates/utilities" }
clap = { version = "4", features = ["derive","wrap_help",] } # "derive", "env", "string", "unicode", "wrap_help",
thiserror = "2"
tracing = { version = "0.1", features = [] } # "release_max_level_warn"^"release_max_level_off"
tracing-appender = "0.2"
tracing-error = "0.2"
tracing-subscriber = { version = "0.3", features = [] } # "env-filter","json"
owo-colors = "4"
# ------------ [dev-dependencies] ------------
insta = "1"
pretty_assertions = "1"
quickcheck = "1"
quickcheck_macros = "1"
test-log = { version = "0.2", features = ["trace"] } # "trace"
# [patch.crates-io]
################### Common Dependencies ###################
# [workspace.dependencies]
#
# ## ~~~~~~~~~~~~ -async & associated (workspace)- ~~~~~~~~~~~~ #
# async-stream = "0.3"
# futures = "0.3"
# tokio = { version = "1", features = ["macros",] } # "fs","io-std","io-util","macros","net","parking_lot","process","rt","rt-multi-thread","signal","sync","time", (wasm-compatible: sync,macros,io-util,rt,time)
# tokio-stream = { version = "0.1", features = [] } # "fs","io-util","net","signal","sync","tokio-util"
# tokio-util = { version = "0.7", features = [] } # "codec","compat","futures-io","futures-util","hashbrown","io-util","rt","slab","time","tracing"
# ### ......... -remote (workspace)- ......... #
# reqwest = { version = "0.13", features = ["json"] } # "cookies","json","query","form"
# sqlx = { version = "0.8", features = ["tls-rustls",] } # "sqlite","runtime-tokio","tls-rustls"
# ureq = { version = "3", features = ["rustls"] } # "cookies","json","rustls"
# ### ......... -accessory (workspace)- ......... #
# governor = { version = "0.10", default-features = false, features = ["jitter","std","quanta",] } # "dashmap","jitter","no_std","quanta","std"
# url = { version = "2" }
# ## ~~~~~~~~~~~~ -diagnostics (workspace)- ~~~~~~~~~~~~ #
# tracing = { version = "0.1", features = [] } # "release_max_level_warn"^"release_max_level_off"
# tracing-appender = "0.2"
# tracing-error = "0.2"
# tracing-subscriber = { version = "0.3", features = [] } # "env-filter","json"
# tracing-timing = "0.7"
# ## ~~~~~~~~~~~~ -env & files (workspace)- ~~~~~~~~~~~~ #
# arboard = "3"
# csv = "1"
# dotenvy = "0.15"
# include_dir = "0.7"
# rfd = "0.17"
# toml = "0.8"
# walkdir = "2"
# ### ......... -config (workspace)- ......... #
# config = "0.15"
# directories = "6"
# ### ......... -proceses (workspace)- ......... #
# rexpect = { version = "0.6", features = [] } # "which"
# ## ~~~~~~~~~~~~ -ergonomics (workspace)- ~~~~~~~~~~~~ #
# bon = "3"
# borrow = "1"
# crabtime = "1"
# derive_more = { version = "2", features = [] } # "add","add_assign","as_ref","constructor","debug","deref","deref_mut","display","error","from","from_str","index","index_mut","into","into_iterator","is_variant","mul","mul_assign","not","sum","try_from","try_into","try_unwrap","unwrap",
# indoc = "2"
# itertools = "0.14"
# nestify = "0.3"
# thiserror = "2"
# ## ~~~~~~~~~~~~ -interface (workspace)- ~~~~~~~~~~~~ #
# ### ......... -cli (workspace)- ......... #
# clap = { version = "4", features = [ "derive",] } # "derive", "env", "string", "unicode", "wrap_help",
# dialoguer = "0.11"
# owo-colors = "4"
# ### ......... -egui (workspace)- ......... #
# eframe = { version = "0.33" } # "default_fonts","glow","persistence","wayland","wgpu" # NOTE: 'wayland' required for linux targets
# egui = { version = "0.33", features = [] } # "callstack","document-features"
# egui_extras = { version = "0.33", features = [] } # "all_loaders","datepicker","document-features","serde","syntect",
# egui_table = "0.4"
# egui_inbox = "0.9"
# ## ~~~~~~~~~~~~ -math & science (workspace)- ~~~~~~~~~~~~ #
# ### ......... -data (workspace)- ......... #
# arrow-rs (arrow, arrow-flight, parquet, parquet-derive): https://github.com/apache/arrow-rs # didn't love, but possibly much improved
# polars = { version = "0.45", features = [] }
# ### ......... -math (workspace)- ......... #
# faer = "0.21" # may be abandoned
# fixed_num = {version = "0.1, features [] } # "arrow-buffer"
# rand = { version = "0.9", features = [] } # "log","serde","simd_support"
# ## ~~~~~~~~~~~~ -parsing (workspace)- ~~~~~~~~~~~~ #
# regex = { version = "1", features = [] } # "logging"
# monostate = "0.1" # serde: constraining, zero-sized type
# serde = { version = "1", features = ["derive"] } # "derive"
# serde_json = "1"
# ## ~~~~~~~~~~~~ -time (workspace)- ~~~~~~~~~~~~ #
# jiff = { version = "0.1", features = [] } # "js","logging","serde"
# # ############ [dev-dependencies] <-- only goes in package Cargo.toml ############
# ## ~~~~~~~~~~~~ -benchmarking (workspace)- ~~~~~~~~~~~~ #
# divan = "0.1"
# ## ~~~~~~~~~~~~ -test ergonomics (workspace)- ~~~~~~~~~~~~ #
# pretty_assertions = "1"
# test-log = { version = "0.2", features = ["trace"] } # "trace"
# ## ~~~~~~~~~~~~ -property sample testing (workspace)- ~~~~~~~~~~~~ #
# quickcheck = "1"
# quickcheck_macros = "1"
# ## ~~~~~~~~~~~~ snapshot testing (workspace)- ~~~~~~~~~~~~ #
# insta = "1"