These tutorials show how to use Zbox in Rust.
To use these tutorials, follow these steps:
-
Create a repo on zbox.io and copy its URI
-
In each tutorial rs file, replace
[your_repo_uri]
with your repo's URI -
Turn on debug logs:
export RUST_LOG=zbox=debug
and run the tutorial. For example,
cargo run --bin 00-hello-world
-
How to write and read a simple
Hello, World!
file using Zbox. -
Basic directory operations, such as create, list, remove and etc.
-
Basic file operations, such as create, read/write, remove and etc.
-
Basic file system operations, such as metadata, copy, rename and etc.