# 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"
rust-version = "1.89.0"
name = "phoenix-rise-types"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Owned Phoenix domain and API types for Rise"
homepage = "https://docs.phoenix.trade/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Ellipsis-Labs/rise-public"
resolver = "2"

[features]
default = []
serde = [
    "dep:chrono",
    "dep:serde",
    "dep:serde_json",
    "dep:serde_with",
]
utoipa = [
    "serde",
    "dep:utoipa",
]

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true

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

[dependencies.serde_json]
version = "1.0"
optional = true

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

[dependencies.utoipa]
version = "5.4"
features = ["chrono"]
optional = true

[dev-dependencies.serde_urlencoded]
version = "0.7"
