openusd 0.4.0

Rust native USD library
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 = "2021"
name = "openusd"
version = "0.4.0"
build = false
exclude = ["/vendor"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust native USD library"
readme = "README.md"
keywords = [
    "usd",
    "usda",
    "usdc",
    "usdz",
    "pxr",
]
categories = [
    "graphics",
    "rendering",
    "rendering::data-formats",
]
license-file = "LICENSE"
repository = "https://github.com/mxpv/openusd"

[features]
geom = []
lux = []
physics = []
serde = [
    "dep:serde",
    "half/serde",
]
skel = []

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

[[example]]
name = "author_variant_and_reference"
path = "examples/author_variant_and_reference.rs"

[[example]]
name = "dump_usdc"
path = "examples/dump_usdc.rs"

[[example]]
name = "write_usda"
path = "examples/write_usda.rs"

[[example]]
name = "write_usdc"
path = "examples/write_usdc.rs"

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

[[test]]
name = "binary_writer_roundtrip"
path = "tests/binary_writer_roundtrip.rs"
required-features = ["serde"]

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

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

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

[[test]]
name = "cross_format_roundtrip"
path = "tests/cross_format_roundtrip.rs"
required-features = ["serde"]

[[test]]
name = "geom_reader"
path = "tests/geom_reader.rs"
required-features = ["geom"]

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

[[test]]
name = "lux_reader"
path = "tests/lux_reader.rs"
required-features = ["lux"]

[[test]]
name = "physics_reader"
path = "tests/physics_reader.rs"
required-features = ["physics"]

[[test]]
name = "skel_reader"
path = "tests/skel_reader.rs"
required-features = ["skel"]

[[test]]
name = "text_format"
path = "tests/text_format.rs"
required-features = ["serde"]

[[test]]
name = "text_writer_roundtrip"
path = "tests/text_writer_roundtrip.rs"
required-features = ["serde"]

[dependencies.anyhow]
version = "1.0.79"

[dependencies.bitflags]
version = "2.11.1"

[dependencies.bytemuck]
version = "1.14.0"
features = ["derive"]

[dependencies.half]
version = "2.3.1"
features = [
    "bytemuck",
    "num-traits",
]

[dependencies.logos]
version = "0.16.0"

[dependencies.lz4_flex]
version = "0.13.0"

[dependencies.num-traits]
version = "0.2.17"

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

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

[dependencies.thiserror]
version = "2"

[dependencies.zip]
version = "8.2.0"
features = ["deflate"]
default-features = false

[dev-dependencies.diff_json]
version = "0.1"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[dev-dependencies.tempfile]
version = "3"