[package]
edition = "2024"
rust-version = "1.94"
name = "dataferry"
version = "0.1.0-beta.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data migration engine: move and reshape data from MongoDB and Postgres into Postgres, resumably, one committed partition at a time. The `dataferry` command line."
homepage = "https://0xvasanth.github.io/dataferry/"
documentation = "https://docs.rs/dataferry"
readme = "README.md"
keywords = [
"migration",
"etl",
"postgres",
"mongodb",
"arrow",
]
categories = [
"command-line-utilities",
"database",
]
license = "Apache-2.0"
repository = "https://github.com/0xvasanth/dataferry"
[features]
default = [
"postgres",
"mongo",
]
mongo = ["dep:dataferry-connector-mongo"]
postgres = [
"dep:dataferry-connector-postgres",
"dataferry-state/postgres",
]
[lib]
name = "dataferry"
path = "src/lib.rs"
[[bin]]
name = "dataferry"
path = "src/main.rs"
[[test]]
name = "builtins"
path = "tests/builtins.rs"
[[test]]
name = "config_reference"
path = "tests/config_reference.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "golden_demo"
path = "tests/golden_demo.rs"
[[test]]
name = "lease_ttl"
path = "tests/lease_ttl.rs"
[[test]]
name = "packaging"
path = "tests/packaging.rs"
[[test]]
name = "pg_merge"
path = "tests/pg_merge.rs"
[[test]]
name = "plan"
path = "tests/plan.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "readme_connector"
path = "tests/readme_connector.rs"
[[test]]
name = "run"
path = "tests/run.rs"
[[test]]
name = "stock"
path = "tests/stock.rs"
[[test]]
name = "unverified"
path = "tests/unverified.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.dataferry-connector-mongo]
version = "=0.1.0-beta.1"
optional = true
[dependencies.dataferry-connector-postgres]
version = "=0.1.0-beta.1"
optional = true
[dependencies.dataferry-core]
version = "=0.1.0-beta.1"
[dependencies.dataferry-dsl]
version = "=0.1.0-beta.1"
[dependencies.dataferry-registry]
version = "=0.1.0-beta.1"
[dependencies.dataferry-runtime]
version = "=0.1.0-beta.1"
[dependencies.dataferry-state]
version = "=0.1.0-beta.1"
[dependencies.dataferry-verify]
version = "=0.1.0-beta.1"
[dependencies.futures]
version = "0.3"
[dependencies.schemars]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"signal",
"time",
]
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.dataferry-connector-mongo]
version = "=0.1.0-beta.1"
[dev-dependencies.dataferry-connector-postgres]
version = "=0.1.0-beta.1"
[dev-dependencies.dataferry-core]
version = "=0.1.0-beta.1"
features = ["testkit"]
[dev-dependencies.dataferry-runtime]
version = "=0.1.0-beta.1"
features = ["testkit"]
[dev-dependencies.dataferry-state]
version = "=0.1.0-beta.1"
features = ["postgres"]
[dev-dependencies.insta]
version = "1"
[dev-dependencies.mongodb]
version = "3"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = [
"postgres",
"mongo",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.tokio-postgres]
version = "0.7"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"