[package]
name = "astrid-core"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "Core types and traits for Astrid secure agent runtime"

[dependencies]
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# Error handling
thiserror = { workspace = true }

# Async
async-trait = { workspace = true }
tokio = { workspace = true, features = ["time", "sync"] }

# Time & IDs
chrono = { workspace = true }
uuid = { workspace = true }

# Cryptography
rand = { workspace = true }

# Encoding
base64 = { workspace = true }
reqwest = { workspace = true, optional = true }

[dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
tempfile = "3.10"

[lints]
workspace = true

[features]
reqwest = ["dep:reqwest"]
