[package] name = "aalto" version = "0.3.1" edition = "2021" authors = ["Elias Arno Eskelinen "] license = "MIT" repository = "https://github.com/xypine/aalto" documentation = "https://docs.rs/aalto" description = "a simple implementation of a wave collapse algorithm" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib", "rlib"] name = "aalto" [[bin]] name = "aaltobin" path = "src/main.rs" [dependencies] rand = "0.8.4" rand_chacha = "0.3" getrandom = { version = "0.2", features = ["js"] } wasm-bindgen = { version = "0.2.78", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true } image = { version = "0.24.2", optional = true } base64 = { version = "0.13.0", optional = true } [features] default = [ "utils", "wasm", "extractor" ] wasm = [ "wasm-bindgen", "serde_derive" ] serde_derive = [ "serde", "serde_json" ] utils = [] extractor = [ "image", "base64" ] [profile.release] strip = true # Automatically strip symbols from the binary. lto = true