-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,11 @@ name = "mfio-derive" | |
version = "0.1.0" | ||
rust-version = "1.72" | ||
edition = "2021" | ||
authors = ["Aurimas Blažulionis <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/memflow/mfio" | ||
documentation = "https://docs.rs/mfio-derive" | ||
description = "mfio derive macros" | ||
|
||
[lib] | ||
proc-macro = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
[package] | ||
name = "mfio-netfs" | ||
version = "0.1.0" | ||
rust-version = "1.72" | ||
rust-version = "1.74" | ||
edition = "2021" | ||
authors = ["Aurimas Blažulionis <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/memflow/mfio" | ||
description = "mfio based network filesystem" | ||
documentation = "https://docs.rs/mfio-netfs" | ||
keywords = [ "mfio", "async", "network", "filesystem" ] | ||
categories = [ "asynchronous", "network-programming", "filesystem" ] | ||
readme = "README.md" | ||
|
||
[[bin]] | ||
name = "mfio-netfs-server" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# mfio-netfs | ||
|
||
# Network filesystem sample for mfio | ||
|
||
This crate is currently just an example showing how a relatively simple filesystem proxy could | ||
be implemented using mfio's TCP streams. | ||
|
||
Please do not use this in production, because the library does close to no error checking, so | ||
data corruption is likely to happen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
[package] | ||
name = "mfio-rt" | ||
version = "0.1.0" | ||
rust-version = "1.72" | ||
rust-version = "1.74" | ||
edition = "2021" | ||
authors = ["Aurimas Blažulionis <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/memflow/mfio" | ||
description = "mfio based async runtime" | ||
documentation = "https://docs.rs/mfio-rt" | ||
keywords = [ "mfio", "async", "runtime", "io_uring", "iocp" ] | ||
categories = [ "asynchronous", "network-programming", "no-std", "os", "filesystem" ] | ||
readme = "README.md" | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# mfio-rt | ||
|
||
## mfio Backed Runtime | ||
|
||
This crate aims to provide building blocks for mfio backed asynchronous runtimes. The traits | ||
have the option to not rely on the standard library. This makes the system great for `no_std` | ||
embedded environments or kernel-side code. | ||
|
||
`native` feature (depends on `std`) enables native implementations of the runtime through | ||
`NativeRt` structure. | ||
|
||
`virt` feature enables a virtual in-memory runtime through `VirtRt` structure. | ||
|
||
Custom runtimes may be implemented by implementing `IoBackend`, and any of the runtime | ||
traits, such as `Fs` or `Tcp`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,11 @@ edition = "2021" | |
authors = ["Aurimas Blažulionis <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/memflow/mfio" | ||
description = "memflow completion-based I/O primitives" | ||
documentation = "https://docs.rs/mfio" | ||
description = "Flexible completion I/O primitives" | ||
keywords = [ "mfio", "memflow", "async", "completion", "io" ] | ||
categories = [ "asynchronous", "no-std", "concurrency" ] | ||
readme = "../README.md" | ||
|
||
[package.metadata.docs.rs] | ||
features = ["default", "tokio", "async-io"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters