migratex 0.3.0

Agnostic migration toolkit library.
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"
name = "migratex"
version = "0.3.0"
authors = ["Nicolas talle <dev@nicolab.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agnostic migration toolkit library."
documentation = "https://docs.rs/migratex"
readme = "README.md"
keywords = [
    "migration",
    "migrations",
    "migrate",
    "database",
    "versioning",
]
categories = [
    "development-tools",
    "database",
    "data-structures",
    "web-programming",
    "rust-patterns",
]
license = "MIT"
repository = "https://github.com/nicolab/migratex"

[features]
default = []
json = [
    "serde",
    "serde_json",
]
sqlx = ["dep:sqlx"]

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

[[example]]
name = "custom"
path = "examples/custom/main.rs"
required-features = ["json"]

[[example]]
name = "json"
path = "examples/json/main.rs"
required-features = ["json"]

[[example]]
name = "sqlx"
path = "examples/sqlx/main.rs"
required-features = ["sqlx"]

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"

[dependencies.okerr]
version = "1"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "sqlite",
    "macros",
]
optional = true

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

[dev-dependencies.thiserror]
version = "2"