Closed ebkalderon closed 4 years ago
Error
PathBuf
get_capture()
String
&Path
get_{log,capture}_file_path_template()
&str
Into<PathBuf>
Into<String>
path
None
set_capture_file_comments()
lazy_static
once_cell
These changes were long overdue, and this crate hasn't seen any love in years. It's time to change that!
Added
Error
type to use throughout the library.Changed
PathBuf
fromget_capture()
instead ofString
.&Path
fromget_{log,capture}_file_path_template()
instead of&str
.Into<PathBuf>
orInto<String>
in some places to avoid extra allocation if possible.path
argument isNone
in docs forset_capture_file_comments()
.lazy_static
toonce_cell
.These changes were long overdue, and this crate hasn't seen any love in years. It's time to change that!