-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (60 loc) · 1.75 KB
/
Cargo.toml
File metadata and controls
72 lines (60 loc) · 1.75 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
cargo-features = ["codegen-backend"]
# cargo-features = ["profile-rustflags", "trim-paths"] # required for both trimming paths and setting rustflags
# cargo-features = ["codegen-backend"]
# The aboe also needs the profile.dev to be uncommented to use the cranelift backend
[package]
name = "document_conversion_crawler_rs"
version = "0.1.0"
edition = "2024"
description = "A simple crawler to convert docx files to text"
# For running the main server as a watch call
# cargo watch -q -c -w src/ -x run
[dependencies]
async-trait = "0.1.83"
clap = { version = "4.5.30", features = ["color", "derive", "suggestions"] }
eyre = { version = "0.6.12" }
futures = "0.3.31"
thiserror = { version = "2.0.7" }
tokio = { version = "1.42.0", features = ["full", "tracing"] }
walkdir = { version = "2.5.0" }
# Logging and tracing
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = [
"ansi",
"chrono",
"env-filter",
"serde",
"std",
] }
# dotenvy = "*"
# Base dependencies/Commons
# reqwest = { version = "*", features = ["cookies", "json", "multipart", "stream"] }
# uuid = { version = "*", features = ["v4"] }
# serde = { version = "*", features = ["derive"] }
# serde_json = "*"
# Extra stuff
# static-toml = "*"
# tokio-util = { version = "*", features = ["codec"] }
# toml = "*"
# chrono = "*"
# itertools = "*"
[profile.dev.package."*"]
opt-level = 3
codegen-units = 1
[profile.dev]
opt-level = 1
codegen-units = 256
incremental = true
#rustflags = ["-Zthreads=16" ]
codegen-backend = "cranelift"
[profile.release]
opt-level = 3
codegen-units = 1
debug = "none"
debug-assertions = false
incremental = true
# trim-paths = "all"
#rustflags = ["-Zthreads=16" ]
# strip = "symbols" # Leave off @ w
# lto = "fat" ## Can't use with cranelift yet
# panic = "unwind"