mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-28 09:16:15 +00:00
This commit also includes a policy helper `policy_extras.listener_domains` to make it convenient to define listener domains in toml and/or json files. To facilitate this, the DomainMap rust structure has been exposed to lua code via the new `kumo.domain_map.new` function.
17 lines
403 B
TOML
17 lines
403 B
TOML
[package]
|
|
name = "domain-map"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
config = {path="../config"}
|
|
mlua = {version="0.8", features=["vendored", "lua54", "async", "send", "serialize"]}
|
|
serde = {version="1.0", features=["derive"]}
|
|
serde_json = "1.0"
|
|
|
|
[dev-dependencies]
|
|
k9 = "0.11"
|