# 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 = "wasm2glulx" version = "0.1.2" authors = ["Daniel Fox Franke "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Translate WebAssembly into Glulx" readme = "README.md" keywords = ["glulx"] categories = [ "compilers", "wasm", ] license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/dfoxfranke/bedquilt" [lib] name = "wasm2glulx" path = "src/lib.rs" [[bin]] name = "wasm2glulx" path = "src/main.rs" [[test]] name = "address" path = "tests/address.rs" [[test]] name = "align" path = "tests/align.rs" [[test]] name = "block" path = "tests/block.rs" [[test]] name = "br" path = "tests/br.rs" [[test]] name = "br_if" path = "tests/br_if.rs" [[test]] name = "br_table" path = "tests/br_table.rs" [[test]] name = "bulk" path = "tests/bulk.rs" [[test]] name = "call" path = "tests/call.rs" [[test]] name = "call_indirect" path = "tests/call_indirect.rs" [[test]] name = "const" path = "tests/const.rs" [[test]] name = "conversions" path = "tests/conversions.rs" [[test]] name = "endianness" path = "tests/endianness.rs" [[test]] name = "f32" path = "tests/f32.rs" [[test]] name = "f32_bitwise" path = "tests/f32_bitwise.rs" [[test]] name = "f32_cmp" path = "tests/f32_cmp.rs" [[test]] name = "f64" path = "tests/f64.rs" [[test]] name = "f64_bitwise" path = "tests/f64_bitwise.rs" [[test]] name = "f64_cmp" path = "tests/f64_cmp.rs" [[test]] name = "fac" path = "tests/fac.rs" [[test]] name = "float_exprs" path = "tests/float_exprs.rs" [[test]] name = "float_literals" path = "tests/float_literals.rs" [[test]] name = "float_memory" path = "tests/float_memory.rs" [[test]] name = "float_misc" path = "tests/float_misc.rs" [[test]] name = "forward" path = "tests/forward.rs" [[test]] name = "func" path = "tests/func.rs" [[test]] name = "i32" path = "tests/i32.rs" [[test]] name = "i64" path = "tests/i64.rs" [[test]] name = "if" path = "tests/if.rs" [[test]] name = "int_exprs" path = "tests/int_exprs.rs" [[test]] name = "int_literals" path = "tests/int_literals.rs" [[test]] name = "labels" path = "tests/labels.rs" [[test]] name = "left-to-right" path = "tests/left-to-right.rs" [[test]] name = "load" path = "tests/load.rs" [[test]] name = "local_get" path = "tests/local_get.rs" [[test]] name = "local_set" path = "tests/local_set.rs" [[test]] name = "local_tee" path = "tests/local_tee.rs" [[test]] name = "loop" path = "tests/loop.rs" [[test]] name = "memory" path = "tests/memory.rs" [[test]] name = "memory_copy" path = "tests/memory_copy.rs" [[test]] name = "memory_fill" path = "tests/memory_fill.rs" [[test]] name = "memory_grow" path = "tests/memory_grow.rs" [[test]] name = "memory_init" path = "tests/memory_init.rs" [[test]] name = "memory_redundancy" path = "tests/memory_redundancy.rs" [[test]] name = "memory_size" path = "tests/memory_size.rs" [[test]] name = "memory_trap" path = "tests/memory_trap.rs" [[test]] name = "nop" path = "tests/nop.rs" [[test]] name = "ref_func" path = "tests/ref_func.rs" [[test]] name = "ref_is_null" path = "tests/ref_is_null.rs" [[test]] name = "ref_null" path = "tests/ref_null.rs" [[test]] name = "return" path = "tests/return.rs" [[test]] name = "select" path = "tests/select.rs" [[test]] name = "simd_address" path = "tests/simd_address.rs" [[test]] name = "simd_align" path = "tests/simd_align.rs" [[test]] name = "simd_bit_shift" path = "tests/simd_bit_shift.rs" [[test]] name = "simd_bitwise" path = "tests/simd_bitwise.rs" [[test]] name = "simd_boolean" path = "tests/simd_boolean.rs" [[test]] name = "simd_const" path = "tests/simd_const.rs" [[test]] name = "simd_conversions" path = "tests/simd_conversions.rs" [[test]] name = "simd_f32x4" path = "tests/simd_f32x4.rs" [[test]] name = "simd_f32x4_arith" path = "tests/simd_f32x4_arith.rs" [[test]] name = "simd_f32x4_cmp" path = "tests/simd_f32x4_cmp.rs" [[test]] name = "simd_f32x4_pmin_pmax" path = "tests/simd_f32x4_pmin_pmax.rs" [[test]] name = "simd_f32x4_rounding" path = "tests/simd_f32x4_rounding.rs" [[test]] name = "simd_f64x2" path = "tests/simd_f64x2.rs" [[test]] name = "simd_f64x2_arith" path = "tests/simd_f64x2_arith.rs" [[test]] name = "simd_f64x2_cmp" path = "tests/simd_f64x2_cmp.rs" [[test]] name = "simd_f64x2_pmin_pmax" path = "tests/simd_f64x2_pmin_pmax.rs" [[test]] name = "simd_f64x2_rounding" path = "tests/simd_f64x2_rounding.rs" [[test]] name = "simd_i16x8_arith" path = "tests/simd_i16x8_arith.rs" [[test]] name = "simd_i16x8_arith2" path = "tests/simd_i16x8_arith2.rs" [[test]] name = "simd_i16x8_cmp" path = "tests/simd_i16x8_cmp.rs" [[test]] name = "simd_i16x8_extadd_pairwise_i8x16" path = "tests/simd_i16x8_extadd_pairwise_i8x16.rs" [[test]] name = "simd_i16x8_extmul_i8x16" path = "tests/simd_i16x8_extmul_i8x16.rs" [[test]] name = "simd_i16x8_q15mulr_sat_s" path = "tests/simd_i16x8_q15mulr_sat_s.rs" [[test]] name = "simd_i16x8_sat_arith" path = "tests/simd_i16x8_sat_arith.rs" [[test]] name = "simd_i32x4_arith" path = "tests/simd_i32x4_arith.rs" [[test]] name = "simd_i32x4_arith2" path = "tests/simd_i32x4_arith2.rs" [[test]] name = "simd_i32x4_cmp" path = "tests/simd_i32x4_cmp.rs" [[test]] name = "simd_i32x4_dot_i16x8" path = "tests/simd_i32x4_dot_i16x8.rs" [[test]] name = "simd_i32x4_extadd_pairwise_i16x8" path = "tests/simd_i32x4_extadd_pairwise_i16x8.rs" [[test]] name = "simd_i32x4_extmul_i16x8" path = "tests/simd_i32x4_extmul_i16x8.rs" [[test]] name = "simd_i32x4_trunc_sat_f32x4" path = "tests/simd_i32x4_trunc_sat_f32x4.rs" [[test]] name = "simd_i32x4_trunc_sat_f64x2" path = "tests/simd_i32x4_trunc_sat_f64x2.rs" [[test]] name = "simd_i64x2_arith" path = "tests/simd_i64x2_arith.rs" [[test]] name = "simd_i64x2_arith2" path = "tests/simd_i64x2_arith2.rs" [[test]] name = "simd_i64x2_cmp" path = "tests/simd_i64x2_cmp.rs" [[test]] name = "simd_i64x2_extmul_i32x4" path = "tests/simd_i64x2_extmul_i32x4.rs" [[test]] name = "simd_i8x16_arith" path = "tests/simd_i8x16_arith.rs" [[test]] name = "simd_i8x16_arith2" path = "tests/simd_i8x16_arith2.rs" [[test]] name = "simd_i8x16_cmp" path = "tests/simd_i8x16_cmp.rs" [[test]] name = "simd_i8x16_sat_arith" path = "tests/simd_i8x16_sat_arith.rs" [[test]] name = "simd_int_to_int_extend" path = "tests/simd_int_to_int_extend.rs" [[test]] name = "simd_lane" path = "tests/simd_lane.rs" [[test]] name = "simd_load" path = "tests/simd_load.rs" [[test]] name = "simd_load16_lane" path = "tests/simd_load16_lane.rs" [[test]] name = "simd_load32_lane" path = "tests/simd_load32_lane.rs" [[test]] name = "simd_load64_lane" path = "tests/simd_load64_lane.rs" [[test]] name = "simd_load8_lane" path = "tests/simd_load8_lane.rs" [[test]] name = "simd_load_extend" path = "tests/simd_load_extend.rs" [[test]] name = "simd_load_splat" path = "tests/simd_load_splat.rs" [[test]] name = "simd_load_zero" path = "tests/simd_load_zero.rs" [[test]] name = "simd_splat" path = "tests/simd_splat.rs" [[test]] name = "simd_store" path = "tests/simd_store.rs" [[test]] name = "simd_store16_lane" path = "tests/simd_store16_lane.rs" [[test]] name = "simd_store32_lane" path = "tests/simd_store32_lane.rs" [[test]] name = "simd_store64_lane" path = "tests/simd_store64_lane.rs" [[test]] name = "simd_store8_lane" path = "tests/simd_store8_lane.rs" [[test]] name = "stack" path = "tests/stack.rs" [[test]] name = "store" path = "tests/store.rs" [[test]] name = "switch" path = "tests/switch.rs" [[test]] name = "table_copy" path = "tests/table_copy.rs" [[test]] name = "table_fill" path = "tests/table_fill.rs" [[test]] name = "table_get" path = "tests/table_get.rs" [[test]] name = "table_grow" path = "tests/table_grow.rs" [[test]] name = "table_init" path = "tests/table_init.rs" [[test]] name = "table_set" path = "tests/table_set.rs" [[test]] name = "table_size" path = "tests/table_size.rs" [[test]] name = "traps" path = "tests/traps.rs" [[test]] name = "trivial" path = "tests/trivial.rs" [[test]] name = "unreachable" path = "tests/unreachable.rs" [[test]] name = "unreached-valid" path = "tests/unreached-valid.rs" [[test]] name = "unwind" path = "tests/unwind.rs" [dependencies.anyhow] version = "1" [dependencies.bytes] version = "1" [dependencies.clap] version = "4" features = [ "derive", "wrap_help", ] [dependencies.glulx-asm] version = "0.1" [dependencies.hex] version = "0.4" optional = true [dependencies.walrus] version = "0.22" [dependencies.wast] version = "212" optional = true [dev-dependencies] [build-dependencies.cc] version = "1" optional = true [features] default = [] spectest = [ "dep:hex", "dep:wast", "dep:cc", ]