breadshot: expand ~ in save_dir, align Cargo.toml version with tag
- config.rs: expand a leading ~ in the save_dir config value on load. The documented example config (save_dir = "~/Pictures/Screenshots") was previously taken literally, silently creating ./~/Pictures/... in the current working directory. Added unit tests. - Cargo.toml: 1.0.0 -> 0.1.0, matching the only existing tag (v0.1.0). breadshot --version previously reported nine releases ahead of the actual release history.
This commit is contained in:
parent
1fb9770a77
commit
08c27d1b22
3 changed files with 59 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -84,7 +84,7 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|||
|
||||
[[package]]
|
||||
name = "breadshot"
|
||||
version = "1.0.0"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue