# 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" rust-version = "1.56" name = "rocket_sync_db_pools" version = "0.1.0" authors = ["Sergio Benitez "] description = "Rocket async database pooling support for sync database drivers." readme = "README.md" keywords = [ "rocket", "framework", "database", "pools", ] license = "MIT OR Apache-2.0" repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5/contrib/sync_db_pools" [package.metadata.docs.rs] all-features = true [dependencies.diesel] version = "2.0.0" optional = true default-features = false [dependencies.memcache] version = "0.15" optional = true [dependencies.postgres] version = "0.19" optional = true [dependencies.r2d2] version = "0.8" [dependencies.r2d2-memcache] version = "0.6" optional = true [dependencies.r2d2_postgres] version = "0.18" optional = true [dependencies.r2d2_sqlite] version = "0.22.0" optional = true [dependencies.rocket] version = "0.5.0" default-features = false [dependencies.rocket_sync_db_pools_codegen] version = "0.1.0" [dependencies.rusqlite] version = "0.29.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tokio] version = "1.6.1" features = [ "rt", "rt-multi-thread", ] [build-dependencies.version_check] version = "0.9.1" [features] diesel_mysql_pool = [ "diesel/mysql", "diesel/r2d2", ] diesel_postgres_pool = [ "diesel/postgres", "diesel/r2d2", ] diesel_sqlite_pool = [ "diesel/sqlite", "diesel/r2d2", ] memcache_pool = [ "memcache", "r2d2-memcache", ] postgres_pool = [ "postgres", "r2d2_postgres", ] sqlite_pool = [ "rusqlite", "r2d2_sqlite", ]