-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
162 lines (150 loc) · 5.01 KB
/
Cargo.toml
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[workspace]
members = ["task-maker-*"]
[package]
name = "task-maker-rust"
version = "0.6.4"
description = "Tool for building tasks for informatics competitions, with support for cache, distributed computations and more"
readme = "README.md"
authors = ["Edoardo Morassutto <[email protected]>"]
edition = "2021"
documentation = "https://olimpiadi-informatica.github.io/task-maker-rust/"
repository = "https://github.com/olimpiadi-informatica/task-maker-rust"
license = "MPL-2.0"
default-run = "task-maker"
[package.metadata.deb]
extended-description = "Tool for building tasks for informatics competitions, with support for cache, distributed computations and more"
assets = [
# main executables
["target/release/task-maker", "usr/bin/task-maker-rust", "755"],
["target/release/task-maker-tools", "usr/bin/task-maker-tools", "755"],
# autocompletion files
["target/autocompletion/task-maker-rust.bash", "etc/bash_completion.d/task-maker-rust", "644"],
["target/autocompletion/_task-maker-rust", "usr/share/zsh/vendor-completions/_task-maker-rust", "644"],
["target/autocompletion/task-maker-rust.fish", "usr/share/fish/completions/task-maker-rust.fish", "644"],
["target/autocompletion/task-maker-tools.bash", "etc/bash_completion.d/task-maker-tools", "644"],
["target/autocompletion/_task-maker-tools", "usr/share/zsh/vendor-completions/_task-maker-tools", "644"],
["target/autocompletion/task-maker-tools.fish", "usr/share/fish/completions/task-maker-tools.fish", "644"],
# runtime required data
["data/**/*", "usr/share/task-maker-rust/", "755"],
# vim syntax highlight
["tools/vim/ftdetect/cases_gen.vim", "usr/share/vim/vimfiles/ftdetect/cases_gen.vim", "644"],
["tools/vim/syntax/cases_gen.vim", "usr/share/vim/vimfiles/syntax/cases_gen.vim", "644"],
]
[badges]
github = { repository = "olimpiadi-informatica/task-maker-rust", workflow = "Rust" }
[workspace.dependencies]
anyhow = "1.0"
approx = "0.5"
askama = "0.11"
askama_derive = "0.11"
better-panic = "0.3"
bincode = "1.2"
blake3 = "1.3"
clap = "4.5"
clap_complete = "4.5"
colored = "2"
const_format = "0.2"
crossbeam-channel = "0.5.6"
ctrlc = "3.4"
derivative = "2.2"
directories = "5.0"
ductile = "0.3"
env_logger = "0.11"
fastrand = "2.0"
fslock = "0.2"
glob = "0.3"
inventory = "0.3.3"
itertools = "0.13"
lazy_static = "1.5"
log = "0.4"
mime_guess = "2.0"
nix = "0.29"
num_cpus = "1.10"
paste = "1.0.11"
pest = "2.1"
pest_derive = "2.1"
pretty_assertions = "1.2"
ratatui = { version = "0.28", default-features = false }
regex = "1"
rlimit = "0.10"
scopeguard = "1.2"
serde = "1.0"
serde_json = "1.0"
serde_yaml = "0.9"
shell-words = "1.1"
speculoos = "0.11"
supports-color = "2"
tabox = "1"
tempfile = "3.13"
termcolor = "1"
termion = "4"
thiserror = "1.0"
unic = "0.9"
url = "2.5"
uuid = "1.1"
walkdir = "2.5"
which = "7.0"
whoami = "1.5"
wildmatch = "2.1.0"
typescript-definitions = { git = "https://github.com/onelson/typescript-definitions", branch = "no-debug-attrs" }
[dependencies]
task-maker-dag = { path = "./task-maker-dag" }
task-maker-store = { path = "./task-maker-store" }
task-maker-cache = { path = "./task-maker-cache" }
task-maker-exec = { path = "./task-maker-exec" }
task-maker-lang = { path = "./task-maker-lang" } # needed only by typescriptify
task-maker-format = { path = "./task-maker-format" }
# Logging and setting up the global logger
log = { workspace = true }
env_logger = { workspace = true }
# Argument parsing
clap = { workspace = true, features = ["derive"] }
clap_complete = { workspace = true }
num_cpus = { workspace = true }
# Better stacktraces for panics
better-panic = { workspace = true }
# Worker and client name
whoami = { workspace = true }
# Cross-platform cache directory
directories = { workspace = true }
# Generic error utilities
anyhow = { workspace = true, features = ["backtrace"] }
# Message serialization for UI/sandbox/...
serde = { workspace = true }
serde_json = { workspace = true }
# Sandbox implementation for --sandbox
tabox = { workspace = true }
# Signal handler for ^C
ctrlc = { workspace = true }
# Global constants
lazy_static = { workspace = true }
# General iterator utilities
itertools = { workspace = true }
# Iterate recursively the files in a directory (used for `task-maker-tools reset`)
walkdir = { workspace = true }
# defer! macro
scopeguard = { workspace = true }
# URL parsing for connecting to a remote server
url = { workspace = true }
# Temporary directory for sandboxes
tempfile = { workspace = true }
# Regex
regex = { workspace = true }
# setrlimit for setting unlimited stack for the checker in the fuzzer
rlimit = { workspace = true }
# Geenrating random numbers (the seed in find-bad-case tool)
fastrand = { workspace = true }
# Curses UI
ratatui = { workspace = true, features = ["termion"] }
# Typescript definition generation
typescript-definitions = { workspace = true }
[dev-dependencies]
approx = { workspace = true }
# Resolve executable names in $PATH
which = { workspace = true }
[[bin]]
name = "task-maker"
path = "src/main.rs"
[[bin]]
name = "task-maker-tools"
path = "src/tools/main.rs"