{"id":13693061,"url":"https://github.com/bytecodealliance/preview2-prototyping","last_synced_at":"2025-05-02T21:31:13.448Z","repository":{"id":62005476,"uuid":"540613290","full_name":"bytecodealliance/preview2-prototyping","owner":"bytecodealliance","description":"Polyfill adapter for preview1-using wasm modules to call preview2 functions.","archived":true,"fork":false,"pushed_at":"2023-09-20T22:54:57.000Z","size":1029,"stargazers_count":78,"open_issues_count":8,"forks_count":21,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-08-03T17:14:50.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytecodealliance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-09-23T20:51:38.000Z","updated_at":"2023-12-10T19:44:32.000Z","dependencies_parsed_at":"2024-01-13T20:14:38.005Z","dependency_job_id":null,"html_url":"https://github.com/bytecodealliance/preview2-prototyping","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fpreview2-prototyping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fpreview2-prototyping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fpreview2-prototyping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fpreview2-prototyping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytecodealliance","download_url":"https://codeload.github.com/bytecodealliance/preview2-prototyping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224337265,"owners_count":17294694,"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-02T17:01:05.042Z","updated_at":"2024-11-12T19:30:21.726Z","avatar_url":"https://github.com/bytecodealliance.png","language":"Rust","readme":"# preview2-prototyping\n\n## This repository will soon be retired!\n\nThis repository was home to the prototype implementation of Wasmtime's WASI\nPreview 2 support for 7 months. We have now landed almost all of this\nrepository upstream:\n\n* [Wasmtime issue\n  #6370](https://github.com/bytecodealliance/wasmtime/issues/6370) describes\n  the transition plan, and tracks its progress.\n\n* The component adapter, which used to live at the root of this repo and now\n  lives at `crates/wasi-preview1-component-adapter`, has a new home at\n  [`wasmtime/crates/wasi-preview1-component-adapter`](https://github.com/bytecodealliance/wasmtime/tree/main/crates/wasi-preview1-component-adapter).\n\n* Published binaries of the component adapter can now be found in the\n  [Wasmtime `dev` tag\n  assets](https://github.com/bytecodealliance/wasmtime/releases/tag/dev)\n  under [`wasi_preview1_component_adapter.command.wasm`](https://github.com/bytecodealliance/wasmtime/releases/download/dev/wasi_preview1_component_adapter.command.wasm)\n  and [`wasi_preview1_component_adapter.reactor.wasm`](https://github.com/bytecodealliance/wasmtime/releases/download/dev/wasi_preview1_component_adapter.reactor.wasm).\n\n* If you are invoking `wasm-tools component new` with the component adapter,\n  you now need to specify the name to adapt is `wasi_snapshot_preview1`, e.g.\n  `wasm-tools component new --adapt wasi_snapshot_preview1=./wasi_preview1_component_adapter.command.wasm`\n\n* The host implementation of WASI Preview 2 was found in this repository's\n  `wasi-common` crate. The new home is in the\n  [`wasmtime-wasi` crate under the `preview2` module](https://github.com/bytecodealliance/wasmtime/tree/main/crates/wasi/src/preview2).\n\n* If you were vendoring in the `wasi-common` from this repository, change your\n  source code's `use wasi_common::{WasiCtxBuilder, WasiView, wasi::Command}`\n  to `use wasmtime_wasi::preview2::{WasiCtxBuilder, WasiView, wasi::Command}`\n  to switch to the new implementation.\n\n* If you are looking for the tests found under this repository's `host/tests`,\n  those now live at\n  [`wasmtime/crates/test-programs/tests`](https://github.com/bytecodealliance/wasmtime/tree/main/crates/test-programs/tests).\n\n* If you are looking for the contents of this repository's `test-programs`,\n  those now live under\n  [`wasmtime/crates/test-programs`](https://github.com/bytecodealliance/wasmtime/tree/main/crates/test-programs).\n\n\n## Still active in this repository\n\nThe `wasi-sockets` implementation in this repository is still a work in\nprogress. It will land in Wasmtime in the future, but still lives here\nfor the time being.\n","funding_links":[],"categories":["Rust","others","[WASI(WebAssembly System Interface)](https://github.com/WebAssembly/WASI)"],"sub_categories":["[Component Model](https://github.com/WebAssembly/component-model)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fpreview2-prototyping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodealliance%2Fpreview2-prototyping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fpreview2-prototyping/lists"}