sofie-tenancy 0.4.0

Organizations that own records, their members and roles, and invitations by email.
Documentation
[package]
name = "sofie-tenancy"
description = "Organizations that own records, their members and roles, and invitations by email."
edition.workspace = true
rust-version.workspace = true
version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[features]
# Members and pending invitations held to the seats the organization's plan allows.
billing = ["sofie/billing"]
# Memberships in an account's export, ended when it closes, which the last owner of an
# organization may not (`OrganizationMemberships`, registered by the app).
account-data = ["sofie-identity/account-data"]

[dependencies]
sofie = { workspace = true, features = ["mail", "resources", "signed-links", "soft-delete"] }
sofie-identity = { workspace = true, features = ["sessions"] }

[build-dependencies]
sofie-engine = { workspace = true, features = ["compile"] }

[dev-dependencies]
# Its own seats and account closing tests run in every test run.
sofie-tenancy = { path = ".", features = ["account-data", "billing"] }
# Spans give route names; its SQLite tables checked against its records.
sofie = { package = "sofie-framework", path = "../sofie", features = ["capture", "sqlite"] }
# Committed changes read to see which screens a closing refreshes.
sofie-db = { path = "../sofie-db", features = ["live"] }
serde_json.workspace = true
sofie-testing = { path = "../sofie-testing", features = ["mail"] }
tokio = { workspace = true, features = ["macros"] }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true