# 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 = "mdanceio" version = "0.1.2" authors = ["NAiveD "] exclude = ["/android"] description = "MDanceIO is a MMD(MikuMikuDance) compatible implementation targeting at browser through wasm. " license = "MIT" repository = "https://github.com/ReaNAiveD/mdanceio" [lib] crate-type = [ "cdylib", "rlib", ] [[example]] name = "winit_app" [[test]] name = "mdanceio-tests" path = "tests/root.rs" [dependencies.bytemuck] version = "1.12.1" features = ["derive"] [dependencies.cgmath] version = "0.18.0" [dependencies.image] version = "0.24" features = [ "png", "jpeg", "tga", "bmp", ] default-features = false [dependencies.instant] version = "0.1.12" features = ["wasm-bindgen"] [dependencies.log] version = "0.4" [dependencies.nalgebra] version = "0.31.1" [dependencies.nanoem] version = "0.1.2" [dependencies.rapier3d] version = "0.15.0" features = ["simd-stable"] [dependencies.thiserror] version = "1.0" [dependencies.uniffi] version = "0.21.0" [dependencies.uniffi_macros] version = "0.21.0" [dependencies.wgpu] version = "0.14.0" features = ["trace"] [dev-dependencies.chrono] version = "0.4.22" [dev-dependencies.clap] version = "4.0.10" [dev-dependencies.log4rs] version = "1.1.1" [dev-dependencies.png] version = "0.17.6" [dev-dependencies.tokio] version = "1.21.2" features = ["full"] [dev-dependencies.winit] version = "0.27.3" [build-dependencies.uniffi_build] version = "0.21.0" features = ["builtin-bindgen"] [features] webgl = ["wgpu/webgl"] [target."cfg(target_arch = \"wasm32\")".dependencies.console_error_panic_hook] version = "0.1.7" [target."cfg(target_arch = \"wasm32\")".dependencies.console_log] version = "0.2.0" features = ["color"] [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.60" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.83" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.33" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.60" features = [ "Document", "Navigator", "Node", "NodeList", "Gpu", "GpuAdapter", "GpuAddressMode", "GpuAutoLayoutMode", "GpuBindGroup", "GpuBindGroupDescriptor", "GpuBindGroupEntry", "GpuBindGroupLayout", "GpuBindGroupLayoutDescriptor", "GpuBindGroupLayoutEntry", "GpuBlendComponent", "GpuBlendFactor", "GpuBlendOperation", "GpuBlendState", "GpuBuffer", "GpuBufferBinding", "GpuBufferBindingLayout", "GpuBufferBindingType", "GpuBufferDescriptor", "GpuCanvasContext", "GpuCanvasConfiguration", "GpuColorDict", "GpuColorTargetState", "GpuCommandBuffer", "GpuCommandBufferDescriptor", "GpuCommandEncoder", "GpuCommandEncoderDescriptor", "GpuCompareFunction", "GpuCompilationInfo", "GpuCompilationMessage", "GpuCompilationMessageType", "GpuComputePassDescriptor", "GpuComputePassEncoder", "GpuComputePipeline", "GpuComputePipelineDescriptor", "GpuCullMode", "GpuDepthStencilState", "GpuDevice", "GpuDeviceDescriptor", "GpuDeviceLostInfo", "GpuDeviceLostReason", "GpuError", "GpuErrorFilter", "GpuExtent3dDict", "GpuFeatureName", "GpuFilterMode", "GpuFragmentState", "GpuFrontFace", "GpuImageCopyBuffer", "GpuImageCopyTexture", "GpuImageDataLayout", "GpuIndexFormat", "GpuLoadOp", "gpu_map_mode", "GpuMipmapFilterMode", "GpuMultisampleState", "GpuObjectDescriptorBase", "GpuOrigin2dDict", "GpuOrigin3dDict", "GpuOutOfMemoryError", "GpuPipelineDescriptorBase", "GpuPipelineLayout", "GpuPipelineLayoutDescriptor", "GpuPowerPreference", "GpuPrimitiveState", "GpuPrimitiveTopology", "GpuProgrammableStage", "GpuQuerySet", "GpuQuerySetDescriptor", "GpuQueryType", "GpuQueue", "GpuRenderBundle", "GpuRenderBundleDescriptor", "GpuRenderBundleEncoder", "GpuRenderBundleEncoderDescriptor", "GpuRenderPassColorAttachment", "GpuRenderPassDepthStencilAttachment", "GpuRenderPassDescriptor", "GpuRenderPassEncoder", "GpuRenderPipeline", "GpuRenderPipelineDescriptor", "GpuRequestAdapterOptions", "GpuSampler", "GpuSamplerBindingLayout", "GpuSamplerBindingType", "GpuSamplerDescriptor", "GpuShaderModule", "GpuShaderModuleDescriptor", "GpuStencilFaceState", "GpuStencilOperation", "GpuStorageTextureAccess", "GpuStorageTextureBindingLayout", "GpuStoreOp", "GpuSupportedFeatures", "GpuSupportedLimits", "GpuTexture", "GpuTextureAspect", "GpuTextureBindingLayout", "GpuTextureDescriptor", "GpuTextureDimension", "GpuTextureFormat", "GpuTextureSampleType", "GpuTextureView", "GpuTextureViewDescriptor", "GpuTextureViewDimension", "GpuUncapturedErrorEvent", "GpuUncapturedErrorEventInit", "GpuValidationError", "GpuVertexAttribute", "GpuVertexBufferLayout", "GpuVertexFormat", "GpuVertexState", "GpuVertexStepMode", "HtmlCanvasElement", "OffscreenCanvas", "ImageBitmap", "ImageBitmapRenderingContext", "Window", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.web-sys] version = "0.3.60" features = ["Location"] [target."cfg(target_os = \"android\")".dependencies.android_logger] version = "0.11" [target."cfg(target_os = \"android\")".dependencies.egl] version = "4.1" features = ["dynamic"] package = "khronos-egl" [target."cfg(target_os = \"android\")".dependencies.futures] version = "0.3" [target."cfg(target_os = \"android\")".dependencies.glow] version = "0.11.2" [target."cfg(target_os = \"android\")".dependencies.libloading] version = "0.7" [target."cfg(target_os = \"android\")".dependencies.wgpu-hal] version = "0.14.0" [target."cfg(target_os = \"android\")".dependencies.wgt] version = "0.14.0" package = "wgpu-types"