Skip to content

Commit 4d6af72

Browse files
committed
CLI: write custom arg parsing code
This drops the clap dependency, which is a boost for compile time/ build size/binary size. Also alows us to use a consistent method for reporting errors. Error and usage messages got a little love too. Edges are still a bit rough on this I think, but can work on it more later.
1 parent e52a77d commit 4d6af72

File tree

11 files changed

+451
-134
lines changed

11 files changed

+451
-134
lines changed

Cargo.lock

-52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ build = "build.rs"
88
[dependencies]
99
atty = "0.2"
1010
cgmath = "0.16.0"
11-
clap = "2.30.0"
1211
glium = "0.23.0"
1312
json = "0.11"
1413
log = { version = "0.4.6", features = ["std"] }

0 commit comments

Comments
 (0)