Skip to content

Instantly share code, notes, and snippets.

@mehcode
Created January 25, 2017 08:59
Show Gist options
  • Save mehcode/04b878833ffff1a8afe8fb1a15a0ade5 to your computer and use it in GitHub Desktop.
Save mehcode/04b878833ffff1a8afe8fb1a15a0ade5 to your computer and use it in GitHub Desktop.

config-rs

  • Support reading from TOML, JSON, YAML, and "whatever format the dotenv one is called"
  • Support reading from etcd
  • Support reading from environment variables
  • Support both a "frozen" and "liquid" configuration

wsdl-rs

  • Parse WSDL files and iterate through Services and Actions

soap-rs

  • Send "generic" SOAP messages
  • Use code generation / compiler plugin to generate a Rust API for a WSDL (parsed with wsdl-rs)

braintree-rs

  • At least feature parity with go-braintree

oauth-rs (This seems to exist in some form; more research is needed)

requests-rs (It seems a library like this exists so perhaps a new name or collaborate)

  • easy methodo of sending requests especially those with OAuth

bugsnag-rs

  • Report panics
  • Integrate with slog-rs to report error/warn logs if requested

intercom-rs

task-rs (or better name)

The idea here is a wrapper around rust-amqp with simple distributed computing (eg. python celery)

hashids-rs

http://hashids.org/rust/ https://github.com/charsyam/hashids_rust seems like a dead library and is not on crates.io

password-rs (or better name)

https://github.com/DaGenix/rust-crypto/ is glorious as a dependency of this The idea is to provide easy solutions for:

  • Generalized password hash in a common format (eg. {algo}${hash})
  • Allow for easy "upgrade" of password hashes. Libraries like this usually have a "verify_and_update" method that verifies a password and optionally returns a new password hash to be saved into the database. The idea is that it allows easy upgrading if your current system uses MD5 for some reason or perhaps your system uses bcrypt and some fatal flaw is found and you want to upgrade to scrypt.

password-rs (better name needed)

The idea is a password strength checker that does various rules. Here is a python lib that does this: https://pypi.python.org/pypi/passwordmeter/0.1.8

sparkpost-rs

@zrneely
Copy link

zrneely commented Jan 26, 2017

For the password strength checker, I highly recommend zxcvbn, Dropbox's strength checker. It can give good feedback, estimations on crack times, and simple scores as needed. No Rust bindings yet, but they exist for C++ and many other languages.

@mehcode
Copy link
Author

mehcode commented Jan 26, 2017

That's cool. A pure Rust zxcvbn sounds like a fun little project for anyone interested. I'll get to it eventually but its no high on my priority list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment