commit | 966b171e7da6c851b21c434f24ed8b41d1bb7c87 | [log] [tgz] |
---|---|---|
author | Sean Griffin <sean@seantheprogrammer.com> | Wed Mar 08 07:10:18 2017 -0500 |
committer | Sean Griffin <sean@seantheprogrammer.com> | Wed Mar 08 07:10:18 2017 -0500 |
tree | 35371791c6dcd60aabba159eba0229dda50b8a5f | |
parent | 0e760a93c0043305f6aa42aa57f8e831e73ad410 [diff] |
Allow MySQL connections to specify SSL mode We'll likely need to add the equivalent of the PG connection string options sslcert, sslkey, sslrootcert, and sslcrl in order for `verify-ca` and `verify-identity` to be useful, but that can be a separate option. Similar to PG, setting `sslmode=require` appears to require ssl, but trust that the connection went to the real server. So traffic is encrypted, but still open to MitM attacks. This is really questionable behavior, but there are definitely situations out there where a database requires SSL, but doesn't provide a certificate that can be verified.
Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors, without sacrificing performance. It takes full advantage of Rust's type system to create a low overhead query builder that “feels like Rust”.
You can find an extensive Getting Started tutorial at http://diesel.rs/guides/getting-started. Guides on more specific features will be coming soon.
Anyone who interacts with Diesel in any space including but not limited to this GitHub repository is expected to follow our code of conduct
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.