Link to crates.io, changelog boilerplate, formatting

This commit is contained in:
David Bürgin 2023-11-28 21:04:03 +01:00
parent 300ce9f1c2
commit 95d1324473
10 changed files with 19 additions and 10 deletions

View file

@ -1,5 +1,12 @@
# SpamAssassin Milter changelog
All notable user-facing changes are listed in this changelog.
This project follows Rust-flavoured [semantic versioning], with changes to the
minimum supported Rust version being considered breaking changes.
[semantic versioning]: https://doc.rust-lang.org/cargo/reference/semver.html
## 0.4.0 (2023-01-29)
The minimum supported Rust version is now 1.61.0.

View file

@ -39,7 +39,8 @@ Postfix, and for delivery [Dovecot] with LMTP and the [Sieve plugin].
## Installation
SpamAssassin Milter is a [Rust] project. It can be installed using Cargo as
usual:
usual. For example, use the following command to install the latest version
published on [crates.io]:
```
cargo install --locked spamassassin-milter
@ -53,6 +54,7 @@ path when building the application.
The minimum supported Rust version is 1.61.0.
[Rust]: https://www.rust-lang.org
[crates.io]: https://crates.io/crates/spamassassin-milter
## Usage
@ -263,4 +265,4 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see https://www.gnu.org/licenses/.
this program. If not, see <https://www.gnu.org/licenses/>.

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use crate::{
client::{Client, ReceivedInfo, Spamc},

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use crate::{
config::Config,

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use std::mem;

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use ipnet::IpNet;
use std::{collections::HashSet, net::IpAddr};

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use crate::{
collections::{StrVecMap, StrVecSet},

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use indymilter::{ActionError, SmtpReplyError};
use std::{

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
//! The SpamAssassin Milter application library.
//!

View file

@ -12,7 +12,7 @@
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see https://www.gnu.org/licenses/.
// this program. If not, see <https://www.gnu.org/licenses/>.
use futures::stream::StreamExt;
use indymilter::Listener;