This repository has been archived on 2023-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
rust-opensmtpd/opensmtpd/Cargo.toml
Rodolphe Breard 4b1f99db7e Allow the use of custom context
The main goal of events/reports is to update a context object, which
will be used in filters to generate a response. It is now possible to
use any object implementing both Clone and Default as a context object.
It is also possible to define no context at all.
2019-01-12 23:43:02 +01:00

28 lines
678 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 = "0.4"
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"
[dev-dependencies]
env_logger = "0.6"