# 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 = "io_unity" version = "0.3.0" authors = ["gameltb "] description = "io_unity is a lib for read unity assets" homepage = "https://github.com/gameltb/io_unity" readme = "README.md" keywords = ["unity"] license = "MIT/Apache-2.0" repository = "https://github.com/gameltb/io_unity" [[example]] name = "fsdump" required-features = ["all"] [[example]] name = "live2dextractor" required-features = ["all"] [dependencies.anyhow] version = "1.0" [dependencies.astc-decode] version = "0.3" optional = true [dependencies.binrw] version = "0.10" [dependencies.crc] version = "3.0" optional = true [dependencies.glam] version = "0.22" [dependencies.half] version = "2.1" optional = true [dependencies.image] version = "0.24" optional = true [dependencies.lz4] version = "1" [dependencies.modular-bitfield] version = "0.11" [dependencies.num_enum] version = "0.5" [dependencies.once_cell] version = "1" [dependencies.ordered-float] version = "3.4" optional = true [dependencies.regex] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.tar] version = "0.4" optional = true [dependencies.texpresso] version = "2" optional = true [dependencies.walkdir] version = "2" [dependencies.zstd] version = "0.12" optional = true [dev-dependencies.clap] version = "4" features = ["derive"] [features] all = [ "type-tree-json", "external-class-handle", "external-class-handle-texture2d", ] default = [] external-class-handle = [ "half", "ordered-float", "crc", ] external-class-handle-texture2d = [ "image", "texpresso", "astc-decode", ] type-tree-json = [ "tar", "zstd", "serde_json", "serde", ]