Crates.io | webbundle-bench |
lib.rs | webbundle-bench |
version | 0.5.1 |
source | src |
created_at | 2022-06-08 04:04:56.22338 |
updated_at | 2022-12-05 06:21:29.706143 |
description | WebBundle Bench |
homepage | |
repository | https://github.com/google/webbundle |
max_upload_size | |
id | 601846 |
size | 44,126 |
google/webbundle
is a project which aims to provide a high-performace library
and various tools for handling Web bundles format.
This is not an officially supported Google product.
There are several crates in the repository.
The core library. See the documentation.
The command line tool for packaging resources as Web Bundles.
Archives of precompiled binaries for webbundle-cli
are available for Windows, macOS and Linux.
If you're using Rust, webbundle-cli
can be installed with cargo
.
cargo install webbundle-cli
The binary name for webbundle-cli
is webbundle
.
Create example.wbn
from the files under build/dist
directory. This is
similar to tar cvf example.tar build/dist
.
$ webbundle create example.wbn build/dist
List the contents of example.wbn
. This is similar to tar tvf example.tar
.
$ webbundle list ./example.wbn
Extract the contents of example.wbn
. This is similar to tar xvf example.tar
.
$ webbundle extract ./example.wbn
See webbundle --help
for detail usage.
The experimental web server which dynamically serves Web bundles from underlying resources.
The benchmark tool for measuring the browser's loading performance with Web bundles.
The development is at very early stage. There are many TODO items:
http::Request
, http::Response
and http::Uri
for better
ergonomicscreate
list
extract
webbundle
: Core librarywebbundle-cli
: CLI, like a tar
commandwebbundle-ffi
: Foreign function interface for C or C++ program, like a
chromium.webbundle-server
: Experimental http server which can assemble and
serve a webbundle dynamically, based on request parameterswebbundle-wasm
: WebAssembly bindingwebbundle-bench
: The benchmark toolSee contributing.md for instructions.