libsession-sys 0.1.2

session management daemon
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "libsession-sys"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "session management daemon"
readme = "README.md"
keywords = []
categories = []
license = "MIT"
repository = "https://tangled.org/r0chd.pl/sessiond"

[features]
consolekit = ["dep:zbus"]
default = [
    "sessiond",
    "logind",
    "consolekit",
]
logind = ["dep:libsystemd-sys"]
monitor = []
sessiond = [
    "dep:serde",
    "dep:toml",
    "monitor",
]

[lib]
name = "session"
crate-type = [
    "rlib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[dependencies.inotify]
version = "0.11.5"
default-features = false

[dependencies.libc]
version = "0.2.189"

[dependencies.libsystemd-sys]
version = "0.9.4"
optional = true

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.thiserror]
version = "2.0.21"

[dependencies.toml]
version = "1.1.2"
optional = true

[dependencies.zbus]
version = "5.16.0"
optional = true

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
needless_pass_by_value = "allow"
panic = "warn"
similar_names = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unimplemented = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1