view Cargo.toml @ 135:b52594841480

Split libpam-sys into its own sub-workspace. Nonstick is basically a normal dependency of libpam-sys. But libpam-sys is integrated packages that should be versioned together.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:14:49 -0400
parents 6c1e1bdb4164
children efbc235f01d3
line wrap: on
line source

[package]
name = "nonstick"
description = "PAM bindings for Rust"
readme = "README.md"
keywords = ["pam", "ffi", "linux", "authentication"]
license = "MIT"
version = "0.0.8-alpha0"
authors = ["Paul Fisher <paul@pfish.zone>"]
edition = "2021"
rust-version = "1.75.0"

[features]
default = ["link", "basic-ext"]

# Enable this to actually link against your system's PAM library.
#
# This will fail if you have extensions enabled that are not compatible
# with your system's PAM.
link = []

basic-ext = []
linux-pam-ext = []
openpam-ext = []
sun-ext = []

# This feature exists only for testing.
test-install = []

[dependencies]
bitflags = "2.9.0"
libc = "0.2"
memoffset = "0.9.1"
num_enum = "0.7.3"
libpam-sys = { path = "libpam-sys" }

[build-dependencies]
libpam-sys = { path = "libpam-sys" }