# 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 = "go-engine" version = "0.1.5" authors = ["oxfeeefeee "] description = "The wrapper of the Goscript project." keywords = [ "golang", "goscript", ] categories = [ "scripting language", "programming language", "compiler", ] license = "BSD-2-Clause" repository = "https://github.com/oxfeeefeee/goscript/" resolver = "1" [[bench]] name = "leet5_benchmark" harness = false [dependencies.borsh] version = "0.10.3" optional = true [dependencies.futures-lite] version = "1.12.0" [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.go-codegen] version = "0.1.5" [dependencies.go-parser] version = "0.1.5" [dependencies.go-pmacro] version = "0.1.5" [dependencies.go-types] version = "0.1.5" [dependencies.go-vm] version = "0.1.5" [dependencies.instant] version = "0.1" features = ["wasm-bindgen"] optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.wasm-bindgen] version = "0.2.84" optional = true [dependencies.zip] version = "0.6.2" features = ["deflate"] optional = true default-features = false [dev-dependencies.criterion] version = "0.3" [dev-dependencies.time-test] version = "0.2.2" [features] async = [ "go-codegen/async", "go-vm/async", ] btree_map = [ "go-parser/btree_map", "go-codegen/btree_map", "go-vm/btree_map", ] codegen = [] default = [ "read_fs", "async", "go_std", "codegen", "instruction_pos", ] go_std = [] instruction_pos = ["go-vm/instruction_pos"] read_fs = [] read_zip = ["dep:zip"] serde_borsh = [ "dep:borsh", "go-vm/serde_borsh", ] wasm = [ "dep:wasm-bindgen", "dep:instant", "dep:getrandom", ]