[package]
edition = "2024"
rust-version = "1.85"
name = "force-sync"
version = "0.2.0"
authors = ["Mark M"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Correctness-first bidirectional Salesforce and Postgres sync engine"
homepage = "https://github.com/madmax983/force-rs"
documentation = "https://docs.rs/force-sync"
readme = "README.md"
keywords = [
"salesforce",
"postgres",
"sync",
"cdc",
"crm",
]
categories = [
"api-bindings",
"database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/madmax983/force-rs"
resolver = "2"
[lib]
name = "force_sync"
path = "src/lib.rs"
[[example]]
name = "postgres_to_salesforce"
path = "examples/postgres_to_salesforce.rs"
[[test]]
name = "bulk_reconcile"
path = "tests/bulk_reconcile.rs"
[[test]]
name = "cdc_capture"
path = "tests/cdc_capture.rs"
[[test]]
name = "control_plane_repos"
path = "tests/control_plane_repos.rs"
[[test]]
name = "end_to_end_postgres_to_salesforce"
path = "tests/end_to_end_postgres_to_salesforce.rs"
[[test]]
name = "havoc_lease_panic"
path = "tests/havoc_lease_panic.rs"
[[test]]
name = "journal_tasks"
path = "tests/journal_tasks.rs"
[[test]]
name = "pg_migrations"
path = "tests/pg_migrations.rs"
[[test]]
name = "pg_store_bootstrap"
path = "tests/pg_store_bootstrap.rs"
[[test]]
name = "planner"
path = "tests/planner.rs"
[[test]]
name = "postgres_capture"
path = "tests/postgres_capture.rs"
[[test]]
name = "rest_apply"
path = "tests/rest_apply.rs"
[[test]]
name = "runtime_coverage"
path = "tests/runtime_coverage.rs"
[[test]]
name = "runtime_salesforce_origin"
path = "tests/runtime_salesforce_origin.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.blake3]
version = "1.5"
[dependencies.bytes]
version = "1.9"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.deadpool-postgres]
version = "0.14"
[dependencies.force]
version = "0.2.0"
features = [
"rest",
"bulk",
"composite",
]
[dependencies.force-pubsub]
version = "0.2.0"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.42"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
features = [
"with-chrono-0_4",
"with-serde_json-1",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"