Fix features required by loadable_extension example

This commit is contained in:
gwenn 2023-12-20 18:51:58 +01:00
parent aeaacc402a
commit e42e8f0ec3
2 changed files with 3 additions and 3 deletions

View File

@ -163,11 +163,11 @@ harness = false
[[example]] [[example]]
name = "loadable_extension" name = "loadable_extension"
crate-type = ["cdylib"] crate-type = ["cdylib"]
required-features = ["loadable_extension", "modern_sqlite", "functions", "vtab", "trace"] required-features = ["loadable_extension", "functions", "trace"]
[[example]] [[example]]
name = "load_extension" name = "load_extension"
required-features = ["load_extension", "bundled", "functions", "vtab", "trace"] required-features = ["load_extension", "bundled", "functions", "trace"]
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = ["modern-full", "rusqlite-macros"] features = ["modern-full", "rusqlite-macros"]

View File

@ -8,7 +8,7 @@ use rusqlite::{to_sqlite_error, Connection, Result};
/// # build /// # build
/// ```sh /// ```sh
/// cargo build --example loadable_extension --features "loadable_extension modern_sqlite functions vtab trace" /// cargo build --example loadable_extension --features "loadable_extension functions trace"
/// ``` /// ```
/// # test /// # test
/// ```sh /// ```sh