61 lines
1.4 KiB
TOML
61 lines
1.4 KiB
TOML
[package]
|
|
name = "unity-parser"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Your Name <your.email@example.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
description = "A high-performance Rust library for parsing Unity project files (.unity, .prefab, .asset)"
|
|
repository = "https://github.com/yourusername/unity-parser-rust"
|
|
keywords = ["unity", "parser", "yaml", "gamedev"]
|
|
categories = ["parser-implementations", "game-development"]
|
|
rust-version = "1.70"
|
|
|
|
[lib]
|
|
name = "unity_parser"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# YAML parsing
|
|
serde_yaml = "0.9"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
|
|
# Ordered maps for properties
|
|
indexmap = { version = "2.1", features = ["serde"] }
|
|
|
|
# Regex for parsing
|
|
regex = "1.10"
|
|
|
|
# Math types (Vector2, Vector3, Quaternion, etc.)
|
|
glam = { version = "0.29", features = ["serde"] }
|
|
|
|
# ECS (Entity Component System)
|
|
sparsey = "0.13"
|
|
|
|
# LRU cache for reference resolution
|
|
lru = "0.12"
|
|
|
|
# Directory traversal for loading projects
|
|
walkdir = "2.4"
|
|
|
|
# Lazy static initialization for type registry
|
|
once_cell = "1.19"
|
|
|
|
# Component registry for custom MonoBehaviours
|
|
inventory = "0.3"
|
|
|
|
# Procedural macro for derive(UnityComponent)
|
|
unity-parser-macros = { path = "../unity-parser-macros" }
|
|
|
|
[dev-dependencies]
|
|
# Testing utilities
|
|
pretty_assertions = "1.4"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Future: parallel processing support
|
|
parallel = []
|