diff --git a/Cargo.toml b/Cargo.toml index 4a1c6ea..f07da31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,6 +58,19 @@ url = "2.2.2" openssl = { version = "*", features = ["vendored"] } rusqlite = { version = "*", features = ["bundled"] } +## On Windows, there are prebuilt versions of sqlite3 available, +## but building it from bundled source is just easier and works out of the box. +## +## If you don't want to include sqlite3 as a static library built from source, +## you can comment out the below lines and link against a prebuilt version. +## One way to easily do this is to install sqlite using a package manager like `chocolatey` +## (see ). Another way is to or download it +## directly from the sqlite website: , +## where you'll want the 64-bit DLL (x64) under "Precompiled Binaries for Windows". +## You'll need to add the directory of that prebuilt sqlite DLL to your path env variable. +[target.'cfg(target_os = "windows")'.dependencies] +rusqlite = { version = "*", features = ["bundled"] } + [package.metadata.docs.rs] all-features = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..d8c7a9d --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly-2023-12-22"