{"id":13641091,"url":"https://github.com/mesalock-linux/wasmi-sgx","last_synced_at":"2025-04-20T07:31:58.786Z","repository":{"id":44666852,"uuid":"187415761","full_name":"mesalock-linux/wasmi-sgx","owner":"mesalock-linux","description":"Wasm interpreter in Rust","archived":false,"fork":true,"pushed_at":"2024-07-01T10:09:07.000Z","size":2592,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-03T01:19:46.100Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://paritytech.github.io/wasmi/","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"wasmi-labs/wasmi","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesalock-linux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-18T23:55:08.000Z","updated_at":"2024-02-08T12:40:20.000Z","dependencies_parsed_at":"2023-02-12T12:30:24.993Z","dependency_job_id":null,"html_url":"https://github.com/mesalock-linux/wasmi-sgx","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalock-linux%2Fwasmi-sgx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalock-linux%2Fwasmi-sgx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalock-linux%2Fwasmi-sgx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalock-linux%2Fwasmi-sgx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesalock-linux","download_url":"https://codeload.github.com/mesalock-linux/wasmi-sgx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223822051,"owners_count":17208795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:01:17.663Z","updated_at":"2024-11-09T11:30:43.385Z","avatar_url":"https://github.com/mesalock-linux.png","language":"Rust","funding_links":[],"categories":["Language Frameworks"],"sub_categories":["Library OSes and SDKs"],"readme":"[![crates.io link](https://img.shields.io/crates/v/wasmi.svg)](https://crates.io/crates/wasmi)\n[![Build Status](https://travis-ci.org/paritytech/wasmi.svg?branch=master)](https://travis-ci.org/paritytech/wasmi)\n\n# `wasmi`\n\n`wasmi` - a Wasm interpreter.\n\n`wasmi` was conceived as a component of [parity-ethereum](https://github.com/paritytech/parity-ethereum) (ethereum-like contracts in wasm) and [substrate](https://github.com/paritytech/substrate). These projects are related to blockchain and require a high degree of correctness, even if that might be over conservative. This specifically means that we are not trying to be involved in any implementation of any of work-in-progress Wasm proposals. We are also trying to be as close as possible to the spec, which means we are trying to avoid features that is not directly supported by the spec. This means that it is flexible on the one hand and on the other hand there shouldn't be a problem migrating to another spec compliant execution engine.\n\nWith all that said, `wasmi` should be a good option for initial prototyping.\n\n# Build \u0026 Test\n\nAs `wasmi` contains a git submodule, you need to use `--recursive` for cloning or to checkout the submodule explicitly, otherwise the testing would fail.\n\n```\ngit clone https://github.com/paritytech/wasmi.git --recursive\ncd wasmi\ncargo build\ncargo test\n```\n\n# `no_std` support\n\nThis crate supports `no_std` environments.\nEnable the `core` feature and disable default features:\n```toml\n[dependencies]\nwasmi = {\n\tversion = \"*\",\n\tdefault-features = false,\n\tfeatures = \"core\"\n}\n```\n\nWhen the `core` feature is enabled, code related to `std::error` is disabled.\n\nFloating point operations in `no_std` use [`libm`](https://crates.io/crates/libm), which sometimes panics in debug mode (https://github.com/japaric/libm/issues/4).\nSo make sure to either use release builds or avoid WASM with floating point operations, for example by using [`deny_floating_point`](https://docs.rs/wasmi/0.4.0/wasmi/struct.Module.html#method.deny_floating_point).\n\n# License\n\n`wasmi` is primarily distributed under the terms of both the MIT\nlicense and the Apache License (Version 2.0), at your choice.\n\nSee LICENSE-APACHE, and LICENSE-MIT for details.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in `wasmi` by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesalock-linux%2Fwasmi-sgx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesalock-linux%2Fwasmi-sgx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesalock-linux%2Fwasmi-sgx/lists"}