[package]
name = "bobbin-types"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true

[dependencies]
bytes = { workspace = true }
chrono = { workspace = true }
cid = { workspace = true }
jacquard-common = { workspace = true }
jacquard-derive = { workspace = true }
jacquard-lexicon = { workspace = true }
miette = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }

[build-dependencies]
anyhow = { workspace = true }
jacquard-lexicon = { workspace = true, features = ["codegen"] }
walkdir = { workspace = true }

[features]
default = ["sh_tangled"]
com_atproto = []
com_bad_example = []
sh_tangled = ["com_atproto"]
streaming = ["jacquard-common/websocket"]
