riverqueue-migrate 0.5.0

Database migrations for River's Rust client
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.95"
name = "riverqueue-migrate"
version = "0.5.0"
build = false
include = [
    "src/**",
    "examples/**",
    "migrations/**",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database migrations for River's Rust client"
homepage = "https://riverqueue.com"
readme = "README.md"
keywords = [
    "background",
    "jobs",
    "migrations",
    "postgres",
    "sqlite",
]
categories = ["database"]
license = "MPL-2.0"
repository = "https://github.com/riverqueue/river"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["postgres"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

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

[[example]]
name = "migrate"
path = "examples/migrate.rs"
required-features = ["postgres"]

[dependencies.sqlx]
version = "0.9.0"
features = ["runtime-tokio"]
default-features = false

[dependencies.thiserror]
version = "2.0.20"

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

[dev-dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]

[dev-dependencies.sqlx]
version = "0.9.0"
features = [
    "runtime-tokio",
    "json",
]
default-features = false

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

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(river_postgres_tests)"]