Make modules public

This commit is contained in:
Ivan Bushchik 2023-03-17 15:34:36 +03:00
parent 9d12b43822
commit b616ffce1d
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "smurf"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
authors = ["Ivan Bushchik <ivabus@ivabus.dev>"]
description = "SMall Useful Rust Functions"

View file

@ -5,7 +5,7 @@ pub fn read_to_str(path: &std::path::PathBuf) -> String {
let file = File::open(&path);
let file = match file {
Ok(data) => data,
Err(err) => {
Err(_) => {
eprintln!("Cannot open file \"{}\"", path.display());
std::process::exit(2)
}

View file

@ -1,2 +1,2 @@
mod file;
mod shell;
pub mod file;
pub mod shell;