You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it is very painful to keep the beer, hops and yeast data in Rust structs, find out if there is optional solution to store this data inside the executable/lib. For example file based database that could travel inside the package. See #23#39#41#42 for use cases of this.
The text was updated successfully, but these errors were encountered:
will take slightly longer to load all data data from disk than if we were querying data as needed from a proper database if we include it as a string inline at compile time, it will just be the time to parse the string into a struct which is negligible.
If you think that's an okay solution, I'll start working on it.
Sounds like a good idea! Just wondering about the packaging of the json for the rustybeer library; is it possible to do somehow so that the users of the library have the same data available? Don't have that much of experience about that so please enlighten me! :)
As it is very painful to keep the beer, hops and yeast data in Rust structs, find out if there is optional solution to store this data inside the executable/lib. For example file based database that could travel inside the package. See #23 #39 #41 #42 for use cases of this.
The text was updated successfully, but these errors were encountered: