vendored的features将第三方依赖的代码直接包含在项目代码仓库中,如 libsqlite3-sys = { version = "0.30.1", features = ["bundled-sqlcipher-vendored-openssl"] } 这会启用openssl-sys的vendored特性,自动下载并编译OpenSSL源码。 安装构建工具 确保系统已安装编译OpenSSL所需的工具: Linux (Ubuntu/Debian): s...
vendored的features将第三方依赖的代码直接包含在项目代码仓库中,如 libsqlite3-sys = { version = "0.30.1", features = ["bundled-sqlcipher-vendored-openssl"] } 这会启用openssl-sys的vendored特性,自动下载并编译OpenSSL源码。 安装构建工具确保系统已安装编译OpenSSL所需的工具: Linux (Ubuntu/Debian): sud...
rusqlite_sqlcipher scratch serde_tutorial shamir-tutorial termion-tutorial triangle-numbers .gitignore notes Breadcrumbs rust_tutorial / diesel_sqlcipher/ Directory actions More options Latest commit christian-oudard Remove encrypted db file accidentally committed. 603a2e2· Apr 22, 2023 HistoryHistory ...
path = "tests/sqlite/sqlcipher.rs" required-features = ["sqlite"] [[test]] name = "sqlite-test-attr" path = "tests/sqlite/test-attr.rs" required-features = ["sqlite", "macros", "migrate"] [[test]] name = "sqlite-migrate" path = "tests/sqlite/migrate.rs" required-features = [...
rm -rf vendor/libsqlite3-sys*/{sqlite3,sqlcipher}/ rm -rf vendor/libssh2-sys*/libssh2/ rm -rf vendor/libz-sys*/src/zlib{,-ng}/ rm -rf vendor/lzma-sys*/xz-*/ rm -rf vendor/openssl-src*/openssl/ find vendor -name .cargo-checksum.json \ -exec sed -i 's/"files":{...
rm -rf vendor/libsqlite3-sys*/{sqlite3,sqlcipher}/ rm -rf vendor/libssh2-sys*/libssh2/ rm -rf vendor/libz-sys*/src/zlib{,-ng}/ rm -rf vendor/lzma-sys*/xz-*/ rm -rf vendor/openssl-src*/openssl/ find vendor -name .cargo-checksum.json \ -exec sed -i 's/"files":{...
bundled-sqlcipher-vendored-openssl allows using bundled-sqlcipher with a vendored version of OpenSSL (via the openssl-sys crate) as the crypto provider. As the name implies this depends on the bundled-sqlcipher feature, and automatically turns it on. If turned on, this uses the openssl-sys ...
When linking against a SQLite (or SQLCipher) library already on the system, you can set theSQLITE3_STATIC(orSQLCIPHER_STATIC) environment variable to 1 to request that the library be statically instead of dynamically linked. We usebindgento generate the Rust declarations from SQLite's C header ...
libsqlite3-sys = { version = "0.30.1", features = ["bundled-sqlcipher"] } # Common lint settings for the workspace [workspace.lints.clippy] # https://github.com/launchbadge/sqlx/issues/3440 cast_possible_truncation = 'deny' cast_possible_wrap = 'deny' cast_sign_loss = 'deny' # Se...
rusqlite = { workspace = true, features = ["sqlcipher"] } rust-hsluv = "0.1" rustls-pki-types = "1.10.0" rustls = { version = "0.23.14", default-features = false } rustls = { version = "0.23.19", default-features = false } sanitize-filename = { workspace = true } serde...