# 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 = "shuttle-shared-db" version = "0.49.0" description = "Plugin for managing shared databases on shuttle" readme = "README.md" keywords = [ "shuttle-service", "database", ] license = "Apache-2.0" repository = "https://github.com/shuttle-hq/shuttle" [dependencies.async-trait] version = "0.1.56" [dependencies.diesel-async] version = "0.4.1" optional = true [dependencies.mongodb] version = "2.3.0" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.shuttle-service] version = "0.49.0" [dependencies.sqlx] version = "0.8.2" optional = true [features] default = [] diesel-async = ["dep:diesel-async"] diesel-async-bb8 = [ "diesel-async", "diesel-async/bb8", ] diesel-async-deadpool = [ "diesel-async", "diesel-async/deadpool", ] mongodb = ["dep:mongodb"] postgres = [ "diesel-async?/postgres", "sqlx?/postgres", ] sqlx = [ "dep:sqlx", "sqlx/runtime-tokio", "sqlx/tls-rustls", ] sqlx-native-tls = [ "dep:sqlx", "sqlx/runtime-tokio", "sqlx/tls-native-tls", ]