# 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 = "2021" name = "motd" version = "0.2.2" authors = ["Ethan Pailes "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ 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. """ readme = "README.md" keywords = [ "motd", "ssh", "terminal", "shell", ] license = "Apache-2.0" repository = "https://github.com/shell-pool/motd" [lib] name = "motd" path = "src/lib.rs" [dependencies.dlopen2] version = "0.7.0" optional = true [dependencies.lazy_static] version = "1" optional = true [dependencies.libc] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.pam-sys] version = "0.5" optional = true [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1" optional = true [dependencies.tempfile] version = "3" optional = true [dependencies.walkdir] version = "2.5.0" optional = true [build-dependencies.which] version = "6" [features] default = ["socall"] socall = [ "dep:lazy_static", "dep:libc", "dep:pam-sys", "dep:tempfile", "dep:serde_json", "dep:dlopen2", "dep:walkdir", ]