We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
In a freshly cloned repo, in the directory prisma-client-rust/crates/sdk/example/app
prisma-client-rust/crates/sdk/example/app
I generated a client
cargo prisma generate
and then tried to build with
cargo build
I received the following error:
error: No connector feature enabled. Please enable a connector feature ('mssql', 'mysql', 'postgresql', 'sqlite', or 'mongodb') --> crates/lib/src/lib.rs:8:1 | 8 | compile_error!("No connector feature enabled. Please enable a connector feature ('mssql', 'mysql', 'postgresql', 'sqlite', or 'mongodb')...
The features from these database connectors are all uncommented in the Cargo.toml
Cargo.toml
[features] default = [] rspc = ["dep:rspc", "specta"] specta = ["dep:specta", "prisma-client-rust-generator-macros/specta"] sqlite-create-many = ["psl/sqlite-create-many"] migrations = [ "schema-core", "dep:include_dir", "dep:tempfile", "tokio/fs", "dep:tracing", ] mocking = ["tokio"] # mutation-callbacks = [] mssql = ["schema-core/mssql", "request-handlers/mssql"] mysql = ["schema-core/mysql", "request-handlers/mysql"] postgresql = ["schema-core/postgresql", "request-handlers/postgresql"] sqlite = ["schema-core/sqlite", "request-handlers/sqlite"] mongodb = ["schema-core/mongodb", "request-handlers/mongodb"]
Any help on how to proceed is appreciated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In a freshly cloned repo,
in the directory
prisma-client-rust/crates/sdk/example/app
I generated a client
and then tried to build with
I received the following error:
The features from these database connectors are all uncommented in the
Cargo.toml
Any help on how to proceed is appreciated.
The text was updated successfully, but these errors were encountered: