Skip to content

Commit 9edb75e

Browse files
committed
chore(deps): Update serde to version 1.0.225 and bump various dependencies in Cargo.lock
docs: Update README examples for compression and mirroring features
1 parent 4ce9234 commit 9edb75e

4 files changed

Lines changed: 35 additions & 21 deletions

File tree

Cargo.lock

Lines changed: 25 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rust-version = "1.85.0"
2222

2323
[dependencies]
2424
clap = { version = "4.5.47", features = ["derive"] }
25-
serde = { version = "1.0.219", features = ["derive"] }
25+
serde = { version = "1.0.225", features = ["derive"] }
2626
anyhow = "1.0.99"
2727
dirs = "6.0.0"
2828
toml = "0.9.6"

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ cargo install hbackup
3737

3838
```sh
3939
bk add ~/my_path1/my_file1.txt ~/back
40-
# Add a job with compression
41-
bk add ~/my_path3/my_dir ~/back -c gzip
42-
bk add ~/my_path4/my_dir ~/back -c zip -l best
40+
# add a job with compression
41+
bk add ~/my_path2/my_dir ~/back -c gzip
42+
bk add ~/my_path3/my_dir ~/back -c zip -l best
43+
# add a job with mirroring (delete files in target that are not in source)
44+
bk add ~/my_path4/my_dir ~/back -m mirror
4345
```
4446

4547
### 3. List all jobs

README.zh-CN.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ cargo install hbackup
3838
```sh
3939
bk add ~/my_path1/my_file1.txt ~/back
4040
# 添加带压缩的任务
41-
bk add ~/my_path3/my_dir ~/back -c gzip
42-
bk add ~/my_path4/my_dir ~/back -c zip -l best
41+
bk add ~/my_path2/my_dir ~/back -c gzip
42+
bk add ~/my_path3/my_dir ~/back -c zip -l best
43+
# 添加带镜像(删除目标中源不存在的文件)的任务
44+
bk add ~/my_path4/my_dir ~/back -m mirror
4345
```
4446

4547
### 3. 查看所有任务

0 commit comments

Comments
 (0)