[package] name = "trs-data-value" version = "0.1.2" edition = "2021" readme = "README.md" license-file = "LICENSE" keywords = [] description = "Data Value for common data types" [features] default = ["json", "proto"] # this enables pyo3 support for DataValue python = ["pyo3"] json = ["dep:serde_json"] proto = ["dep:prost-reflect"] [dependencies] serde_json = { version="1.0", optional = true} thiserror = "1.0.50" serde = { version = "1.0", features = ["derive"]} base64 = "0.22" tracing = "0.1.11" smartstring = {version = "1", features = ["serde"]} pyo3 = { version = "0.23", features = ["auto-initialize", "anyhow", "serde"], optional = true } prost-reflect = { version = "0.14", features = ["derive", "serde"], optional = true} [dev-dependencies] rstest = "0.21" once_cell = "1.14"