If I have a lib.rs file and I'm using a function from a module in the mod.rs file, and that function uses another function within the mod.rs file but isn't made public to lib.rs. Thus is inaccessible to the lib.rs.
What happens if I publish my project to the web? Which files are made public? I'm assuming the whole mod.rs is still accessible since the website still needs to use function from the mod.rs, or will it only load in the public functions from mod.rs?
Note: I am not at all familiar with releasing projects to the actual web. So it also plays a big role in not seeing how it all works. I'm using WASM (with JS) to compile certain functions.