Skip to content

Commit d8f7788

Browse files
chore(build): remove unused dependencies and development features
- Comment out multiple unused dependencies in Cargo.toml including async-trait, dashmap, metrics, tokio-tungstenite and others to reduce project bloat - Disable 'Development' feature flag containing tokio-console instrumentation - Remove dependency on unbug debugging utilities This cleanup follows recent documentation improvements (d4e2ad7, ef7c052) as part of ongoing project maintenance. The compiled libEcho.rlib changes represent rebuilt artifacts after dependency changes and should not be tracked in version control (accidentally staged).
1 parent c3b5389 commit d8f7788

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ serde = { workspace = true }
33
toml = { workspace = true }
44

55
[dependencies]
6-
async-trait = { workspace = true }
7-
config = { workspace = true }
8-
dashmap = { workspace = true }
9-
env_logger = { workspace = true }
10-
futures = { workspace = true }
6+
#async-trait = { workspace = true }
7+
#config = { workspace = true }
8+
#dashmap = { workspace = true }
9+
#env_logger = { workspace = true }
10+
#futures = { workspace = true }
1111
log = { workspace = true }
12-
metrics = { workspace = true }
12+
#metrics = { workspace = true }
1313
rand = { workspace = true }
1414
serde = { workspace = true }
15-
serde_json = { workspace = true }
16-
thiserror = { workspace = true }
15+
#serde_json = { workspace = true }
16+
#thiserror = { workspace = true }
1717
tokio = { workspace = true }
18-
tokio-console = { workspace = true, optional = true }
19-
tokio-tungstenite = { workspace = true }
20-
unbug = { workspace = true }
18+
#tokio-console = { workspace = true, optional = true }
19+
#tokio-tungstenite = { workspace = true }
20+
#unbug = { workspace = true }
2121
crossbeam-deque = { workspace = true }
2222
num_cpus = { workspace = true }
2323

@@ -34,7 +34,7 @@ name = "Tauri"
3434
path = "Example/Tauri.rs"
3535

3636
[features]
37-
Development = ["tokio-console"]
37+
#Development = ["tokio-console"]
3838
default = []
3939

4040
[lib]

Target/debug/libEcho.rlib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:c2ab05727192fa3d0f0589955fbd9cd707c970694ab27affd700a569036fec7c
3-
size 11919718
2+
oid sha256:6a75bb675b9ede6f742b5ad43cf8dea255d8e2aa54b564a37dd80c6b8a899c9c
3+
size 11757250

Target/release/libEcho.rlib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:28b00b78ede0799015e97e778885d1ba9561fb5badb00d4f73eb5bfc56a83ed4
2+
oid sha256:92ea024eff907836b895897351e1cdebb8c7c8acebcf92d928bdb3ab98955a71
33
size 278340

0 commit comments

Comments
 (0)