Skip to content

Commit a524fc0

Browse files
committed
git subrepo clone git@github.com:superfly/sqlite-rs-embedded.git core/rs/sqlite-rs-embedded
subrepo: subdir: "core/rs/sqlite-rs-embedded" merged: "08021676" upstream: origin: "git@github.com:superfly/sqlite-rs-embedded.git" branch: "main" commit: "08021676" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo" commit: "6232cc5"
1 parent 5e28cc1 commit a524fc0

File tree

35 files changed

+17376
-0
lines changed

35 files changed

+17376
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sqlite3_capi/deps/* linguist-vendored
2+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target/
2+
.DS_Store
3+
node_modules/

core/rs/sqlite-rs-embedded/.gitmodules

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
; DO NOT EDIT (unless you know what you are doing)
2+
;
3+
; This subdirectory is a git "subrepo", and this file is maintained by the
4+
; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme
5+
;
6+
[subrepo]
7+
remote = git@github.com:superfly/sqlite-rs-embedded.git
8+
branch = main
9+
commit = 0802167607a592d03f808739f6a426c45c19e9e2
10+
parent = 5e28cc16287119f93b56761e09b06c1182fb1047
11+
method = merge
12+
cmdver = 0.4.9
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wa-sqlite/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"singleQuote": false
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rust-analyzer.checkOnSave.overrideCommand": [
3+
"./cargo",
4+
"xcheck",
5+
"--json-output"
6+
]
7+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SQLite no_std
2+
3+
> Note: these bindings are faithful to the base SQLite C-API as much as possible for minimum rust<->c overhead. This, however, means that the bindings are not entirely safe. E.g., the SQLite statement object will clear returned values out from under you if you step or finalize it while those references exist in your Rust program.
4+
5+
SQLite is lite. Its bindings should be lite too. They should be able to be used _anywhere_ SQLite is used, _not_ incur any performance impact, _not_ include any extra dependencies, and be usable against _any_ SQLite version.
6+
7+
Thus this repository was born.
8+
9+
These bindings:
10+
11+
- Do not require the rust standard library
12+
- Use the SQLite memory subsystem if no allocator exists
13+
- Can be used to write SQLite extensions that compile to WASM and run in the browser
14+
- Does 0 copying. E.g., through some tricks, Rust strings are passed directly to SQLite with no conversion to or copying to CString.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.93.0"

core/rs/sqlite-rs-embedded/sqlite3_allocator/Cargo.lock

Lines changed: 231 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)