iamroot 0.2.0

Display a message informing you whether this program is running as root or not
[[bin]]
name = "iamroot"
path = "src/main.rs"

[dependencies.nix]
features = ["user"]
version = "0.30"

[dependencies.owo-colors]
version = "4.2"

[lints.clippy]
allow_attributes_without_reason = "warn"
clear_with_drain = "warn"
excessive_nesting = "warn"
implicit_return = "warn"
missing_const_for_fn = "warn"
needless_collect = "warn"
needless_return = "allow"
too-many-lines = "warn"
unwrap_used = "warn"

[lints.rust]
absolute-paths-not-starting-with-crate = "warn"
unsafe_code = "deny"
unused_parens = "allow"

[package]
authors = ["Rachael Ava <Headrest_Scruffy645 [at] SimpleLogin (dot) com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities"]
description = "Display a message informing you whether this program is running as root or not"
edition = "2024"
keywords = ["cli", "doas", "root", "sudo"]
license = "GPL-3.0-only"
name = "iamroot"
publish = true
readme = "Readme.md"
repository = "https://codeberg.org/RachaelAva1024/iamroot"
rust-version = "1.88.0"
version = "0.2.0"

[package.metadata.docs.rs]
rustdoc-args = ["--document-private-items"]

[profile.bench]
inherits = "release"

[profile.bench.package."*"]
inherits = "bench"

[profile.dev]
codegen-units = 256
debug = 2
debug-assertions = true
incremental = true
lto = false
opt-level = 1
overflow-checks = true
panic = "unwind"
rpath = false
split-debuginfo = "packed"
strip = "none"

[profile.dev.package."*"]
inherits = "dev"

[profile.release]
codegen-units = 1
debug = 0
debug-assertions = false
incremental = false
lto = "fat"
opt-level = 3
overflow-checks = true
panic = "unwind"
rpath = false
split-debuginfo = "packed"
strip = "symbols"

[profile.release.package."*"]
inherits = "release"

[profile.test]
inherits = "dev"
opt-level = 3

[profile.test.package."*"]
inherits = "test"