# 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.95"
name = "cu29-value"
version = "1.0.0"
authors = [
    "arcnmx",
    "gbin",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is a fork of Value with custom types added for Copper like the time and units."
homepage = "https://github.com/copper-project"
documentation = "https://docs.rs/cu29-value"
readme = "README.md"
keywords = ["serde"]
categories = ["science::robotics"]
license = "MIT"
repository = "https://github.com/copper-project/copper-rs"
resolver = "2"

[features]
default = ["std"]
python = [
    "std",
    "dep:pyo3",
]
std = [
    "ordered-float/std",
    "cu29-clock/std",
]

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

[dependencies.bincode]
version = "2.0"
features = [
    "derive",
    "alloc",
]
default-features = false
package = "cu-bincode"

[dependencies.cu29-clock]
version = "1.0.0"
default-features = false

[dependencies.ordered-float]
version = "5.1"
default-features = false

[dependencies.pyo3]
version = "0.29"
features = ["macros"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false

[dev-dependencies.serde_derive]
version = "1.0"
features = ["default"]
