token-value-map 0.2.5

A token-value map with interpolation of values: what you need for DCCs
Documentation
# 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 = "token-value-map"
version = "0.2.5"
authors = ["Moritz Moeller <virtualritz@gmail.com>"]
build = "build.rs"
exclude = [".github/**/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A token-value map with interpolation of values: what you need for DCCs"
documentation = "https://docs.rs/token-value-map"
readme = "README.md"
keywords = [
    "graphics",
    "animation",
    "attribute",
    "keyframe",
    "dcc",
]
categories = ["graphics"]
license = "Apache-2.0 OR BSD-3-Clause OR MIT OR Zlib"
repository = "https://github.com/virtualritz/token-value-map/"

[features]
2d = [
    "vector2",
    "matrix3",
]
3d = [
    "vector3",
    "matrix4",
    "normal3",
    "point3",
]
builtin-types = []
curves = ["builtin-types"]
default = [
    "builtin-types",
    "2d",
    "vec_variants",
    "glam",
    "ustr",
    "curves",
]
dopamine-compat = ["interpolation"]
egui-keyframe = ["dep:egui-keyframe"]
facet = [
    "dep:facet",
    "frame-tick/facet",
]
glam = ["dep:glam"]
interpolation = ["dep:uniform-cubic-splines"]
lua = ["dep:mlua"]
matrix3 = []
matrix4 = []
mint = [
    "dep:mint",
    "glam?/mint",
    "nalgebra?/convert-mint",
    "ultraviolet?/mint",
]
nalgebra = ["dep:nalgebra"]
normal3 = []
point3 = []
rkyv = [
    "dep:rkyv",
    "glam",
    "frame-tick/rkyv",
    "glam/rkyv",
]
serde = [
    "dep:serde",
    "ustr?/serde",
    "mitsein/serde",
]
ultraviolet = ["dep:ultraviolet"]
ustr = ["dep:ustr"]
vec_variants = []
vector2 = []
vector3 = []

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

[[test]]
name = "animated_data"
path = "tests/animated_data.rs"

[[test]]
name = "bezier_handles"
path = "tests/bezier_handles.rs"

[[test]]
name = "data"
path = "tests/data.rs"

[[test]]
name = "data_types"
path = "tests/data_types.rs"

[[test]]
name = "interpolation"
path = "tests/interpolation.rs"

[[test]]
name = "lib"
path = "tests/lib.rs"

[[test]]
name = "single_keyframe_interpolation"
path = "tests/single_keyframe_interpolation.rs"

[[test]]
name = "try_convert"
path = "tests/try_convert.rs"

[[test]]
name = "try_from_value"
path = "tests/try_from_value.rs"

[dependencies.bytemuck]
version = "1"

[dependencies.derive_more]
version = "2"
features = ["as_ref"]

[dependencies.egui-keyframe]
version = "0.1"
optional = true

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.facet]
version = ">=0.44"
optional = true

[dependencies.frame-tick]
version = ">=0.3.3"
features = [
    "float_frame_rate",
    "serde",
    "std",
]

[dependencies.function_name]
version = "0.3"

[dependencies.glam]
version = "0.32"
features = [
    "serde",
    "bytemuck",
]
optional = true

[dependencies.log]
version = "0.4"

[dependencies.mint]
version = "0.5"
optional = true

[dependencies.mitsein]
version = "0.9"
features = [
    "std",
    "rayon",
]
default-features = false

[dependencies.mlua]
version = "0.11"
features = [
    "anyhow",
    "lua53",
]
optional = true

[dependencies.nalgebra]
version = "0.34"
features = [
    "bytemuck",
    "serde-serialize",
]
optional = true

[dependencies.rayon]
version = "1"

[dependencies.rkyv]
version = "0.8"
features = ["bytecheck"]
optional = true

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

[dependencies.smallvec]
version = "1"
features = [
    "const_generics",
    "const_new",
]

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

[dependencies.thiserror]
version = "2"

[dependencies.ultraviolet]
version = "0.10"
features = [
    "bytemuck",
    "serde",
    "f64",
]
optional = true

[dependencies.uniform-cubic-splines]
version = "0.5"
optional = true

[dependencies.ustr]
version = ">=1"
optional = true

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