# 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 = "database-schema" version = "0.2.0" authors = ["Norberto Lopes "] exclude = [ ".gitignore", ".github/", "README.tpl", ] description = "A library to dump a database schema into a file in SQL format" homepage = "https://github.com/nlopes/database-schema.git" documentation = "https://docs.rs/database-schema" readme = "README.md" keywords = [ "database", "schema", "structuresql", ] categories = [ "database", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/nlopes/database-schema.git" [package.metadata.docs.rs] features = [ "sqlite", "sqlx", "macros", "runtime-async-std", ] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-std] version = "1" optional = true [dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dependencies.diesel] version = "2.1" optional = true default-features = false [dependencies.diesel_migrations] version = "2.1" optional = true default-features = false [dependencies.http] version = "1.0.0" [dependencies.percent-encoding] version = "2.3" optional = true [dependencies.sqlx] version = "0.7" features = [ "migrate", "macros", ] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["rt-multi-thread"] optional = true default-features = false [dependencies.tracing] version = "0.1" default-features = false [dependencies.url] version = "2.5" optional = true [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", ] default-features = false [features] default = ["native-tls"] diesel = [ "dep:diesel", "dep:diesel_migrations", ] macros = [] mysql = [ "sqlx?/mysql", "diesel?/mysql", "diesel_migrations?/mysql", "url", "percent-encoding", ] native-tls = ["sqlx?/tls-native-tls"] postgres = [ "sqlx?/postgres", "diesel?/postgres", "url", "percent-encoding", ] runtime-async-std = [ "sqlx?/runtime-async-std", "dep:async-std", ] runtime-tokio = [ "sqlx?/runtime-tokio", "dep:tokio", ] rustls = ["sqlx?/tls-rustls"] sqlite = [ "sqlx?/sqlite", "diesel?/sqlite", "diesel_migrations?/sqlite", ] sqlx = ["dep:sqlx"]