[package]
edition = "2024"
rust-version = "1.88"
name = "origin-platform"
version = "0.2.0"
authors = ["Jörn Seidel <joern.seidel@casoon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform contracts for Origin: the OS capabilities domain code is allowed to depend on."
homepage = "https://casoon.dev"
readme = "README.md"
keywords = [
"tauri",
"platform",
"os-abstraction",
"notifications",
]
categories = [
"os",
"rust-patterns",
]
license = "MIT"
repository = "https://github.com/casoon/origin"
[features]
default = []
testing = []
[lib]
name = "origin_platform"
path = "src/lib.rs"
[[test]]
name = "memory_contract"
path = "tests/memory_contract.rs"
[dependencies.async-trait]
version = "0.1.92"
[dependencies.origin-domain]
version = "0.2.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.tokio]
version = "1.53"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.tokio]
version = "1.53"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"rt-multi-thread",
"macros",
]
[lints.clippy]
dbg_macro = "warn"
print_stdout = "warn"
todo = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"