# 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 = "sqlx_migrator" version = "0.16.1" authors = ["Saurav Sharma "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Migrator for writing sqlx migration using Rust instead of SQL" homepage = "https://github.com/iamsauravsharma/sqlx_migrator" readme = "README.MD" keywords = [ "sqlx", "sqlx_migrations", "rust_migrations", ] categories = ["database"] license = "MIT" repository = "https://github.com/iamsauravsharma/sqlx_migrator" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "sqlx_migrator" path = "src/lib.rs" [[example]] name = "mysql" path = "examples/mysql/main.rs" required-features = [ "mysql", "cli", ] [[example]] name = "postgres" path = "examples/postgres/main.rs" required-features = [ "postgres", "cli", ] [[example]] name = "sqlite" path = "examples/sqlite/main.rs" required-features = [ "sqlite", "cli", ] [dependencies.async-trait] version = "0.1.70" [dependencies.clap] version = "4.3.10" features = ["derive"] optional = true [dependencies.crc32fast] version = "1.3.2" optional = true [dependencies.sqlx] version = "0.8.0" features = ["macros"] default-features = false [dependencies.thiserror] version = "1.0.41" [dependencies.tracing] version = "0.1.37" [dev-dependencies.sqlx] version = "0.8.0" features = [ "runtime-tokio", "tls-rustls", ] [dev-dependencies.tokio] version = "1.34.0" features = [ "rt-multi-thread", "macros", ] [features] any = ["sqlx/any"] cli = ["dep:clap"] default = ["cli"] mysql = [ "sqlx/mysql", "dep:crc32fast", ] postgres = [ "sqlx/postgres", "dep:crc32fast", ] sqlite = ["sqlx/sqlite"] [lints.clippy] all = "deny" pedantic = "warn" [lints.rust] missing_docs = "warn" unreachable_pub = "warn" unsafe_code = "deny" unused_crate_dependencies = "warn"