[package] name = "lrau" version = "0.6.0" authors = ["John Toohey "] edition = "2018" description = "LrAU is an authentication and permission management system." readme = "./README.md" repository = "https://gitlab.com/libre-register/lrau" keywords = ["password", "authentication", "permissions", "login", "access"] categories = ["authentication"] license = "AGPL-3.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] rust-argon2 = "0.8.3" rand = "0.8" # Optional serde = {version = "1.0", optional = true, features = ["derive"]} diesel = {version = "1.4", optional = true, features = ["serde_json", "postgres"]} sqlx = {version = "0.5", optional = true, features = ["json", "postgres", "runtime-tokio-rustls"]} serde_json = {version = "1", optional = true} diesel_migrations = {version = "1.4", optional = true} [dev-dependencies] serde = "1.0" toml = "0.5.8" dotenv = "0.15.0" [[test]] name = "generic" path = "tests/generic.rs" test = true required-features = ["serde"] [[test]] name = "serde" path = "tests/serde.rs" test = true required-features = ["serde"] [[test]] name = "diesel" path = "tests/diesel.rs" test = true required-features = ["diesel"] [features] sql = [] diesel-support = ["sql", "diesel", "serde_json", "serde", "diesel_migrations"] sqlx_support = ["sql", "sqlx", "serde_json", "serde"]