blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
659 stars 144 forks source link

Optsbuilder from hashmap #256

Closed hpca01 closed 3 years ago

hpca01 commented 3 years ago

Hi @blackbeam

Added ability to set up from HashMap<String,String>, also added a test case in the opts.rs file to test the change.

Let me know if I missed something, my Rust is a bit rusty :laughing:

Thanks for allowing me to contribute!

hpca01 commented 3 years ago

Hi @blackbeam

I added the following:

Thanks! Let me know if there's any adjustments needed.

blackbeam commented 3 years ago

@hpca01, thanks!