Renamed kwasm-net to wasmer-kernel-net

This commit is contained in:
Syrus 2019-05-15 10:34:56 -07:00
parent 408f89ccd6
commit 3bbf7753cb
10 changed files with 13 additions and 13 deletions

8
Cargo.lock generated
View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -9,4 +9,4 @@ edition = "2018"
[workspace]
[dependencies]
kwasm-net = { path = "../../lib/kwasm-net" }
wasmer-kernel-net = { path = "../../lib/kernel-net" }

View File

@ -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>) {

View File

@ -7,4 +7,4 @@ edition = "2018"
[workspace]
[dependencies]
kwasm-net = { path = "../../lib/kwasm-net" }
wasmer-kernel-net = { path = "../../lib/kernel-net" }

View File

@ -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>) {

View File

@ -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::{

View File

@ -1,5 +1,5 @@
[package]
name = "kwasm-net"
name = "wasmer-kernel-net"
version = "0.1.0"
authors = ["Heyang Zhou <zhy20000919@hotmail.com>"]
edition = "2018"