mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-11 10:36:04 +00:00
Compare commits
31 Commits
marine-sql
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
3a86f7b3c3 | ||
|
aa50b4c73b | ||
|
6b1e8d7b3c | ||
|
a8c494bae0 | ||
|
a9960b0d44 | ||
|
a613613e4e | ||
|
7778787125 | ||
|
e90e9f2d3f | ||
|
dbcd85e0d2 | ||
|
b26e0132e6 | ||
|
0fd1e99ed5 | ||
|
b0971a6a5a | ||
|
8d33efa49b | ||
|
1c86bd8816 | ||
|
dc8decc61f | ||
|
6052d0fc2a | ||
|
aefbe84f39 | ||
|
0c0fc3cf2d | ||
|
abc999ecb7 | ||
|
67c8261ea9 | ||
|
af2e730f35 | ||
|
cac0f63bbc | ||
|
1040b5be5e | ||
|
77196ff094 | ||
|
01dfb1d32b | ||
|
07b1848405 | ||
|
4fdfac1e03 | ||
|
4ae55d4042 | ||
|
045c1710e4 | ||
|
743010e16c | ||
|
13e1ff6f8a |
.github
CHANGELOG.mdCargo.tomlConfig.tomlbuild.shrenovate.jsonrust-toolchain.tomlsrc/sqlite3_connector
2
.github/release-please/manifest.json
vendored
2
.github/release-please/manifest.json
vendored
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "0.8.2"
|
".": "0.11.0"
|
||||||
}
|
}
|
||||||
|
16
.github/renovate.json
vendored
Normal file
16
.github/renovate.json
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchManagers": ["cargo"],
|
||||||
|
"groupName": "marine-rs-sdk",
|
||||||
|
"matchPackagePatterns": [
|
||||||
|
"marine-rs-sdk",
|
||||||
|
"marine-rs-sdk-test"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
41
.github/workflows/e2e.yml
vendored
41
.github/workflows/e2e.yml
vendored
@ -49,11 +49,26 @@ jobs:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer:
|
decider:
|
||||||
needs:
|
needs:
|
||||||
- spell
|
- spell
|
||||||
|
uses: fluencelabs/decider/.github/workflows/snapshot.yml@main
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-dtos",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/build.yml@master
|
nox:
|
||||||
|
needs:
|
||||||
|
- spell
|
||||||
|
- decider
|
||||||
|
|
||||||
|
uses: fluencelabs/nox/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
@ -66,34 +81,38 @@ jobs:
|
|||||||
"package": "fluence-spell-distro",
|
"package": "fluence-spell-distro",
|
||||||
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
"registry": "fluence"
|
"registry": "fluence"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "decider-distro",
|
||||||
|
"version": "=${{ needs.decider.outputs.cargo-version }}",
|
||||||
|
"manifest": "crates/system-services/Cargo.toml",
|
||||||
|
"registry": "fluence"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer-snapshot:
|
nox-snapshot:
|
||||||
needs:
|
needs:
|
||||||
- rust-peer
|
- nox
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/container.yml@master
|
uses: fluencelabs/nox/.github/workflows/container.yml@master
|
||||||
with:
|
with:
|
||||||
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
||||||
flavour: "minimal"
|
|
||||||
rust-peer-sha: "${{ needs.rust-peer.outputs.rust-peer-sha }}"
|
|
||||||
|
|
||||||
spell-aqua-tests:
|
spell-aqua-tests:
|
||||||
name: "spell"
|
name: "spell"
|
||||||
needs:
|
needs:
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
needs:
|
needs:
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
- snapshot
|
- snapshot
|
||||||
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
21
.github/workflows/lint-pr.yml
vendored
Normal file
21
.github/workflows/lint-pr.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: lint PR
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pr:
|
||||||
|
name: Validate PR title
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: amannn/action-semantic-pull-request@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
28
.github/workflows/lint.yml
vendored
28
.github/workflows/lint.yml
vendored
@ -2,29 +2,20 @@ name: lint
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
paths:
|
||||||
- opened
|
- ".github/workflows/**"
|
||||||
- edited
|
- ".github/renovate.json"
|
||||||
- synchronize
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pr:
|
|
||||||
name: Validate PR title
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: amannn/action-semantic-pull-request@v5
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
reviewdog:
|
reviewdog:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Lint actions
|
- name: Lint actions
|
||||||
uses: reviewdog/action-actionlint@v1
|
uses: reviewdog/action-actionlint@v1
|
||||||
@ -33,3 +24,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
reporter: github-pr-check
|
reporter: github-pr-check
|
||||||
fail_on_error: true
|
fail_on_error: true
|
||||||
|
|
||||||
|
renovate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Renovate Config Validator
|
||||||
|
uses: tj-actions/renovate-config-validator@v2
|
||||||
|
with:
|
||||||
|
config_file: .github/renovate.json
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Run release-please
|
- name: Run release-please
|
||||||
id: release
|
id: release
|
||||||
uses: google-github-actions/release-please-action@v3
|
uses: google-github-actions/release-please-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
|
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
|
||||||
command: manifest
|
command: manifest
|
||||||
@ -45,12 +45,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
|
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
|
||||||
|
|
||||||
- name: Import secrets
|
- name: Import secrets
|
||||||
uses: hashicorp/vault-action@v2.5.0
|
uses: hashicorp/vault-action@v2.8.1
|
||||||
with:
|
with:
|
||||||
url: https://vault.fluence.dev
|
url: https://vault.fluence.dev
|
||||||
path: jwt/github
|
path: jwt/github
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
kv/crates.io/fluencebot token | CARGO_REGISTRY_TOKEN ;
|
kv/crates.io/fluencebot token | CARGO_REGISTRY_TOKEN ;
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: dsherret/rust-toolchain-file@v1
|
||||||
|
|
||||||
- name: Setup marine
|
- name: Setup marine
|
||||||
uses: fluencelabs/setup-marine@v1
|
uses: fluencelabs/setup-marine@v1
|
||||||
@ -101,7 +101,7 @@ jobs:
|
|||||||
echo "found any?:" "${{ steps.status.outputs.found }}"
|
echo "found any?:" "${{ steps.status.outputs.found }}"
|
||||||
|
|
||||||
- name: Import secrets
|
- name: Import secrets
|
||||||
uses: hashicorp/vault-action@v2.5.0
|
uses: hashicorp/vault-action@v2.8.1
|
||||||
with:
|
with:
|
||||||
url: https://vault.fluence.dev
|
url: https://vault.fluence.dev
|
||||||
path: jwt/github
|
path: jwt/github
|
||||||
|
30
.github/workflows/snapshot.yml
vendored
30
.github/workflows/snapshot.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
snapshot:
|
snapshot:
|
||||||
name: "Publish snapshot"
|
name: "Publish snapshot"
|
||||||
runs-on: ubuntu-latest
|
runs-on: builder
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
@ -27,13 +27,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: fluencelabs/sqlite-wasm-connector
|
repository: fluencelabs/sqlite-wasm-connector
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Import secrets
|
- name: Import secrets
|
||||||
uses: hashicorp/vault-action@v2.5.0
|
uses: hashicorp/vault-action@v2.8.1
|
||||||
with:
|
with:
|
||||||
url: https://vault.fluence.dev
|
url: https://vault.fluence.dev
|
||||||
path: jwt/github
|
path: jwt/github
|
||||||
@ -46,26 +46,24 @@ jobs:
|
|||||||
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
|
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: dsherret/rust-toolchain-file@v1
|
||||||
|
|
||||||
- name: Download marine artifact
|
- name: Setup cache
|
||||||
id: marine
|
uses: Swatinem/rust-cache@v2
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
name: marine
|
shared-key: sqlite-wasm-connector
|
||||||
path: ~/.local/bin
|
# github allows only 10GB of cache
|
||||||
|
# so save cache only on merge to master
|
||||||
- name: Make marine executable
|
# to use less space and speed up CI
|
||||||
if: steps.marine.outcome == 'success'
|
save-if: ${{ github.event_name == 'push' }}
|
||||||
run: chmod +x ~/.local/bin/marine
|
|
||||||
|
|
||||||
- name: Setup marine
|
- name: Setup marine
|
||||||
if: steps.marine.outcome == 'failure'
|
|
||||||
uses: fluencelabs/setup-marine@v1
|
uses: fluencelabs/setup-marine@v1
|
||||||
|
with:
|
||||||
|
artifact-name: marine
|
||||||
|
|
||||||
- name: Download sqlite-wasm
|
- name: Download sqlite-wasm
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: sqlite-wasm
|
name: sqlite-wasm
|
||||||
|
23
.github/workflows/tests.yml
vendored
23
.github/workflows/tests.yml
vendored
@ -16,32 +16,27 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: fluencelabs/sqlite-wasm-connector
|
repository: fluencelabs/sqlite-wasm-connector
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: dsherret/rust-toolchain-file@v1
|
||||||
|
|
||||||
- name: Download marine artifact
|
- name: Setup cache
|
||||||
id: marine
|
uses: Swatinem/rust-cache@v2
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
name: marine
|
shared-key: sqlite-wasm-connector
|
||||||
path: ~/.local/bin
|
save-if: false
|
||||||
|
|
||||||
- name: Make marine executable
|
|
||||||
if: steps.marine.outcome == 'success'
|
|
||||||
run: chmod +x ~/.local/bin/marine
|
|
||||||
|
|
||||||
- name: Setup marine
|
- name: Setup marine
|
||||||
if: steps.marine.outcome == 'failure'
|
|
||||||
uses: fluencelabs/setup-marine@v1
|
uses: fluencelabs/setup-marine@v1
|
||||||
|
with:
|
||||||
|
artifact-name: marine
|
||||||
|
|
||||||
- name: Download sqlite-wasm
|
- name: Download sqlite-wasm
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: sqlite-wasm
|
name: sqlite-wasm
|
||||||
|
63
CHANGELOG.md
63
CHANGELOG.md
@ -1,5 +1,68 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.11.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.10.0...marine-sqlite-connector-v0.11.0) (2024-02-22)
|
||||||
|
|
||||||
|
|
||||||
|
### ⚠ BREAKING CHANGES
|
||||||
|
|
||||||
|
* **deps:** update marine-rs-sdk ([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58))
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** update marine-rs-sdk ([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58)) ([6b1e8d7](https://github.com/fluencelabs/sqlite-wasm-connector/commit/6b1e8d7b3c8c2669381ed31ee182ee72f1f21f0d))
|
||||||
|
|
||||||
|
## [0.10.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.4...marine-sqlite-connector-v0.10.0) (2024-02-14)
|
||||||
|
|
||||||
|
|
||||||
|
### ⚠ BREAKING CHANGES
|
||||||
|
|
||||||
|
* **deps:** update rust crate marine-rs-sdk to 0.12.0 ([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54))
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** update rust crate marine-rs-sdk to 0.12.0 ([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54)) ([a613613](https://github.com/fluencelabs/sqlite-wasm-connector/commit/a613613e4e0f28393ca53c3111e1c07463bdf277))
|
||||||
|
|
||||||
|
## [0.9.4](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.3...marine-sqlite-connector-v0.9.4) (2023-12-29)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** update rust crate marine-rs-sdk to 0.10.3 ([#51](https://github.com/fluencelabs/sqlite-wasm-connector/issues/51)) ([e90e9f2](https://github.com/fluencelabs/sqlite-wasm-connector/commit/e90e9f2d3ff4a661c713f1d4ef05b3f4f4523e47))
|
||||||
|
|
||||||
|
## [0.9.3](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.2...marine-sqlite-connector-v0.9.3) (2023-12-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **update:** wasm sqlite 0.18.2 ([#50](https://github.com/fluencelabs/sqlite-wasm-connector/issues/50)) ([b0971a6](https://github.com/fluencelabs/sqlite-wasm-connector/commit/b0971a6a5a6eae97995ef99686c739c11ec0af97))
|
||||||
|
|
||||||
|
## [0.9.2](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.1...marine-sqlite-connector-v0.9.2) (2023-12-19)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* update marine sdk's and config ([#47](https://github.com/fluencelabs/sqlite-wasm-connector/issues/47)) ([dc8decc](https://github.com/fluencelabs/sqlite-wasm-connector/commit/dc8decc61f7370ad1eb436a0153b578fbf87f514))
|
||||||
|
|
||||||
|
## [0.9.1](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.0...marine-sqlite-connector-v0.9.1) (2023-10-24)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** update marine-rs-sdk ([#40](https://github.com/fluencelabs/sqlite-wasm-connector/issues/40)) ([67c8261](https://github.com/fluencelabs/sqlite-wasm-connector/commit/67c8261ea910964d45f0df544efeb1119b80f181))
|
||||||
|
* **deps:** update rust crate bytesize to 1.3.0 ([#32](https://github.com/fluencelabs/sqlite-wasm-connector/issues/32)) ([cac0f63](https://github.com/fluencelabs/sqlite-wasm-connector/commit/cac0f63bbc77ba0a93b56da09d7d2565e2841087))
|
||||||
|
|
||||||
|
## [0.9.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.8.2...marine-sqlite-connector-v0.9.0) (2023-08-23)
|
||||||
|
|
||||||
|
|
||||||
|
### ⚠ BREAKING CHANGES
|
||||||
|
|
||||||
|
* **deps:** update rust crate marine-rs-sdk to 0.9.0
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **deps:** update rust crate marine-rs-sdk to 0.9.0 ([743010e](https://github.com/fluencelabs/sqlite-wasm-connector/commit/743010e16c7cccb3fec19bcf3749b4064948b9dd))
|
||||||
|
* update sqlite WASM module version to 0.18.1 ([#26](https://github.com/fluencelabs/sqlite-wasm-connector/issues/26)) ([045c171](https://github.com/fluencelabs/sqlite-wasm-connector/commit/045c1710e41566ca4eb42ad616d8e9328a12b440))
|
||||||
|
|
||||||
## [0.8.2](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.8.1...marine-sqlite-connector-v0.8.2) (2023-04-27)
|
## [0.8.2](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.8.1...marine-sqlite-connector-v0.8.2) (2023-04-27)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "marine-sqlite-connector"
|
name = "marine-sqlite-connector"
|
||||||
version = "0.8.2"
|
version = "0.11.0"
|
||||||
license = "Apache-2.0/MIT"
|
license = "Apache-2.0/MIT"
|
||||||
authors = [
|
authors = [
|
||||||
"Daniel Dulaney <ddy@vitronic.com>",
|
"Daniel Dulaney <ddy@vitronic.com>",
|
||||||
@ -36,9 +36,9 @@ name = "test"
|
|||||||
path = "src/test.rs"
|
path = "src/test.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
marine-rs-sdk = "0.7.1"
|
marine-rs-sdk = "0.14.0"
|
||||||
bytesize = "1.2.0"
|
bytesize = "1.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
marine-rs-sdk-test = "0.9.1"
|
marine-rs-sdk-test = "0.15.0"
|
||||||
temporary = "0.7"
|
temporary = "0.7"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
modules_dir = "artifacts/"
|
modules_dir = "artifacts/"
|
||||||
|
total_memory_limit = "Infinity"
|
||||||
|
|
||||||
[[module]]
|
[[module]]
|
||||||
name = "sqlite3"
|
name = "sqlite3"
|
||||||
|
4
build.sh
4
build.sh
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SQLITE_WASM_VERSION="v0.18.0_w"
|
SQLITE_WASM_VERSION="v0.18.2"
|
||||||
|
|
||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
@ -17,5 +17,5 @@ cp target/wasm32-wasi/release/test.wasm artifacts/
|
|||||||
|
|
||||||
# download SQLite 3 to use in tests
|
# download SQLite 3 to use in tests
|
||||||
if [[ ! -f artifacts/sqlite3.wasm ]]; then
|
if [[ ! -f artifacts/sqlite3.wasm ]]; then
|
||||||
curl -L https://github.com/fluencelabs/sqlite/releases/download/${SQLITE_WASM_VERSION}/sqlite3.wasm -o artifacts/sqlite3.wasm
|
curl -L https://github.com/fluencelabs/sqlite/releases/download/sqlite-wasm-${SQLITE_WASM_VERSION}/sqlite3.wasm -o artifacts/sqlite3.wasm
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": [
|
|
||||||
"config:base"
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly-2022-12-06"
|
channel = "nightly-2023-12-06"
|
||||||
targets = ["x86_64-unknown-linux-gnu", "wasm32-wasi", "wasm32-unknown-unknown"]
|
targets = ["x86_64-unknown-linux-gnu", "wasm32-wasi", "wasm32-unknown-unknown"]
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
|
@ -28,7 +28,7 @@ pub struct DBExecDescriptor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[marine]
|
#[marine]
|
||||||
#[link(wasm_import_module = "sqlite3")]
|
#[module_import("sqlite3")]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
/*
|
/*
|
||||||
SQLITE_API int sqlite3_open_v2(
|
SQLITE_API int sqlite3_open_v2(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user