Skip to content

Commit 0aabb0c

Browse files
committed
Update to 5.1.0
1 parent 2525847 commit 0aabb0c

File tree

3 files changed

+25
-52
lines changed

3 files changed

+25
-52
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rust-analyzer.cargo.allFeatures": true
3+
}

CHANGELOG.md

Lines changed: 21 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,24 @@
11
# Changelog
22

3-
This project follows semantic versioning.
43

5-
Possible log types:
6-
7-
- `[added]` for new features.
8-
- `[changed]` for changes in existing functionality.
9-
- `[deprecated]` for once-stable features removed in upcoming releases.
10-
- `[removed]` for deprecated features removed in this release.
11-
- `[fixed]` for any bug fixes.
12-
- `[security]` to invite users to upgrade in case of vulnerabilities.
13-
14-
15-
### [Unreleased]
16-
17-
- [changed] The `FTPStream` struct was renamed to `FtpStream` (#17)
18-
- [added] The `host` parameter for `FtpStream` now accepts any type that
19-
implements `Into<String>` (#13)
20-
- [changed] FTP return code type changed from `isize` to `u32` (#18)
21-
- [changed] Type of port number returned by `pasv` changed from `isize`
22-
to `u32` (#18)
23-
- [changed] Improved error handling (#21)
24-
- [added] Ability to rename files on the server
25-
- ...
26-
27-
### [Unreleased from branch list_commands]
28-
- [changed] Separate main lib file and FTP stream implementation.
29-
- [changed] Regex is used to parse PASV response.
30-
- [added] The implementation of LIST command. See method `FtpStream::list`.
31-
- [added] The implementation of NLST command. See method `FtpStream::nlst`.
32-
- [added] The implementation of MDTM command. See method `FtpStream::mdtm`.
33-
- [added] The implementation of SIZE command. See method `FtpStream::size`.
34-
35-
### [Unreleased from branch retr_and_type]
36-
- [added] The implementation of RETR command. See method `FtpStream::retr`.
37-
- [added] The implementation of TYPE command. See method `FtpStream::transfer_type`.
38-
39-
### [Unreleased from branch ftps_support]
40-
- [added] Feature `secure` to enable FTPS support. Disabled be default.
41-
- [added] Feature `debug_print` to print command and responses to STDOUT. Disabled be default.
42-
- [added] DataStream which hides the underlying secure or insecure TCP stream.
43-
- [changed] Methods return `DataStream` instead of `TcpStream`.
44-
- [changed] Method `pasv` returns only IP and port and do not open new TCP stream.
45-
- [added] Method `data_command` which issues `pasv` to open the new `DataStream`.
46-
- [added] Methods `secure` and `insecure` to switch between secure and insecure modes.
47-
48-
49-
### [v0.0.7] (2016-01-11)
50-
51-
- No changelog up to this point
52-
53-
[Unreleased]: https://github.com/coredump-ch/coredumpbot/compare/761deb8...HEAD
54-
[0.0.7]: https://github.com/mattnenterprise/rust-ftp/compare/ef996f0...761deb8
4+
## 5.1.0
5+
- Add resume functionality
6+
- Added function to get server welcome message.
7+
- Use the peer address when the server responds with all zeroes like is the case with IPv6.
8+
- Added some small tests for types.
9+
- Make the test results clearer, using ? instead of asserting is_ok().
10+
## 5.0.0
11+
- Update to tokio 1.0.
12+
## 4.0.4
13+
- Minor bug in FtpStream::get.
14+
## 4.0.2
15+
- Make get_lines_from_stream work for unix newlines.
16+
- Add test for list returning unix newlines.
17+
## 4.0.1
18+
- Drop data stream before waiting close code.
19+
## 4.0.0
20+
- Initial release with 2018 edition and tokio support.
21+
22+
23+
## For versions 3.0 and below, check the original sync fork:
24+
https://raw.githubusercontent.com/mattnenterprise/rust-ftp/master/CHANGELOG.md

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async_ftp"
3-
version = "5.0.0"
3+
version = "5.1.0"
44
authors = ["Daniel García <[email protected]>", "Matt McCoy <[email protected]>"]
55
documentation = "https://docs.rs/async_ftp/"
66
repository = "https://github.com/dani-garcia/rust_async_ftp"

0 commit comments

Comments
 (0)