[package]
edition = "2021"
name = "surreal-sync-runtime"
version = "0.6.0"
authors = ["surreal-sync contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared runtime: apply pipeline, init, SurrealDB config, and transform loading for surreal-sync"
homepage = "https://github.com/surrealdb/surreal-sync"
documentation = "https://docs.rs/surreal-sync-runtime"
readme = false
license = "Apache-2.0"
repository = "https://github.com/surrealdb/surreal-sync"
[features]
checkpoint_fs = ["dep:chrono"]
cli = ["dep:clap"]
default = ["checkpoint_fs"]
test-support = []
[lib]
name = "surreal_sync_runtime"
path = "src/lib.rs"
[[bin]]
name = "sync-transform-fixture-worker"
path = "src/bin/fixture_worker.rs"
required-features = ["test-support"]
[[test]]
name = "external_stdio"
path = "tests/external_stdio.rs"
required-features = ["test-support"]
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
optional = true
[dependencies.rustls]
version = "0.23"
features = ["aws_lc_rs"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.surreal-sync-core]
version = "0.6.0"
[dependencies.tokio]
version = "1.49"
features = [
"macros",
"rt",
"sync",
"time",
"process",
"io-util",
"fs",
]
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.uuid]
version = "1.10"
features = [
"v4",
"serde",
]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.49"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"process",
"io-util",
"fs",
"test-util",
]