{"id":26038164,"url":"https://github.com/paritytech/pwasm-std","last_synced_at":"2025-03-07T09:01:24.808Z","repository":{"id":62443159,"uuid":"99818626","full_name":"openethereum/pwasm-std","owner":"openethereum","description":"WASM contracts standard library for Rust","archived":true,"fork":false,"pushed_at":"2019-03-07T12:11:08.000Z","size":991,"stargazers_count":54,"open_issues_count":5,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-22T22:01:53.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openethereum.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":"2017-08-09T14:37:53.000Z","updated_at":"2023-01-28T10:35:11.000Z","dependencies_parsed_at":"2022-11-01T22:16:33.603Z","dependency_job_id":null,"html_url":"https://github.com/openethereum/pwasm-std","commit_stats":null,"previous_names":["paritytech/pwasm-std"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openethereum%2Fpwasm-std","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openethereum%2Fpwasm-std/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openethereum%2Fpwasm-std/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openethereum%2Fpwasm-std/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openethereum","download_url":"https://codeload.github.com/openethereum/pwasm-std/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241836225,"owners_count":20028150,"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":"2025-03-07T09:01:18.936Z","updated_at":"2025-03-07T09:01:24.784Z","avatar_url":"https://github.com/openethereum.png","language":"Rust","readme":"# pwasm-std\n\nParity WASM contracts standard library for Rust\n\n[![Build Status](https://travis-ci.org/paritytech/pwasm-std.svg?branch=master)](https://travis-ci.org/paritytech/pwasm-std)\n\n[Documentation](https://paritytech.github.io/pwasm-std/pwasm_std/)\n\n`pwasm-std` is a limited subset of the Rust standard library, along with a custom allocator which delegates the allocation to the runtime-defined externs.\n\n## Use\n\nJust add a dependency\n```toml\n[dependencies]\npwasm-std = \"0.13\"\n```\n\nTest `pwasm-std` with\n\n```\ncargo test --features=test\n```\n\nThe crate is supposed to be used on nightly Rust only, until the custom allocator api stablizes in Rust.\n\n## no_std\n\n`pwasm-std` is itself compiled with no_std and expected to be used within no_std-crates/binaries, since it defines `lang_item`-s on it's own, which will conflict with standard library.\n\nBut for test scenarios it can be compiled with feature \"std\" and auxiliary crate \"pwasm-test\" to support testing of contracts' internal logic.\n\n# License\n\n`pwasm-std` 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 pwasm-std by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":["Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fpwasm-std","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparitytech%2Fpwasm-std","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fpwasm-std/lists"}