# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "lexa-database" version = "0.1.4" description = "Accès aux bases de données via SQLx" license-file = "LICENSE" repository = "https://github.com/PhiSyX/lexa-database" [[test]] name = "test_connection_postgres" path = "tests/connection_postgres.rs" required-features = ["postgres-sgbd"] [dependencies.async-trait] version = "^0.1" [dependencies.sqlx] version = "^0.7" features = ["runtime-tokio"] [dependencies.thiserror] version = "^1.0" [dev-dependencies.tokio] version = "^1.32" features = [ "macros", "test-util", ] [features] postgres-sgbd = ["sqlx/postgres"]