]> git.proxmox.com Git - rustc.git/blob - vendor/pico-args/CHANGELOG.md
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / vendor / pico-args / CHANGELOG.md
1 # Change Log
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](http://keepachangelog.com/)
5 and this project adheres to [Semantic Versioning](http://semver.org/).
6
7 ## [Unreleased]
8
9 ## [0.3.3] - 2020-06-26
10 ### Added
11 - `values_from_str`, `values_from_fn` and `values_from_os_str`.<br>
12 Those functions can be used to parse arguments like:<br>
13 `--file /path1 --file /path2 --file /path3`<br>
14 But not `--file /path1 /path2 /path3`.
15
16 ## [0.3.2] - 2020-06-15
17 ### Added
18 - `eq-separator` build feature.
19
20 ## [0.3.1] - 2020-01-08
21 ### Added
22 - `Arguments::subcommand`.
23
24 ## [0.3.0] - 2019-09-23
25 ### Added
26 - Required arguments support.
27 - `Error::MissingOption` when option is required but not present.
28
29 ### Changed
30 - Rename `value_from_str` into `opt_value_from_str`.
31 - Rename `value_from_fn` into `opt_value_from_fn`.
32 - Rename `value_from_os_str` into `opt_value_from_os_str`.
33 - `value_from_str`, `value_from_fn` and `value_from_os_str` will return `T` and not `Option<T>`
34 from now.
35
36 ## [0.2.0] - 2019-07-26
37 ### Added
38 - Non UTF-8 arguments support.
39 - `free_from_str`, `free_from_fn` and `free_from_os_str`.
40 - `value_from_os_str`.
41
42 ### Changed
43 - `value_from_fn` allows any error type that implements `Display` now
44 and not only `String`.
45 - `from_args` -> `from_vec`. And it accepts `Vec<OsString>` now.
46 - The `Error` enum.
47
48 ### Fixed
49 - Do not panic while parsing non UTF-8 arguments.
50
51 [Unreleased]: https://github.com/RazrFalcon/pico-args/compare/v0.3.3...HEAD
52 [0.3.3]: https://github.com/RazrFalcon/pico-args/compare/v0.3.2...v0.3.3
53 [0.3.2]: https://github.com/RazrFalcon/pico-args/compare/v0.3.1...v0.3.2
54 [0.3.1]: https://github.com/RazrFalcon/pico-args/compare/v0.3.0...v0.3.1
55 [0.3.0]: https://github.com/RazrFalcon/pico-args/compare/v0.2.0...v0.3.0
56 [0.2.0]: https://github.com/RazrFalcon/pico-args/compare/v0.1.0...v0.2.0