blackbeam / rust-mysql-simple

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

I can't use rustls #311

Closed realtica closed 2 years ago

realtica commented 2 years ago

I clean the rust project and then build it again with:

[dependencies]
mysql = { version = "*", no-default-features = true, features = ["rustls-tls", "buffer-pool"] }
flate2 = { version = "*", no-default-features = true, features = ["zlib"] }
mysql_common = { version = "*", no-default-features = true, features = ["bigdecimal03", "time03", "uuid"]}

..and get this, (native-tls and rustls-tls are on) :S.

warning: unused manifest key: dependencies.flate2.no-default-features
warning: unused manifest key: dependencies.mysql.no-default-features
warning: unused manifest key: dependencies.mysql_common.no-default-features
blackbeam commented 2 years ago

Oh. This is a bug in the documentation. Thanks for report!

Please use default-features = false instead of no-default-features = true