Skip to content

Commit

Permalink
4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Aug 23, 2021
1 parent 59fd596 commit 44452a1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Changelog

- [Changelog](#changelog)
- [4.1.2](#412)
- [4.1.1](#411)
- [4.1.0](#410)
- [4.0.2](#402)
- [4.0.1](#401)
- [4.0.0](#400)

## 4.1.2

Released on 23/08/2021

- Renamed `InvalidResponse` to `UnexpectedResponse`, which makes more sense
- Renamed `File::from_unix_line` to `File::from_posix_line`
- Renamed `UnixPexQuery` to `PosixPexQuery`
- Made `parse_dostime` private

## 4.1.1

Released on 22/08/2021
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "suppaftp"
version = "4.1.1"
version = "4.1.2"
authors = ["Matt McCoy <mattnenterprise@yahoo.com>", "Christian Visintin <christian.visintin1997@gmail.com>"]
edition = "2018"
documentation = "https://docs.rs/suppaftp/"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</p>

<p align="center">Developed by <a href="https://veeso.github.io/">veeso</a> and <a href="/~https://github.com/mattnenterprise">Matt McCoy</a></p>
<p align="center">Current version: 4.1.1 (22/08/2021)</p>
<p align="center">Current version: 4.1.2 (23/08/2021)</p>

[![Number of Crate Downloads](https://img.shields.io/crates/d/suppaftp.svg)](https://crates.io/crates/suppaftp)
[![Crate Version](https://img.shields.io/crates/v/suppaftp.svg)](https://crates.io/crates/suppaftp)
Expand Down Expand Up @@ -61,7 +61,7 @@ SuppaFTP is a FTP/FTPS client library written in Rust, with both support for syn
To get started, first add **suppaftp** to your dependencies:

```toml
suppaftp = "4.1.1"
suppaftp = "4.1.2"
```

### Features
Expand All @@ -71,15 +71,15 @@ suppaftp = "4.1.1"
If you want to enable **support for FTPS**, you must enable the `secure` feature in your cargo dependencies. FTPS support is achieved through [rust-native-tls](/~https://github.com/sfackler/rust-native-tls), so check if your target systems are compatible.

```toml
suppaftp = { version = "4.1.1", features = ["secure"] }
suppaftp = { version = "4.1.2", features = ["secure"] }
```

#### Async support

If you want to enable **async** support, you must enable `async` feature in your cargo dependencies.

```toml
suppaftp = { version = "4.1.1", features = ["async"] }
suppaftp = { version = "4.1.2", features = ["async"] }
```

⚠️ If you want to enable both **secure** and **async** you must use the **async-secure** feature ⚠️
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@
//! First of you need to add **suppaftp** to your project dependencies:
//!
//! ```toml
//! suppaftp = "4.1.1"
//! suppaftp = "4.1.2"
//! ```
//!
//! If you want to enable TLS support to work with **FTPS** you need to enable the **secure** feature in your dependencies:
//!
//! ```toml
//! suppaftp = { version = "4.1.1", features = ["secure"] }
//! suppaftp = { version = "4.1.2", features = ["secure"] }
//! ```
//!
//! While if you want to go async, then you must enable the **async** feature or if you want to mix secure and async then there is the super feature **async-secure**!
//!
//! ```toml
//! suppaftp = { version = "4.1.1", features = ["async"] }
//! suppaftp = { version = "4.1.2", features = ["async"] }
//! # or
//! suppaftp = { version = "4.1.1", features = ["async-secure"] }
//! suppaftp = { version = "4.1.2", features = ["async-secure"] }
//! ```
//!
//! Keep in mind that you **can't** use the **sync** and the **async** version of this library at the same time!
Expand Down

0 comments on commit 44452a1

Please sign in to comment.