mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Renamed kwasm-net to wasmer-kernel-net
This commit is contained in:
parent
408f89ccd6
commit
3bbf7753cb
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -925,10 +925,6 @@ dependencies = [
|
||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kwasm-net"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "1.3.0"
|
||||
@ -2347,6 +2343,10 @@ dependencies = [
|
||||
"wasmer-runtime-core 0.4.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasmer-kernel-net"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "wasmer-llvm-backend"
|
||||
version = "0.4.1"
|
||||
|
@ -36,7 +36,7 @@ wasmer-wasi = { path = "lib/wasi", optional = true }
|
||||
wasmer-kernel-loader = { path = "lib/kernel-loader", optional = true }
|
||||
|
||||
[workspace]
|
||||
members = ["lib/clif-backend", "lib/singlepass-backend", "lib/runtime", "lib/runtime-abi", "lib/runtime-core", "lib/emscripten", "lib/spectests", "lib/win-exception-handler", "lib/runtime-c-api", "lib/llvm-backend", "lib/wasi", "lib/middleware-common", "lib/kernel-loader", "lib/kwasm-net", "examples/plugin-for-example"]
|
||||
members = ["lib/clif-backend", "lib/singlepass-backend", "lib/runtime", "lib/runtime-abi", "lib/runtime-core", "lib/emscripten", "lib/spectests", "lib/win-exception-handler", "lib/runtime-c-api", "lib/llvm-backend", "lib/wasi", "lib/middleware-common", "lib/kernel-loader", "lib/kernel-net", "examples/plugin-for-example"]
|
||||
|
||||
[build-dependencies]
|
||||
wabt = "0.7.2"
|
||||
|
4
examples/http-server/Cargo.lock
generated
4
examples/http-server/Cargo.lock
generated
@ -4,10 +4,10 @@
|
||||
name = "http-server"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"kwasm-net 0.1.0",
|
||||
"wasmer-kernel-net 0.1.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kwasm-net"
|
||||
name = "wasmer-kernel-net"
|
||||
version = "0.1.0"
|
||||
|
||||
|
@ -9,4 +9,4 @@ edition = "2018"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
kwasm-net = { path = "../../lib/kwasm-net" }
|
||||
wasmer-kernel-net = { path = "../../lib/kernel-net" }
|
||||
|
@ -1,6 +1,6 @@
|
||||
#![feature(wasi_ext)]
|
||||
|
||||
use kwasm_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use wasmer_kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use std::sync::Arc;
|
||||
|
||||
fn serve(stream: Arc<TcpStream>, mut all: Vec<u8>) {
|
||||
|
@ -7,4 +7,4 @@ edition = "2018"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
kwasm-net = { path = "../../lib/kwasm-net" }
|
||||
wasmer-kernel-net = { path = "../../lib/kernel-net" }
|
@ -1,6 +1,6 @@
|
||||
#![feature(wasi_ext)]
|
||||
|
||||
use kwasm_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use wasmer_kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use std::sync::Arc;
|
||||
|
||||
fn do_echo(stream: Arc<TcpStream>, buf: Vec<u8>) {
|
||||
|
@ -3,7 +3,7 @@ pub mod service;
|
||||
use service::{ImportInfo, LoadProfile, RunProfile, ServiceContext, TableEntryRequest};
|
||||
use wasmer_runtime_core::{
|
||||
backend::RunnableModule,
|
||||
loader::{self, Instance, Loader},
|
||||
loader::{Instance, Loader},
|
||||
module::ModuleInfo,
|
||||
structures::TypedIndex,
|
||||
types::{
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "kwasm-net"
|
||||
name = "wasmer-kernel-net"
|
||||
version = "0.1.0"
|
||||
authors = ["Heyang Zhou <zhy20000919@hotmail.com>"]
|
||||
edition = "2018"
|
Loading…
Reference in New Issue
Block a user