[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-testing"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The test harness: a database per test, and the app served on it."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"
[features]
contracts = ["sofie-db/contracts"]
flags = ["dep:sofie-flags"]
mail = [
"dep:sofie-mail",
"sofie/mail",
]
[lib]
name = "sofie_testing"
path = "src/lib.rs"
[[test]]
name = "display_zone"
path = "tests/display_zone.rs"
[[test]]
name = "harness"
path = "tests/harness.rs"
[[test]]
name = "teardown"
path = "tests/teardown.rs"
[dependencies.bytes]
version = "1.12.1"
[dependencies.http]
version = "1.5.0"
[dependencies.http-body-util]
version = "0.1.5"
[dependencies.hyper-util]
version = "0.1.21"
features = [
"tokio",
"server-auto",
"server-graceful",
"client-legacy",
]
[dependencies.serde]
version = "1.0.229"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sofie]
version = "0.1.0"
features = [
"engine",
"fixtures",
"postgres",
]
default-features = false
package = "sofie-framework"
[dependencies.sofie-auth]
version = "0.1.0"
[dependencies.sofie-core]
version = "0.1.0"
features = ["testing"]
[dependencies.sofie-db]
version = "0.1.0"
features = ["testing"]
[dependencies.sofie-flags]
version = "0.1.0"
optional = true
[dependencies.sofie-http]
version = "0.1.0"
features = ["testing"]
default-features = false
[dependencies.sofie-macros]
version = "0.1.0"
features = ["fixtures"]
[dependencies.sofie-mail]
version = "0.1.0"
features = ["testing"]
optional = true
[dependencies.sofie-postgres]
version = "0.1.0"
default-features = false
[dependencies.sofie-values]
version = "0.1.0"
features = ["fixtures"]
[dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"net",
"sync",
"time",
]
[dependencies.tokio-postgres]
version = "0.7.18"
[dev-dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"io-util",
"macros",
]
[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"