# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

[lib]
name = "freedom_models"
path = "src/lib.rs"

[dependencies.ipnet]
version = "2.11.0"

[dependencies.semver]
version = "1.0.28"

[dependencies.serde]
version = "1.0.195"
features = ["derive"]
optional = true

[dependencies.serde_with]
version = "3.3.0"
optional = true

[dependencies.strum]
version = "0.28.0"
features = ["derive"]

[dependencies.time]
version = "0.3.36"

[dependencies.url]
version = "2.5.0"

[dev-dependencies.serde_json]
version = "1.0.111"

[dev-dependencies.time]
version = "0.3.36"
features = ["macros"]
