# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "lrau" version = "0.6.0" authors = ["John Toohey "] description = "LrAU is an authentication and permission management system." readme = "./README.md" keywords = ["password", "authentication", "permissions", "login", "access"] categories = ["authentication"] license = "AGPL-3.0" repository = "https://gitlab.com/libre-register/lrau" [[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"] [dependencies.diesel] version = "1.4" features = ["serde_json", "postgres"] optional = true [dependencies.diesel_migrations] version = "1.4" optional = true [dependencies.rand] version = "0.8" [dependencies.rust-argon2] version = "0.8.3" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.sqlx] version = "0.5" features = ["json", "postgres", "runtime-tokio-rustls"] optional = true [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.serde] version = "1.0" [dev-dependencies.toml] version = "0.5.8" [features] diesel-support = ["sql", "diesel", "serde_json", "serde", "diesel_migrations"] sql = [] sqlx_support = ["sql", "sqlx", "serde_json", "serde"]