Skip to content

Commit

Permalink
Release version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdejager committed Apr 13, 2020
1 parent 8331d5b commit e31ea43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libunftp"
version = "0.7.0"
version = "0.8.0"
authors = [
"Agoston Horvath <[email protected]>",
"Dávid Kosztka <[email protected]>",
Expand All @@ -10,7 +10,7 @@ authors = [
"Steven Meunier <[email protected]>",
"Rob klein Gunnewiek <[email protected]>",
]
description = "Safe, fast and extensible FTP server library for Rust."
description = "Safe, fast and extensible FTP(S) server library for Rust."
documentation = "https://docs.rs/libunftp/"
repository = "https://github.com/bolcom/libunftp"
license = "Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ When you need to FTP, but don't want to.
The libunftp library drives [unFTP](https://github.com/bolcom/unFTP). Its a safe, fast and extensible FTP(S) server
implementation in [Rust](https://rust-lang.org) brought to you by the [bol.com techlab](https://techlab.bol.com).

Because of its plug-able authentication and storage backends (e.g. local filesystem,
Because of its plug-able authentication (PAM, JSON File, Generic REST) and storage backends (e.g. local filesystem,
[Google Cloud Storage](https://cloud.google.com/storage)) it's more flexible than traditional FTP servers and a
perfect match for the cloud.

Expand Down Expand Up @@ -40,7 +40,7 @@ Then add the libunftp, tokio & futures crates to your project's dependencies in

```toml
[dependencies]
libunftp = "0.7.0"
libunftp = "0.8.0"
tokio = { version = "0.2", features = ["full"] }
```

Expand All @@ -56,8 +56,8 @@ pub async fn main() {
let server = libunftp::Server::new_with_fs_root(ftp_home)
.greeting("Welcome to my FTP server")
.passive_ports(50000..65535);

server.listen("127.0.0.1:2121");
server.listen("127.0.0.1:2121").await;
}
```

Expand Down
1 change: 1 addition & 0 deletions src/server/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub struct FTPError {

/// A list specifying categories of FTP errors. It is meant to be used with the [FTPError] type.
#[derive(Eq, PartialEq, Debug, Fail)]
#[allow(dead_code)]
pub enum FTPErrorKind {
/// We encountered a system IO error.
#[fail(display = "Failed to perform IO")]
Expand Down

0 comments on commit e31ea43

Please sign in to comment.