Skip to content

Commit 8a873da

Browse files
committed
Release libunftp v0.22.0
- Update the changelog - Fix the wrong version mentioned in the changelog as described in issue [#554](#554) - Update version numbers Closes #554, #552, #478, #52
1 parent 7762f11 commit 8a873da

12 files changed

Lines changed: 32 additions & 24 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
### Upcoming release
3+
### libunftp 0.22.0
44

55
- [#550](https://github.com/bolcom/libunftp/pull/550) Split Authenticators from the Subject Resolving (UserDetail
66
Providing) concern:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libunftp"
3-
version = "0.21.1" # remember to update html_root_url
3+
version = "0.22.0" # remember to update html_root_url
44
authors = [
55
"Agoston Horvath <ahorvath@bol.com>",
66
"Dávid Kosztka <dkosztka@bol.com>",

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ When you need to FTP, but don't want to.
1010

1111
![logo](logo.png)
1212

13-
[**Website**](https://unftp.rs) | [**API Docs**](https://docs.rs/libunftp) | [**unFTP**](https://github.com/bolcom/unFTP)
13+
[**Website**](https://unftp.rs) | [**API Docs**](https://docs.rs/libunftp) | [**unFTP
14+
**](https://github.com/bolcom/unFTP)
1415

1516
The libunftp library drives [unFTP](https://github.com/bolcom/unFTP). It's an extensible, async, cloud orientated FTP(S)
1617
server implementation in [Rust](https://rust-lang.org) brought to you by the [bol.com techlab](https://techlab.bol.com).
@@ -43,12 +44,15 @@ Known storage back-ends:
4344
* [unftp-sbe-fs](https://crates.io/crates/unftp-sbe-fs) - Stores files on the local filesystem
4445
* [unftp-sbe-gcs](https://crates.io/crates/unftp-sbe-gcs) - Stores files in Google Cloud Storage
4546
* [unftp-sbe-iso](https://crates.io/crates/unftp-sbe-iso) - Provides FTP access to ISO 9660 files
46-
* [unftp-sbe-opendal](https://crates.io/crates/unftp-sbe-opendal) - Provides access to various storage services through Apache OpenDAL (supports S3, Azure Blob Storage, and more)
47-
* [unftp-sbe-restrict](https://crates.io/crates/unftp-sbe-restrict) - Wraps another storage back-end in order to restrict
47+
* [unftp-sbe-opendal](https://crates.io/crates/unftp-sbe-opendal) - Provides access to various storage services through
48+
Apache OpenDAL (supports S3, Azure Blob Storage, and more)
49+
* [unftp-sbe-restrict](https://crates.io/crates/unftp-sbe-restrict) - Wraps another storage back-end in order to
50+
restrict
4851
the FTP operations a user can do i.e. provide authorization.
4952
* [unftp-sbe-rooter](https://crates.io/crates/unftp-sbe-rooter) - Wraps another storage back-end in order to root a user
5053
to a specific home directory.
51-
* [unftp-sbe-webdav](https://crates.io/crates/unftp-sbe-webdav) - A WebDAV storage back-end providing translation between FTP & WebDAV
54+
* [unftp-sbe-webdav](https://crates.io/crates/unftp-sbe-webdav) - A WebDAV storage back-end providing translation
55+
between FTP & WebDAV
5256

5357
Known authentication back-ends:
5458

@@ -68,9 +72,9 @@ To use a specific provider, enable the corresponding feature in your `Cargo.toml
6872

6973
```toml
7074
[dependencies]
71-
libunftp = { version = "0.21.1", features = ["ring"] } # Use ring
75+
libunftp = { version = "0.22.0", features = ["ring"] } # Use ring
7276
# or
73-
libunftp = { version = "0.21.1", features = ["aws_lc_rs"] } # Use aws-lc-rs (default)
77+
libunftp = { version = "0.22.0", features = ["aws_lc_rs"] } # Use aws-lc-rs (default)
7478
```
7579

7680
The default provider is `aws-lc-rs` for backward compatibility. Choose the provider that best fits your needs:
@@ -82,22 +86,26 @@ The default provider is `aws-lc-rs` for backward compatibility. Choose the provi
8286

8387
The following feature flags are included in the default features but can be disabled to reduce dependencies:
8488

85-
- `prometheus`: Enables Prometheus metrics integration. When enabled, you can collect metrics about FTP operations, sessions, and transfers using the `.metrics()` method on the server builder. **Enabled by default.**
89+
- `prometheus`: Enables Prometheus metrics integration. When enabled, you can collect metrics about FTP operations,
90+
sessions, and transfers using the `.metrics()` method on the server builder. **Enabled by default.**
8691

87-
- `proxy_protocol`: Enables [Proxy Protocol](https://www.haproxy.com/blog/haproxy/proxy-protocol/) support. This allows the server to receive client connection information (IP address and port) when behind a proxy or load balancer. **Enabled by default.**
92+
- `proxy_protocol`: Enables [Proxy Protocol](https://www.haproxy.com/blog/haproxy/proxy-protocol/) support. This allows
93+
the server to receive client connection information (IP address and port) when behind a proxy or load balancer. *
94+
*Enabled by default.**
8895

89-
To disable these features and reduce dependencies, use `default-features = false` and explicitly enable only what you need:
96+
To disable these features and reduce dependencies, use `default-features = false` and explicitly enable only what you
97+
need:
9098

9199
```toml
92100
[dependencies]
93-
libunftp = { version = "0.21.1", default-features = false, features = ["aws_lc_rs"] }
101+
libunftp = { version = "0.22.0", default-features = false, features = ["aws_lc_rs"] }
94102
```
95103

96104
Or enable all features explicitly:
97105

98106
```toml
99107
[dependencies]
100-
libunftp = { version = "0.21.1", features = ["all"] }
108+
libunftp = { version = "0.22.0", features = ["all"] }
101109
```
102110

103111
## Prerequisites
@@ -118,7 +126,7 @@ add. Here we choose the [file system back-end](https://crates.io/crates/unftp-sb
118126

119127
```toml
120128
[dependencies]
121-
libunftp = "0.21.1"
129+
libunftp = "0.22.0"
122130
unftp-sbe-fs = "0.2"
123131
tokio = { version = "1", features = ["full"] }
124132
```

crates/unftp-auth-jsonfile/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ base64 = "0.22.1"
2323
bytes = "1.11.1"
2424
ipnet = "2.11.0"
2525
iprange = "0.6.7"
26-
libunftp = { version = "0.21.1", path = "../../", default-features = false }
26+
libunftp = { version = "0.22.0", path = "../../", default-features = false }
2727
ring = "0.17.14"
2828
serde = { version = "1.0.228", features = ["derive"] }
2929
serde_json = "1.0.149"

crates/unftp-auth-pam/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ readme = "README.md"
2020

2121
[dependencies]
2222
async-trait = "0.1.88"
23-
libunftp = { version = "0.21.1", path = "../../", default-features = false }
23+
libunftp = { version = "0.22.0", path = "../../", default-features = false }
2424
tracing = { version = "0.1.44", default-features = false }
2525
tracing-attributes = "0.1.31"
2626

crates/unftp-auth-rest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ http-body-util = "0.1.3"
2323
hyper = { version = "1.8.1", features = ["client", "http1"] }
2424
hyper-rustls = "0.27.7"
2525
hyper-util = "0.1.20"
26-
libunftp = { version = "0.21.1", path = "../../", default-features = false }
26+
libunftp = { version = "0.22.0", path = "../../", default-features = false }
2727
percent-encoding = "2.3.2"
2828
regex = "1.12.3"
2929
serde = { version = "1.0.228", features = ["derive"] }

crates/unftp-sbe-fs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cfg-if = "1.0"
2929
cap-std = "4.0"
3030
futures = { version = "0.3.31", default-features = false, features = ["std"] }
3131
lazy_static = "1.5.0"
32-
libunftp = { version = "0.21.1", path = "../../", default-features = false }
32+
libunftp = { version = "0.22.0", path = "../../", default-features = false }
3333
path_abs = "0.5.1"
3434
tokio = { version = "1.49.0", features = ["rt", "net", "sync", "io-util", "time", "fs"] }
3535
tokio-stream = "0.1.18"

crates/unftp-sbe-fs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add the libunftp and tokio crates to your project's dependencies in `Cargo.toml`
2121

2222
```toml
2323
[dependencies]
24-
libunftp = "0.21.1"
24+
libunftp = "0.22.0"
2525
unftp-sbe-fs = "0.2.6"
2626
tokio = { version = "1", features = ["full"] }
2727
```

crates/unftp-sbe-gcs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ http-body-util = "0.1.3"
2727
hyper = { version = "1.8.1", features = ["client", "http1"] }
2828
hyper-rustls = "0.27.7"
2929
hyper-util = "0.1.20"
30-
libunftp = { version = "0.21.1", path = "../../", default-features = false }
30+
libunftp = { version = "0.22.0", path = "../../", default-features = false }
3131
mime = "0.3.17"
3232
percent-encoding = "2.3.2"
3333
serde = { version = "1.0.228", features = ["derive"] }

crates/unftp-sbe-gcs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add the needed dependencies to Cargo.toml:
1515

1616
```toml
1717
[dependencies]
18-
libunftp = "0.21.1"
18+
libunftp = "0.22.0"
1919
unftp-sbe-gcs = "0.2.7"
2020
tokio = { version = "1", features = ["full"] }
2121
```

0 commit comments

Comments
 (0)