mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-04 18:10:18 +00:00
Rename wasmer-kernel-net
to kernel-net
.
This commit is contained in:
parent
0ab8a045b9
commit
b28992932e
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -916,6 +916,10 @@ name = "itoa"
|
||||
version = "0.4.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "kernel-net"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "kernel32-sys"
|
||||
version = "0.2.2"
|
||||
@ -2343,10 +2347,6 @@ 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"
|
||||
|
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 = [
|
||||
"wasmer-kernel-net 0.1.0",
|
||||
"kernel-net 0.1.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasmer-kernel-net"
|
||||
name = "kernel-net"
|
||||
version = "0.1.0"
|
||||
|
||||
|
@ -9,4 +9,4 @@ edition = "2018"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
wasmer-kernel-net = { path = "../../lib/kernel-net" }
|
||||
kernel-net = { path = "../../lib/kernel-net" }
|
||||
|
@ -1,6 +1,6 @@
|
||||
#![feature(wasi_ext)]
|
||||
|
||||
use wasmer_kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use std::sync::Arc;
|
||||
|
||||
fn serve(stream: Arc<TcpStream>, mut all: Vec<u8>) {
|
||||
|
13
examples/wasi-networking/Cargo.lock
generated
Normal file
13
examples/wasi-networking/Cargo.lock
generated
Normal file
@ -0,0 +1,13 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "kernel-net"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "wasi-networking"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"kernel-net 0.1.0",
|
||||
]
|
||||
|
@ -7,4 +7,4 @@ edition = "2018"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
wasmer-kernel-net = { path = "../../lib/kernel-net" }
|
||||
kernel-net = { path = "../../lib/kernel-net" }
|
@ -1,6 +1,6 @@
|
||||
#![feature(wasi_ext)]
|
||||
|
||||
use wasmer_kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use kernel_net::{schedule, Epoll, Tcp4Listener, TcpStream};
|
||||
use std::sync::Arc;
|
||||
|
||||
fn do_echo(stream: Arc<TcpStream>, buf: Vec<u8>) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "wasmer-kernel-net"
|
||||
name = "kernel-net"
|
||||
version = "0.1.0"
|
||||
authors = ["Heyang Zhou <zhy20000919@hotmail.com>"]
|
||||
edition = "2018"
|
||||
|
Loading…
Reference in New Issue
Block a user