# 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 = "c3p0" version = "0.71.1" authors = ["Francesco Cina "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A good friend for r2d2." homepage = "https://github.com/ufoscout/c3p0" readme = "README.md" keywords = [ "mysql", "postgres", "pg", "sqlite", "json", ] license = "MIT" repository = "https://github.com/ufoscout/c3p0" [lib] name = "c3p0" path = "src/lib.rs" [[test]] name = "c3p0_test_postgres" path = "tests/c3p0_test_postgres.rs" [[test]] name = "c3p0_test_sqlx_mysql" path = "tests/c3p0_test_sqlx_mysql.rs" [[test]] name = "c3p0_test_sqlx_postgres" path = "tests/c3p0_test_sqlx_postgres.rs" [[test]] name = "c3p0_test_sqlx_sqlite" path = "tests/c3p0_test_sqlx_sqlite.rs" [[test]] name = "c3p0_test_sqlx_tidb" path = "tests/c3p0_test_sqlx_tidb.rs" [dependencies.c3p0_common] version = "0.71.1" [dependencies.c3p0_postgres] version = "0.71.1" optional = true [dependencies.c3p0_sqlx] version = "0.71.1" optional = true [dev-dependencies.maybe-single] version = "0.16" features = ["tokio"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.testcontainers] version = "0.11" features = [ "mysql", "postgres", ] package = "testcontainers-modules" [dev-dependencies.thiserror] version = "2.0" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "time", ] [dev-dependencies.uuid] version = "1" features = [ "serde", "v4", ] [features] default = [] postgres = ["c3p0_postgres"] sqlx_mysql = ["c3p0_sqlx/mysql"] sqlx_postgres = ["c3p0_sqlx/postgres"] sqlx_sqlite = ["c3p0_sqlx/sqlite"]