1[package]
2name = "tangled-api"
3version = "0.1.0"
4edition = "2021"
5description = "XRPC client wrapper for Tangled operations"
6license = "MIT OR Apache-2.0"
7
8[dependencies]
9anyhow = { workspace = true }
10serde = { workspace = true, features = ["derive"] }
11serde_json = { workspace = true }
12reqwest = { workspace = true }
13tokio = { workspace = true, features = ["full"] }
14chrono = { workspace = true }
15
16# Optionally depend on ATrium (wired later as endpoints solidify)
17atrium-api = { workspace = true, optional = true }
18atrium-xrpc-client = { workspace = true, optional = true }
19
20tangled-config = { path = "../tangled-config" }
21
22[features]
23default = []
24atrium = ["dep:atrium-api", "dep:atrium-xrpc-client"]