[package]
name = "freedom-models"
version = "4.0.0"
edition = "2024"
authors = ["Caleb Leinz <caleb.leinz@atlasspace.com>"]
description = "Models for the Freedom API"
license = "MIT"
readme = "README.md"
repository = "https://github.com/ATLAS-Space-Operations/rust-freedom-models"

[dependencies]
ipnet = { version = "2.11.0" }
semver = { version = "1.0.28" }
strum = { version = "0.28.0", features = ["derive"] }
time = { version = "0.3.36" }
url = { version = "2.5.0" }

# Optional dependencies
serde = { version = "1.0.195", features = ["derive"], optional = true }
serde_with = { version = "3.3.0", optional = true }

[dev-dependencies]
serde_json = { version = "1.0.111" }
time = { version = "0.3.36", features = ["macros"] }

[features]
serde = ["dep:serde", "dep:serde_with", "url/serde", "ipnet/json", "semver/serde", "time/serde-human-readable"]
unstable = []
