[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-tenancy"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Organizations that own records, their members and roles, and invitations by email."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"
[features]
account-data = ["sofie-identity/account-data"]
billing = ["sofie/billing"]
[lib]
name = "sofie_tenancy"
path = "src/lib.rs"
[[test]]
name = "route_names"
path = "tests/route_names.rs"
[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
[[test]]
name = "tenancy"
path = "tests/tenancy.rs"
[dependencies.sofie]
version = "0.1.0"
features = [
"mail",
"resources",
"signed-links",
"soft-delete",
]
package = "sofie-framework"
[dependencies.sofie-identity]
version = "0.1.0"
features = ["sessions"]
[dev-dependencies.serde_json]
version = "1.0.151"
[dev-dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"macros",
]
[build-dependencies.sofie-engine]
version = "0.1.0"
features = ["compile"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unused_async = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"