mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-24 05:08:18 +00:00
847cc21e9b
Add CBC and ecb Block mode aes encryption/decryption. To facilitate testing this better, and just to be nicer overall, adjust data-loader's KeySource::key_data variant to support loading raw binary bytes. Co-authored-by: Wez Furlong <wez@wezfurlong.org> Closes: https://github.com/KumoCorp/kumomta/pull/395
23 lines
671 B
TOML
23 lines
671 B
TOML
[package]
|
|
name = "data-loader"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["impl"]
|
|
impl = ["dep:vaultrs", "dep:config", "dep:mlua", "dep:tokio"]
|
|
|
|
[dependencies]
|
|
anyhow = {workspace=true}
|
|
config = {path="../config", optional=true}
|
|
mlua = {workspace=true, features=["vendored", "lua54", "async", "send", "serialize"], optional=true}
|
|
serde = {workspace=true}
|
|
serde_bytes.workspace = true
|
|
serde_json = {workspace=true}
|
|
tokio = {workspace=true, features=["fs"], optional=true}
|
|
vaultrs = {workspace=true, optional=true}
|
|
|
|
[dev-dependencies]
|
|
tokio = {workspace=true, features=["fs", "io-std", "process", "macros", "time", "io-util", "rt"]}
|
|
which = {workspace=true}
|