diff --git a/Cargo.toml b/Cargo.toml index e74ad28..a9cf8b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,8 +2,9 @@ name = "halvar" version = "0.1.0" edition = "2021" -authors = ["Thomas Jowett "] description = "A 3D Renderer" +license = "MIT" [package.metadata.bundle] name = "Halvar" @@ -11,8 +12,12 @@ identifier = "com.ThomasJowett.halvar" # icon = "path/to/icon.icns" [lib] +name = "halvar" crate-type = ["cdylib", "rlib"] +[[bin]] +name = "halvar_viewer" +path = "src/main.rs" [dependencies] cfg-if = "1" @@ -25,7 +30,6 @@ bytemuck = { version = "1.12", features = ["derive"] } image = "0.24" anyhow = "1.0" - [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.6" console_log = "1.0"