From f48dc565a0793f1d248d298d8a70b1fa7648b884 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Wed, 25 Mar 2026 21:56:28 +0100 Subject: [PATCH] refactor: update Cargo.toml --- Cargo.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f8f5ed2..77620dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,13 @@ name = "dysm-rs" version = "0.1.0" edition = "2021" +authors = ["Dany LE"] +description = "Diya Session Manager" +repository = "https://git.iohub.dev/diya/dysm-rs.git" +license = "MIT" +readme = "README.md" +keywords = ["session manager", "PAM"] +categories = ["daemon", "service"] [dependencies] clap = "4" @@ -12,3 +19,10 @@ libc = "0.2.183" libpam-sys = "0.2.0" nix = {version ="0.31.2", features = ["user", "process", "signal"]} toml = "0.8" + +[profile.release] +opt-level = 3 +# 's' for size +lto = true +# panic = 'abort' +codegen-units = 1 \ No newline at end of file