Eight conflicted files resolved, plus the lock file and the schema:
- crates/services/src/task_manager/spam_classifier.rs: upstream's rules
update now replaces existing rules, DNSBL servers, lookups and file
extensions, keeping only whether each is on. Taken, with one difference:
an object an admin edited is kept as it is. Every object an update writes
is fingerprinted (content without `enable`, SHA-256, stored under
SUBSPACE_INBUXA "Sf"), and only one that still matches is replaced.
Scores are never replaced, as upstream has it. The AU-1.10 summary record
now names what was added, replaced and kept, and the bundled rules are
marked applied only when the update fully succeeded, so a failure runs
again on the next start. The marker becomes "3.0.2+2", which runs the
update once on upgrade to fingerprint every rule still as bundled.
- crates/common/src/network/autoconfig/autodiscover.rs: upstream's rewrite
(implicit TLS first, labeled SSL), with the per-protocol switches (LP-7,
LP-14a) passed in as a filter.
- crates/store/src/backend/mysql/{search,write}.rs: upstream's chunked
deletes (no unbounded first DELETE, stop on a short chunk, halve the
chunk on the new chunk-too-large errors) inside the fork's query timeout.
- crates/smtp/src/lib.rs: the fork's queue spawn kept. It already fixed the
stall upstream fixes here (a node without outboundMta stops accepting
mail at about 1024 queued messages), and follows role changes live.
- crates/jmap/src/registry/mapping/bootstrap.rs: the log path stays
/var/log/inbuxa/; upstream's PowerDNS mapping taken.
- crates/main/Cargo.toml: the AGPL-only license kept, version 0.16.24.
- tests/src/jmap/principal/get.rs: the fork's capabilities kept.
- resources/schema/schema.json.gz: merged as JSON; upstream relabeled the
vendor Sieve extensions "(Stalwart)", kept as "(vnd.inbuxa)".
- Cargo.lock: upstream's, with the fork's crates added by Cargo.
Also:
- tests/src/smtp/inbound/spam_rules_kept.rs: an edited rule survives an
update, an unedited one is updated, rules from before fingerprints are
handled, and the audit summary says so. Upstream's own spam_rules test
passes unchanged.
- tests/src/smtp/reporting/reschedule.rs moves to port 19058; upstream's
new spam_rules test took 19057.
- tools/fork/renames.py renames the "(Stalwart)" labels and the default
log path, so neither conflicts again.
- tools/fork/notice-check.py compares against the newest snapshot in the
checked-out history instead of the upstream branch head, so moving the
branch no longer fails other open pull requests.
- tests/src/directory/issuer.rs (since v0.16.23) stays out, and is on the
build check's known list: it tests issuer-based directory routing, which
the fork doesn't have (DIR-2).
- Strip report: docs/fork/strip-reports/v0.16.24.{md,json}.
103 lines
3.7 KiB
TOML
103 lines
3.7 KiB
TOML
[package]
|
|
name = "common"
|
|
version = "0.16.24"
|
|
edition = "2024"
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
utils = { path = "../utils" }
|
|
nlp = { path = "../nlp" }
|
|
store = { path = "../store" }
|
|
trc = { path = "../trc" }
|
|
directory = { path = "../directory" }
|
|
coordinator = { path = "../coordinator" }
|
|
types = { path = "../types" }
|
|
registry = { path = "../registry" }
|
|
inbuxa-features = { path = "../features" }
|
|
jmap_proto = { path = "../jmap-proto" }
|
|
sieve-rs = { version = "0.7", features = ["rkyv", "serde"] }
|
|
mail-parser = { version = "0.11", features = ["full_encoding"] }
|
|
mail-builder = { version = "1.0" }
|
|
mail-auth = { version = "0.13", features = ["generate", "arc"] }
|
|
smtp-proto = { version = "0.2.3", features = ["rkyv"] }
|
|
dns-update = { version = "0.5" }
|
|
calcard = { version = "0.3", features = ["rkyv"] }
|
|
ahash = { version = "0.8.12", features = ["serde"] }
|
|
parking_lot = "0.12.5"
|
|
regex = "1.13.1"
|
|
proxy-header = { version = "0.1.2", features = ["tokio"] }
|
|
arc-swap = "1.9.2"
|
|
rustls = { version = "0.23.43", default-features = false, features = ["std", "aws_lc_rs", "tls12"] }
|
|
rustls-pemfile = "2.2"
|
|
rustls-pki-types = { version = "1" }
|
|
aws-lc-rs = { version = "1" }
|
|
tokio = { version = "1.53", features = ["net", "macros"] }
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["aws_lc_rs", "tls12"] }
|
|
futures = "0.3"
|
|
rcgen = { version = "0.14", default-features = false, features = ["crypto", "pem", "aws_lc_rs"] }
|
|
reqwest = { version = "0.13", default-features = false, features = ["rustls", "http2", "stream"]}
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
serde_json = "1.0"
|
|
base64 = "0.23"
|
|
x509-parser = "0.18"
|
|
pem = "4.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
hyper = { version = "1.11.1", features = ["server", "http1", "http2"] }
|
|
opentelemetry = { git = "https://github.com/stalwartlabs/opentelemetry-rust" }
|
|
opentelemetry_sdk = { git = "https://github.com/stalwartlabs/opentelemetry-rust" }
|
|
opentelemetry-otlp = { git = "https://github.com/stalwartlabs/opentelemetry-rust", default-features = false, features = ["reqwest-client", "http-proto", "trace", "metrics", "logs", "internal-logs", "grpc-tonic", "tls-aws-lc", "tls-roots", "reqwest-rustls"] }
|
|
opentelemetry-semantic-conventions = { git = "https://github.com/stalwartlabs/opentelemetry-rust" }
|
|
prometheus = { version = "0.14", default-features = false }
|
|
imagesize = "0.15"
|
|
sha1 = "0.11"
|
|
sha2 = "0.11"
|
|
md5 = "0.8.1"
|
|
whatlang = "0.18"
|
|
idna = "1.1"
|
|
decancer = "4.0.0"
|
|
unicode-security = "0.1.2"
|
|
infer = "0.22"
|
|
bincode = { version = "2.0.1", features = ["serde"] }
|
|
hostname = "0.4.2"
|
|
zip = "8.6"
|
|
xxhash-rust = { version = "0.8.18", features = ["xxh3"] }
|
|
psl = "2"
|
|
aes-gcm-siv = "0.12.1"
|
|
jsonwebtoken = { version = "11.0.0", features = ["aws_lc_rs"] }
|
|
rsa = "0.9.10"
|
|
p256 = { version = "0.13", features = ["ecdh", "ecdsa", "pkcs8", "pem"] }
|
|
p384 = { version = "0.13", features = ["ecdh"] }
|
|
hashify = "0.2"
|
|
rkyv = { version = "0.8.18", features = ["little_endian"] }
|
|
tinyvec = { version = "1.12.0", features = ["alloc"] }
|
|
compact_str = { version = "0.10.0", features = ["rkyv", "serde"] }
|
|
lz4_flex = { version = "0.14", features = ["frame"], default-features = false }
|
|
hickory-proto = "0.26.3"
|
|
nohash-hasher = "0.2.0"
|
|
quick_cache = "0.7"
|
|
rasn = "0.28"
|
|
rasn-pkix = "0.28"
|
|
sequoia-openpgp = { version = "2.4", default-features = false, features = ["crypto-rust", "allow-experimental-crypto", "allow-variable-time-crypto"] }
|
|
zxcvbn = "3.1.1"
|
|
pkcs8 = { version = "0.10.2", features = ["alloc", "std"] }
|
|
quick-xml = "0.41"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
privdrop = "0.5.6"
|
|
libc = "0.2.189"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
socket2 = "0.6"
|
|
|
|
[features]
|
|
test_mode = []
|
|
dev_mode = []
|
|
enterprise = []
|
|
foundation = []
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.53", features = ["full"] }
|
|
|
|
[lints]
|
|
workspace = true
|