waypoint-core 0.7.1

Lightweight, Flyway-compatible SQL migration library for PostgreSQL and MySQL
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "waypoint-core"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight, Flyway-compatible SQL migration library for PostgreSQL and MySQL"
homepage = "https://github.com/tensorbee/waypoint"
documentation = "https://docs.rs/waypoint-core"
readme = "README.md"
keywords = [
    "database",
    "migration",
    "postgresql",
    "mysql",
    "flyway",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/tensorbee/waypoint"
resolver = "2"

[features]
default = ["postgres"]
mysql = ["dep:mysql_async"]
postgres = [
    "dep:tokio-postgres",
    "dep:tokio-postgres-rustls",
    "dep:rustls",
    "dep:webpki-roots",
]

[lib]
name = "waypoint_core"
path = "src/lib.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "mysql_integration_test"
path = "tests/mysql_integration_test.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.crc32fast]
version = "1"

[dependencies.fastrand]
version = "2"

[dependencies.log]
version = "0.4"

[dependencies.mysql_async]
version = "0.37"
features = [
    "minimal-rust",
    "rustls-tls",
    "ring",
    "tls12",
    "chrono",
]
optional = true
default-features = false

[dependencies.regex-lite]
version = "0.1"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
]

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-chrono-0_4"]
optional = true

[dependencies.tokio-postgres-rustls]
version = "0.14"
features = ["ring"]
optional = true
default-features = false

[dependencies.toml]
version = "1"

[dependencies.webpki-roots]
version = "1"
optional = true

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]