{"id":17169000,"url":"https://github.com/haraldh/wasi_tokio_httpd","last_synced_at":"2025-03-24T18:44:24.164Z","repository":{"id":47229605,"uuid":"502040511","full_name":"haraldh/wasi_tokio_httpd","owner":"haraldh","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-21T07:19:30.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T23:28:59.861Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haraldh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-10T12:46:33.000Z","updated_at":"2022-06-10T13:15:00.000Z","dependencies_parsed_at":"2022-08-31T15:11:50.797Z","dependency_job_id":null,"html_url":"https://github.com/haraldh/wasi_tokio_httpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraldh%2Fwasi_tokio_httpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraldh%2Fwasi_tokio_httpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraldh%2Fwasi_tokio_httpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraldh%2Fwasi_tokio_httpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haraldh","download_url":"https://codeload.github.com/haraldh/wasi_tokio_httpd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245330907,"owners_count":20597865,"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-10-14T23:24:30.062Z","updated_at":"2025-03-24T18:44:24.135Z","avatar_url":"https://github.com/haraldh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasi_tokio_http\n\nThis is a modified version of the\n[`tinyhttp.rs`](https://github.com/tokio-rs/tokio/blob/5288e1e144d33ace0070325b16029523b1db0ffe/examples/tinyhttp.rs)\nexample in the tokio repository.\n\n## Prerequisites\n\nBe sure to update your rust stable toolchain to at least 1.60.0.\n\n## Running\n\n### wasmtime\n\n```console\n❯ CARGO_TARGET_WASM32_WASI_RUNNER=\"wasmtime run --tcplisten 127.0.0.1:8080\" cargo run --target wasm32-wasi  \n```\n\nServer is running on [`http://127.0.0.1:8080`](http://127.0.0.1:8080).\n\n### enarx\n\nafter installing [enarx](https://github.com/enarx/enarx/) in `$PATH` with `cargo install`\n\n```console\n❯ CARGO_TARGET_WASM32_WASI_RUNNER=\"enarx run --wasmcfgfile Enarx.toml\" cargo run --target wasm32-wasi \n```\n\nServer is running on [`https://127.0.0.1:3000`](https://127.0.0.1:3000).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaldh%2Fwasi_tokio_httpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharaldh%2Fwasi_tokio_httpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaldh%2Fwasi_tokio_httpd/lists"}