# 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 = "2021"
name = "trs-data-value"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data Value for common data types"
readme = "README.md"
keywords = []
license-file = "LICENSE"

[features]
default = [
    "json",
    "proto",
]
json = ["dep:serde_json"]
proto = ["dep:prost-reflect"]
python = ["pyo3"]
utoipa = ["dep:utoipa"]

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

[dependencies.base64]
version = "0.22"

[dependencies.prost-reflect]
version = "0.14"
features = [
    "derive",
    "serde",
]
optional = true

[dependencies.pyo3]
version = "0.26"
features = [
    "auto-initialize",
    "anyhow",
    "serde",
]
optional = true

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

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

[dependencies.smartstring]
version = "1"
features = ["serde"]

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1.11"

[dependencies.utoipa]
version = "5"
optional = true

[dev-dependencies.once_cell]
version = "1"

[dev-dependencies.rstest]
version = "0.25"
