Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Default match file extensions: otf|ttf|ttc|png|jpg|jpeg|gif

  1. Create /make_vfs directory:
cargo new make_vfs
  1. Navigate to /make_vfs directory.
  2. Open /make_vfs directory in VS Code:
code .
  1. Copy this script into main.rs file.
  2. Add base64 crate dependency to Cargo.toml file
[dependencies]
base64 = "0.22.1"

# Customizing Builds with Release Profiles at
# https://doc.rust-lang.org/book/ch14-01-release-profiles.html
[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
  1. Compile to executable binary:
cargo build --release
  1. Output:
D:\rust\make_vfs>cargo build --release
   Compiling base64 v0.22.1
   Compiling make_vfs v0.1.0 (D:\rust\make_vfs)
    Finished `release` profile [optimized] target(s) in 1.51s