libunftp v0.17.0
·
176 commits
to master
since this release
The main focus of this release was the removal of contained authentication and storage back-ends from the libunftp crate
and into their own crates. As you can imagine this brings about breaking changes. For an example of the impact see this Pull Request in the unFTP server repo
Source code for these crates can still be found in this repository under the crates
directory.
Breaking Changes:
- Split the GCS back-end into crate unftp-sbe-gcs
- Split the Filesystem back-end into crate unftp-sbe-fs
- Split the JSON file authenticator into crate unftp-auth-jsonfile
- Split the PAM authenticator into crate unftp-auth-pam
- Split the REST authenticator into crate unftp-auth-rest
- Changed some public API names to adhere to Rust naming conventions:
- PAMAuthenticator became PamAuthenticator
- PassiveHost::IP became PassiveHost::Ip
- PassiveHost::DNS became PassiveHost::Dns
- RestError::HTTPStatusError became RestError::HttpStatusError
- RestError::JSONDeserializationError became RestError::JsonDeserializationError
- RestError::JSONSerializationError became RestError::JsonSerializationError
- The
Server::with_fs
method moved into theServerExt
extension trait ofunftp-sbe-fs
- The
Server::with_fs_and_auth
method was removed. Use theServer::with_authenticator
method instead.
Other changes:
- Upgraded outdated dependencies