[package]
edition = "2024"
name = "tilo-process-services"
version = "0.5.1"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The services an app borrows from its process."
homepage = "https://tilo.so"
readme = "supporting-crate.md"
license = "MIT"
repository = "https://code.tilo.so/tilo/tilo"
resolver = "2"
[features]
default = ["models"]
host-portals = [
"tilo-dialogs/portal-client",
"tilo-notify/host-portals",
]
models = [
"dep:agent-provider-config",
"dep:tilo-model-client",
]
mpris = [
"native",
"dep:zbus",
"dep:tilo-media",
]
native = [
"tilo-process/native",
"dep:tokio",
"dep:jni",
"dep:tilo-files",
"tilo-files/watch",
"tilo-secrets/host-keyring",
]
portal = [
"native",
"dep:ashpd",
]
system-status = ["tilo-net/system-status"]
test-support = [
"tilo-dialogs/test-support",
"tilo-clock/test-support",
]
[lib]
name = "tilo_process_services"
path = "src/lib.rs"
[dependencies.agent-provider-config]
version = "=0.5.1"
optional = true
package = "tilo-agent-provider-config"
[dependencies.image]
version = "0.25.10"
features = [
"png",
"jpeg",
]
default-features = false
[dependencies.tilo-action-services]
version = "=0.5.1"
[dependencies.tilo-clipboard]
version = "=0.5.1"
[dependencies.tilo-clock]
version = "=0.5.1"
[dependencies.tilo-dialogs]
version = "=0.5.1"
[dependencies.tilo-files]
version = "=0.5.1"
optional = true
[dependencies.tilo-lock]
version = "=0.5.1"
[dependencies.tilo-media]
version = "=0.5.1"
optional = true
[dependencies.tilo-net]
version = "=0.5.1"
default-features = false
[dependencies.tilo-notify]
version = "=0.5.1"
[dependencies.tilo-process]
version = "=0.5.1"
[dependencies.tilo-rt]
version = "=0.5.1"
[dependencies.tilo-secrets]
version = "=0.5.1"
[dependencies.tilo-tts]
version = "=0.5.1"
[dependencies.tokio]
version = "1.53.3"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
[target.'cfg(all(unix, not(target_os = "android")))'.dependencies.zbus]
version = "5.16"
features = [
"p2p",
"tokio",
]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tilo-model-client]
version = "=0.5.1"
features = ["runtime-client"]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.workspace-hack]
version = "0.1"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.ashpd]
version = "0.13"
features = [
"tokio",
"screencast",
]
optional = true
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.serde]
version = "1.0.228"
features = ["derive"]
[target.'cfg(target_os = "linux")'.dependencies.serde_json]
version = "1.0"
[target.'cfg(target_os = "linux")'.dependencies.tilo-actions]
version = "=0.5.1"
[lints.clippy]
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
as_conversions = "allow"
as_ptr_cast_mut = "deny"
clear_with_drain = "deny"
collection_is_never_read = "deny"
debug_assert_with_mut_call = "deny"
disallowed_methods = "deny"
duration_suboptimal_units = "allow"
equatable_if_let = "deny"
exit = "deny"
expect_used = "deny"
future_not_send = "deny"
indexing_slicing = "deny"
iter_with_drain = "deny"
literal_string_with_formatting_args = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_collect = "deny"
needless_pass_by_ref_mut = "deny"
non_send_fields_in_send_ty = "deny"
or_fun_call = "deny"
panic = "deny"
panic_in_result_fn = "deny"
path_buf_push_overwrite = "deny"
read_zero_byte_vec = "deny"
redundant_clone = "deny"
set_contains_or_insert = "deny"
significant_drop_in_scrutinee = "deny"
significant_drop_tightening = "deny"
string_slice = "deny"
suspicious_operation_groupings = "deny"
todo = "deny"
too_many_arguments = "deny"
trailing_empty_array = "deny"
transmute_undefined_repr = "deny"
unimplemented = "deny"
uninhabited_references = "deny"
unreachable = "deny"
unused_peekable = "deny"
unwrap_used = "deny"
while_float = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(tilo_no_js)",
"cfg(tilo_model_split)",
"cfg(tilo_model_guest)",
]