Skip to content

Commit

Permalink
Release unftp-sbe-fs v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdejager committed May 16, 2024
1 parent 8e2a026 commit 2e2e69c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog

### unftp-auth-gcs v0.2.6
### unftp-sbe-fs v0.2.6

- Compiled against libunftp v0.20.0
- Fixed the format of the LIST command
- Upgraded dependencies

### unftp-sbe-gcs v0.2.6

- Compiled against libunftp v0.20.0
- Fix listing when root path is set (#509)
Expand Down
4 changes: 2 additions & 2 deletions crates/unftp-sbe-fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp-sbe-fs"
version = "0.2.4"
version = "0.2.5"
description = "A storage back-end for libunftp, storing files on local disk"
authors = [
"Agoston Horvath <[email protected]>",
Expand Down Expand Up @@ -51,7 +51,7 @@ getrandom = "0.2.15"

[target.'cfg(target_os = "freebsd")'.dev-dependencies]
capsicum = { version = "0.3.0", features = ["casper"] }
capsicum-net = { version = "0.1.0", features = ["tokio"], git = "https://github.com/asomers/capsicum-net", rev = "c6fc574" }
#capsicum-net = { version = "0.1.0", features = ["tokio"], git = "https://github.com/asomers/capsicum-net", rev = "c6fc574" }

[lints]
workspace = true
6 changes: 4 additions & 2 deletions crates/unftp-sbe-fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the libunftp and tokio crates to your project's dependencies in `Cargo.toml`
```toml
[dependencies]
libunftp = "0.20.0"
unftp-sbe-fs = "0.2.2"
unftp-sbe-fs = "0.2.5"
tokio = { version = "1", features = ["full"] }
```

Expand All @@ -37,7 +37,9 @@ pub async fn main() {
let ftp_home = std::env::temp_dir();
let server = libunftp::Server::with_fs(ftp_home)
.greeting("Welcome to my FTP server")
.passive_ports(50000..65535);
.passive_ports(50000..65535)
.build()
.unwrap();

server.listen("127.0.0.1:2121").await;
}
Expand Down
8 changes: 6 additions & 2 deletions crates/unftp-sbe-gcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ use std::path::PathBuf;
pub async fn main() {
let server = Server::with_gcs("my-bucket", PathBuf::from("/unftp"), AuthMethod::WorkloadIdentity(None))
.greeting("Welcome to my FTP server")
.passive_ports(50000..65535);
.passive_ports(50000..65535)
.build()
.unwrap();

server.listen("127.0.0.1:2121").await;
}
Expand All @@ -50,7 +52,9 @@ pub async fn main() {
Box::new(move || CloudStorage::with_bucket_root("my-bucket", PathBuf::from("/ftp-root"), AuthMethod::WorkloadIdentity(None)))
)
.greeting("Welcome to my FTP server")
.passive_ports(50000..65535);
.passive_ports(50000..65535)
.build()
.unwrap();

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

0 comments on commit 2e2e69c

Please sign in to comment.