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"] }
14
15# Optionally depend on ATrium (wired later as endpoints solidify)
16atrium-api = { workspace = true, optional = true }
17atrium-xrpc-client = { workspace = true, optional = true }
18
19tangled-config = { path = "../tangled-config" }
20
21[features]
22default = []
23atrium = ["dep:atrium-api", "dep:atrium-xrpc-client"]
24