Skip to content

Commit

Permalink
docs: add SQLite as a build requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Dec 5, 2023
1 parent 6c69ffc commit e871b7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ Cargo requires the following tools and packages to build:
The following are optional based on your platform and needs.

* `pkg-config` — This is used to help locate system packages, such as `libssl` headers/libraries. This may not be required in all cases, such as using vendored OpenSSL, or on Windows.

* SQLite — Only needed if the `vendored-sqlite` Cargo feature is not used.

This requires the development headers, which can be obtained from the `libsqlite3-dev` package on Ubuntu or `sqlite-devel` with yum or the `sqlite3` package from Homebrew on macOS.

If using the `vendored-sqlite` Cargo feature, then a static copy of SQLite will be built from source instead of using the system SQLite.

* OpenSSL — Only needed on Unix-like systems and only if the `vendored-openssl` Cargo feature is not used.

This requires the development headers, which can be obtained from the `libssl-dev` package on Ubuntu or `openssl-devel` with apk or yum or the `openssl` package from Homebrew on macOS.
Expand Down

0 comments on commit e871b7a

Please sign in to comment.