Hello,
I am new to Rustc. I just followed one of your examples to connect to mysql but it failed.
I receive the following error. I am using eclipse as IDE and Rustc and Diesel has been installed
Compiling myproject v0.1.0 (/xxx/Projects_Rust/myproject)
error[E0433]: failed to resolve: use of undeclared type PgConnection
–> src/lib.rs:17:5
|
17 | PgConnection::establish(&database_url)
| ^^^^^^^^^^^^ use of undeclared type PgConnection
can anybody help here. thanks