ae8b64941e
OpenSMTPD plans to gather all logs from filters. Therefore, a default logger that implements the smtpd (future) log interface has to be available.
25 lines
673 B
TOML
25 lines
673 B
TOML
[package]
|
|
name = "opensmtpd"
|
|
version = "0.1.0"
|
|
authors = ["Rodolphe Bréard <rodolphe@what.tf>"]
|
|
edition = "2018"
|
|
description = "Interface for OpenSMTPD filters"
|
|
keywords = ["opensmtpd", "filter", "mail"]
|
|
documentation = "https://docs.rs/opensmtpd/"
|
|
repository = "https://github.com/breard-r/rust-opensmtpd"
|
|
readme = "README.md"
|
|
license = "CECILL-B"
|
|
include = ["src/**/*", "Cargo.toml", "Licence_*.txt"]
|
|
|
|
[dependencies]
|
|
log = {version = "0.4", features = ["std"]}
|
|
nom = "4.1"
|
|
opensmtpd_derive = { path = "../opensmtpd-derive", version = "0.1" }
|
|
|
|
[[example]]
|
|
name = "dummy"
|
|
path = "examples/dummy.rs"
|
|
|
|
[[example]]
|
|
name = "counter"
|
|
path = "examples/session_event_counter.rs"
|