Skip to content

Commit 7b2aabb

Browse files
committed
update readme
1 parent 0b339a6 commit 7b2aabb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This is the first version of a pure Rust SMB client. Currently, the client provides basic functionalities (authentication, file transfer, info query/set) for SMB3.1.1 dialect only.
33

44
## Roadmap
5-
- [ ] Async support (top priority).
5+
- [x] Async support (top priority).
66
- [ ] Older SMB dialects.
77
- [ ] Additional compression/encryption/signing algorithms.
88
- [ ] Performance tuning.
@@ -13,14 +13,15 @@ This is the first version of a pure Rust SMB client. Currently, the client provi
1313
The smb-cli crate implements a simple CLI for the SMB client.
1414
- It supports copying a file from a remote SMB server to a local machine.
1515
```sh
16-
cargo run -- -u LocalAdmin -p 123456 copy "\\\\172.16.204.149\MyShare\ntoskrnl.exe" ./test.exe
16+
cargo run --features async -- -u LocalAdmin -p 123456 copy "\\\\172.16.204.149\MyShare\ntoskrnl.exe" ./test.exe
1717
```
1818
- And querying information about a file or a directory:
1919
```sh
20-
cargo run -- -u LocalAdmin -p 123456 info "\\\\172.16.204.149\MyShare\ntoskrnl.exe" # file
21-
cargo run -- -u LocalAdmin -p 123456 info "\\\\172.16.204.149\MyShare" # directory
20+
cargo run --features async -- -u LocalAdmin -p 123456 info "\\\\172.16.204.149\MyShare\ntoskrnl.exe" # file
21+
cargo run --features async -- -u LocalAdmin -p 123456 info "\\\\172.16.204.149\MyShare" # directory
2222
```
2323
- View additional options:
2424
```sh
2525
cargo run -- --help
26-
```
26+
```
27+
- Note: The `sync` feature is also available for the CLI, but no major advantages are used in the current version.

0 commit comments

Comments
 (0)