-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (56 loc) · 1.58 KB
/
Cargo.toml
File metadata and controls
71 lines (56 loc) · 1.58 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
[package]
name = "texforge"
version = "0.6.0"
edition = "2021"
rust-version = "1.75"
description = "Self-contained LaTeX to PDF compiler CLI"
license = "MIT"
repository = "https://github.com/UniverLab/texforge"
keywords = ["latex", "pdf", "compiler", "cli"]
categories = ["command-line-utilities", "development-tools"]
[[bin]]
name = "texforge"
path = "src/main.rs"
[dependencies]
# Interactive prompts
inquire = "0.7"
# CLI argument parsing
clap = { version = "4.6", features = ["derive"] }
# Error handling
anyhow = "1.0"
# Serialization (for project.toml, template.toml)
serde = { version = "1.0", features = ["derive"] }
toml = "1.1"
# File system operations
walkdir = "2.5"
# Home directory resolution
dirs = "6.0"
# HTTP client (template downloads)
reqwest = { version = "0.13", features = ["blocking", "json"] }
# Archive extraction (GitHub tarballs + tectonic zip on Windows)
flate2 = "1.1"
tar = "0.4"
zip = { version = "2", default-features = false, features = ["deflate"] }
# File watching for --watch mode
notify = { version = "7", features = ["macos_fsevent"] }
# Mermaid diagram rendering
mermaid-rs-renderer = { version = "0.2", default-features = false }
resvg = "0.46"
# Graphviz/DOT diagram rendering
layout-rs = "0.1"
[dev-dependencies]
tempfile = "3.8"
[lints.clippy]
needless_pass_by_value = "warn"
redundant_closure = "warn"
redundant_clone = "warn"
large_enum_variant = "warn"
manual_let_else = "warn"
semicolon_if_nothing_returned = "warn"
inconsistent_struct_constructor = "warn"
doc_markdown = "warn"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true