#read #io #io-read #read-file #env-var #file-io

bt_file_utils

Basic file read operation. Returns string with file. The file is either a relative location or passes via an environment variable

2 releases

Uses new Rust 2024

new 0.1.1 Mar 17, 2025
0.1.0 Jan 31, 2025

#1117 in Filesystem

29 downloads per month
Used in bt_yaml_utils

GPL-3.0-only

5KB

Project Title

BT FILE UTILS

Description

A simple implementation to read a file from relative location or environment variable and return a String.

Usage

let file_content = get_file(env_variable, or_file_name);  

Version History

  • 0.1.0
    • Initial Release
  • 0.1.1
    • Use Rust 2024 Edition

License

GPL-3.0-only

Dependencies

~1MB
~18K SLoC