motd 0.2.2

motd interrogates pam_motd.so in order to determine the current message of the day. It only works on linux and it is a component of the shpool tool, though you can also use the dump-motd wrapper CLI tool directly. Through feature selection, you can also use a pure rust impl with no dlopen shennigans.
Documentation
[build-dependencies.which]
version = "6"
[dependencies.dlopen2]
optional = true
version = "0.7.0"

[dependencies.lazy_static]
optional = true
version = "1"

[dependencies.libc]
optional = true
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.pam-sys]
optional = true
version = "0.5"

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1"

[dependencies.serde_json]
optional = true
version = "1"

[dependencies.tempfile]
optional = true
version = "3"

[dependencies.walkdir]
optional = true
version = "2.5.0"

[features]
default = ["socall"]
socall = ["dep:lazy_static", "dep:libc", "dep:pam-sys", "dep:tempfile", "dep:serde_json", "dep:dlopen2", "dep:walkdir"]

[lib]
name = "motd"
path = "src/lib.rs"

[package]
authors = ["Ethan Pailes <pailes@google.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
description = "motd interrogates pam_motd.so in order to determine the current\nmessage of the day. It only works on linux and it is a component of\nthe shpool tool, though you can also use the dump-motd wrapper CLI\ntool directly. Through feature selection, you can also use a\npure rust impl with no dlopen shennigans.\n"
edition = "2021"
keywords = ["motd", "ssh", "terminal", "shell"]
license = "Apache-2.0"
name = "motd"
readme = "README.md"
repository = "https://github.com/shell-pool/motd"
version = "0.2.2"