45639f18c0
Threads are a bad idea because for now the filter API is not guaranteed to be state-less. The interface is now synchronous, which should be enough for most filters. The refactoring brought other changes, the most important being the concept of modular input sources and output destination and the complete rewrite of the procedural macro.
19 lines
545 B
TOML
19 lines
545 B
TOML
[package]
|
|
name = "opensmtpd_derive"
|
|
version = "0.2.0"
|
|
authors = ["Rodolphe Bréard <rodolphe@what.tf>"]
|
|
edition = "2018"
|
|
description = "Interface for OpenSMTPD filters"
|
|
keywords = ["opensmtpd", "filter", "mail"]
|
|
documentation = "https://docs.rs/opensmtpd-derive/"
|
|
repository = "https://github.com/breard-r/rust-opensmtpd"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
include = ["src/**/*", "Cargo.toml", "LICENSE-*.txt"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
quote = "1.0"
|
|
syn = { version = "1.0", features = ["full", "extra-traits"] }
|