123 lines
2.7 KiB
TOML
123 lines
2.7 KiB
TOML
# 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"
|
|
rust-version = "1.61"
|
|
name = "gltf"
|
|
version = "1.4.1"
|
|
authors = ["David Harvey-Macaulay <alteous@outlook.com>"]
|
|
include = [
|
|
"**/*.rs",
|
|
"Cargo.toml",
|
|
"LICENSE-*",
|
|
]
|
|
description = "glTF 2.0 loader"
|
|
homepage = "https://github.com/gltf-rs/gltf"
|
|
documentation = "https://docs.rs/gltf"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"glTF",
|
|
"3D",
|
|
"asset",
|
|
"model",
|
|
"scene",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/gltf-rs/gltf"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[[example]]
|
|
name = "gltf-display"
|
|
path = "examples/display/main.rs"
|
|
|
|
[[example]]
|
|
name = "gltf-export"
|
|
path = "examples/export/main.rs"
|
|
|
|
[[example]]
|
|
name = "gltf-roundtrip"
|
|
path = "examples/roundtrip/main.rs"
|
|
|
|
[[example]]
|
|
name = "gltf-tree"
|
|
path = "examples/tree/main.rs"
|
|
|
|
[dependencies.base64]
|
|
version = "0.13"
|
|
optional = true
|
|
|
|
[dependencies.byteorder]
|
|
version = "1.3"
|
|
|
|
[dependencies.gltf-json]
|
|
version = "=1.4.1"
|
|
|
|
[dependencies.image]
|
|
version = "0.25"
|
|
features = [
|
|
"jpeg",
|
|
"png",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1"
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
features = ["raw_value"]
|
|
|
|
[dependencies.urlencoding]
|
|
version = "2.1"
|
|
optional = true
|
|
|
|
[dev-dependencies.approx]
|
|
version = "0.5"
|
|
|
|
[features]
|
|
KHR_lights_punctual = ["gltf-json/KHR_lights_punctual"]
|
|
KHR_materials_emissive_strength = ["gltf-json/KHR_materials_emissive_strength"]
|
|
KHR_materials_ior = ["gltf-json/KHR_materials_ior"]
|
|
KHR_materials_pbrSpecularGlossiness = ["gltf-json/KHR_materials_pbrSpecularGlossiness"]
|
|
KHR_materials_specular = ["gltf-json/KHR_materials_specular"]
|
|
KHR_materials_transmission = ["gltf-json/KHR_materials_transmission"]
|
|
KHR_materials_unlit = ["gltf-json/KHR_materials_unlit"]
|
|
KHR_materials_variants = ["gltf-json/KHR_materials_variants"]
|
|
KHR_materials_volume = ["gltf-json/KHR_materials_volume"]
|
|
KHR_texture_transform = ["gltf-json/KHR_texture_transform"]
|
|
allow_empty_texture = ["gltf-json/allow_empty_texture"]
|
|
default = [
|
|
"import",
|
|
"utils",
|
|
"names",
|
|
]
|
|
extensions = ["gltf-json/extensions"]
|
|
extras = ["gltf-json/extras"]
|
|
guess_mime_type = []
|
|
import = [
|
|
"base64",
|
|
"image",
|
|
"urlencoding",
|
|
]
|
|
names = ["gltf-json/names"]
|
|
utils = []
|
|
|
|
[badges.travis-ci]
|
|
repository = "gltf-rs/gltf"
|