# 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 = "libtetris" version = "0.0.6" description = "A basic tetris implementation" readme = "Readme.md" keywords = ["tetris"] license = "MIT" repository = "https://github.com/2000Slash/libtetris" [lib] name = "tetris" crate-type = [ "cdylib", "lib", ] [dependencies.console_error_panic_hook] version = "0.1.7" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.wasm-bindgen] version = "0.2.84" optional = true [dev-dependencies.rand] version = "0.8.5" [features] native = ["dep:rand"] wasm = [ "dep:wasm-bindgen", "dep:console_error_panic_hook", ]