tomaz-suller / mvn-rs Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pcs3616/mvn-rs
This project forked from pcs3616/mvn-rs
Using string slices would save converting from static string slices in various places.
Mneumonic are hard coded in tests, whereas they should all come from calls to dotenv!
, like the ones in the mvn-types
tests.
As described in b17d37f, removing From<NormalMneumonic> for u8
was necessary since using results from dotenv!
as patterns for a match
statement were not allowed by the compiler, which complained about it being impossible to expand the macro into a pattern.
It seems this has something to do with the use of procedural macros, as for "normal" macros it seems this feature has long been added to Rust, as per rust-lang/rust#14298.
None
Only one I can think of is reading the hex values from the .env
file and transmuting them (which is unsafe) into NormalMneumonic
variants. I don't see this as too big an issue since these .env
files were never meant to be managed by the final user, but only by the developers (so much so we use dotenv_codegen
because the .env
file is only necessary at compile time).
They can't really be used directly in the linker, so there's no need to keep a separate crate apart from making it harder to implement some types.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.