Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/sqlite: Add special case for sqlcipher key pragma when connecting. #1587

Merged
merged 2 commits into from
Dec 27, 2021

Conversation

parazyd
Copy link
Contributor

@parazyd parazyd commented Dec 21, 2021

No description provided.

@abonander abonander merged commit d258e8c into launchbadge:master Dec 27, 2021
@rmGFW
Copy link

rmGFW commented Jun 12, 2022

how can i enable sqlcipher for libsqlite3-sys when i use sqlx ,what should i do with cargo.toml

@parazyd
Copy link
Contributor Author

parazyd commented Jun 14, 2022

how can i enable sqlcipher for libsqlite3-sys when i use sqlx ,what should i do with cargo.toml

I do it like this:

sqlx = {version = "0.5.13", features = ["runtime-async-std-native-tls", "sqlite"], optional = true}
libsqlite3-sys = {version = "0.24.2", features = ["bundled-sqlcipher"],  optional = true }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants