mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
chore: updates additional files for 2x release
This commit is contained in:
parent
d2a78e3e21
commit
2031682193
7 changed files with 389 additions and 419 deletions
|
@ -12,11 +12,11 @@ license = "MIT"
|
||||||
keywords = ["argument", "command", "arg", "parser", "parse"]
|
keywords = ["argument", "command", "arg", "parser", "parse"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.4.0"
|
bitflags = "~0.4"
|
||||||
vec_map = "0.4"
|
vec_map = "~0.4"
|
||||||
ansi_term = { version = "~0.7", optional = true }
|
ansi_term = { version = "~0.7", optional = true }
|
||||||
strsim = { version = "~0.4.0", optional = true }
|
strsim = { version = "~0.4.0", optional = true }
|
||||||
yaml-rust = { version = "~0.3.0", optional = true }
|
yaml-rust = { version = "~0.3", optional = true }
|
||||||
clippy = { version = "~0.0.35", optional = true }
|
clippy = { version = "~0.0.35", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2015 Kevin B. Knapp
|
Copyright (c) 2015-2016 Kevin B. Knapp
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -60,6 +60,8 @@ Here are some key points about the 2.x release
|
||||||
* Vastly improved ergonomics
|
* Vastly improved ergonomics
|
||||||
* Numerous bug fixes
|
* Numerous bug fixes
|
||||||
|
|
||||||
|
![clap Performance Graph](https://github.com/kbknapp/clap-rs/blob/master/clap-perf/clap_perf.png)
|
||||||
|
|
||||||
#### Breaking Changes
|
#### Breaking Changes
|
||||||
|
|
||||||
Below is a list of breaking changes between 1.x and 2.x and how you can change your code to update.
|
Below is a list of breaking changes between 1.x and 2.x and how you can change your code to update.
|
||||||
|
|
|
@ -5,3 +5,4 @@
|
||||||
1.3 2015-09-01 10534 131 14648 874 18213 1070 24101 361
|
1.3 2015-09-01 10534 131 14648 874 18213 1070 24101 361
|
||||||
1.4 2015-09-09 10223 852 13203 749 18924 1216 23492 944
|
1.4 2015-09-09 10223 852 13203 749 18924 1216 23492 944
|
||||||
1.5 2015-11-12 5422 416 7974 680 9723 792 13389 1151
|
1.5 2015-11-12 5422 416 7974 680 9723 792 13389 1151
|
||||||
|
2.0 2016-01-27 4783 376 5263 481 9651 1015 10577 191
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.5 KiB |
6
clap-perf/plot_perf.gp
Normal file → Executable file
6
clap-perf/plot_perf.gp
Normal file → Executable file
|
@ -4,12 +4,12 @@ set terminal png
|
||||||
set output "clap_perf.png"
|
set output "clap_perf.png"
|
||||||
|
|
||||||
set xlabel "Version"
|
set xlabel "Version"
|
||||||
set xrange [0.9:1.6]
|
set xrange [0.9:2.1]
|
||||||
set ylabel "Time (ns)"
|
set ylabel "Time (ns)"
|
||||||
set yrange [0:35000]
|
set yrange [0:35000]
|
||||||
|
|
||||||
set title "clap-rs Performance by Version"
|
set title "clap-rs Performance (Parse Time - Lower is Better) by Version"
|
||||||
set key inside left bottom
|
set key inside right top
|
||||||
set grid
|
set grid
|
||||||
set style line 1 lc rgb '#0060ad' lt 1 lw 1 pt 7 ps .5 # --- blue
|
set style line 1 lc rgb '#0060ad' lt 1 lw 1 pt 7 ps .5 # --- blue
|
||||||
set style line 2 lc rgb '#dd181f' lt 1 lw 1 pt 5 ps .5 # --- red
|
set style line 2 lc rgb '#dd181f' lt 1 lw 1 pt 5 ps .5 # --- red
|
||||||
|
|
801
src/lib.rs
801
src/lib.rs
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue