Skip to content

solidoracle/localstorage-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

3 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

šŸ“¦ LOCALSTORAGE-RS šŸ“¦

Overview

A Rust crate that mimics smart contract storage in system code.

It provides macros for storing and retrieving various data types in a local file system, with configurable storage paths and file extensions.

How to use

  1. Create an .env file using the .env.example file as a template.
  2. Set the environment variables STORAGE_PATH and FILE_EXTENSION in .env
  3. Add dotenvĀ crate to your Cargo.toml
  4. UseĀ theĀ dotenvĀ crateĀ andĀ callĀ dotenv::dotenv().ok(); inĀ theĀ function you are using

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages