Files
inbuxa-server/crates/directory/Cargo.toml
jcoffey-dev 3a2836ef24 One version for the workspace: 27.1.0-rc.1, shown as 27.1-rc.1
The version is set once, in [workspace.package] in Cargo.toml, and every
member inherits it. brand_version! now comes from it through a small proc
macro (proc_macros::display_version) that names it the way tags and images
will: 27.1.0 is "27.1", 27.1.3 is "27.1.3", 27.1.0-rc.1 is "27.1-rc.1".
Anything else, including the old dated scheme, fails the build.

brand_version_full! is gone, and with it the "(upstream 0.16.27)" suffix
in --version, the startup banner, the data-store console, telemetry, the
JMAP session's "implementation" field and IMAP ID. 0.16.27 was the last
import, so there is no upstream version left to show.

Semver's parser skips a pre-release or build suffix, so Semver::current()
can't panic on an RC. It has no callers today; it gets a test anyway.
2026-10-28 08:38:45 -07:00

44 lines
1.2 KiB
TOML

[package]
name = "directory"
version.workspace = true
edition = "2024"
[dependencies]
utils = { path = "../utils" }
store = { path = "../store" }
trc = { path = "../trc" }
registry = { path = "../registry" }
mail-parser = { version = "0.11" }
mail-builder = { version = "1.0" }
tokio = { version = "1.53", features = ["net"] }
ldap3 = { version = "0.12", default-features = false, features = ["tls-rustls-aws-lc-rs"] }
deadpool = { version = "0.13", features = ["managed", "rt_tokio_1"] }
ahash = { version = "0.8" }
pwhash = "1"
argon2 = "0.6.0"
pbkdf2 = { version = "0.13.0", features = ["phc"] }
scrypt = { version = "0.12.0", features = ["phc"] }
sha1 = "0.11"
sha2 = "0.11"
md5 = "0.8.1"
serde = { version = "1.0", features = ["derive"]}
totp-rs = { version = "6.0.0", features = ["otpauth"] }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "http2"] }
serde_json = "1.0"
base64 = "0.23"
nohash-hasher = "0.2.0"
jsonwebtoken = { version = "11.0.0", features = ["aws_lc_rs"] }
[dev-dependencies]
tokio = { version = "1.53", features = ["full"] }
[features]
test_mode = []
enterprise = []
mysql = []
postgres = []
sqlite = []
[lints]
workspace = true