From dde5c16fa9aa58e2838c3b2822e0a8b9c7d74414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E9=80=B8?= Date: Sat, 7 Oct 2023 17:44:57 +0800 Subject: [PATCH] Update version & fix Cargo.toml --- Cargo.toml | 14 +++++++------- README.md | 9 +++++++-- compio/Cargo.toml | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 42adfc6d..68058993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,10 @@ license = "MIT" repository = "https://github.com/compio-rs/compio" [workspace.dependencies] -compio-buf = { path = "./compio-buf" } -compio-driver = { path = "./compio-driver" } -compio-runtime = { path = "./compio-runtime" } -compio-macros = { path = "./compio-macros" } -compio-fs = { path = "./compio-fs" } -compio-net = { path = "./compio-net" } -compio-signal = { path = "./compio-signal" } +compio-buf = { path = "./compio-buf", version = "0.1.0" } +compio-driver = { path = "./compio-driver", version = "0.1.0" } +compio-runtime = { path = "./compio-runtime", version = "0.1.0" } +compio-macros = { path = "./compio-macros", version = "0.1.0" } +compio-fs = { path = "./compio-fs", version = "0.1.0" } +compio-net = { path = "./compio-net", version = "0.1.0" } +compio-signal = { path = "./compio-signal", version = "0.1.0" } diff --git a/README.md b/README.md index ef7d7fdb..a4fac321 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,12 @@ They don't support Windows. ## Quick start -With `macros` feature enabled, we can use the high level APIs to perform fs & net IO. +Add `compio` as dependency: + +``` +compio = { version = "0.8.0", features = ["macros"] } +``` +Then we can use high level APIs to perform filesystem & net IO. ```rust use compio::fs::File; @@ -40,4 +45,4 @@ async fn main() { } ``` -While you can also control the low-level driver manually. See `driver` example of the repo. +You can also control the low-level driver manually. See `driver` example of the repo. diff --git a/compio/Cargo.toml b/compio/Cargo.toml index bcad4ba1..6421efe7 100644 --- a/compio/Cargo.toml +++ b/compio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compio" -version = "0.7.0" +version = "0.8.0" description = "completion based async runtime" categories = ["asynchronous", "filesystem", "network-programming"] keywords = ["async", "fs", "iocp", "io-uring", "net"]