Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build bundles #202

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Contributing to libsql

Thank you for your interest in contributing to libsql! We welcome contributions from the community to make this project better.

Before you start, please take a moment to review the guidelines outlined below.

# Code of Conduct

Please note that we have a Code of Conduct in place to ensure a positive and inclusive environment for everyone involved.

Getting Started

Fork the repository.
Clone your forked repository to your local machine.
Create a new branch for your feature or bug fix: git checkout -b feature-name.
Make your changes and test thoroughly.
Commit your changes with descriptive commit messages.
Push your changes to your forked repository: git push origin feature-name.
Submit a pull request to the main branch of the original repository.
Contribution Guidelines

All contributions should be well-documented and follow the existing code style.
Include tests for any new functionality or bug fixes.
Update documentation as necessary, including any relevant README or usage guides.
Maintain backward compatibility whenever possible.
Follow the Git commit message guidelines for consistent commit messages.
Review the existing issues and pull requests to avoid duplicating efforts.
Pull Request Process

Ensure that your pull request addresses a specific issue. If there isn't an issue, consider creating one first.
Clearly describe the problem or feature in your pull request and reference the relevant issue.
Provide steps to reproduce and test your changes if applicable.
Ensure that your branch is up-to-date with the latest changes from the main branch.
All checks (tests, formatting, etc.) must pass before your pull request can be merged.
After addressing review comments, your pull request will be merged by a project maintainer.
Documentation

Help us improve the project's documentation by fixing typos, clarifying language, or adding missing information. Documentation improvements can be submitted as pull requests.

Reporting Issues

If you encounter a bug or have a suggestion for the project, please open an issue using the provided issue template. Include as much detail as possible to help us understand and address the problem.

Getting Help

If you need assistance, have questions, or want to discuss ideas, you can:

Join our Discord server and chat with the community.
Mention @maintainer in your issue or pull request for a faster response from project maintainers.
We appreciate your time and effort in contributing to libsql!

2 changes: 1 addition & 1 deletion docs/BUILD-RUN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ libraries](../libsql-server#client-libraries).

You can also use the [turso cli](https://docs.turso.tech/reference/turso-cli) to connect to the sqld instance:
```
turso db shell http://127.0.0.1:8000
turso db shell http://127.0.0.1:8080
```

## Download a prebuilt binary
Expand Down
8,252 changes: 5,668 additions & 2,584 deletions libsql-ffi/bundled/SQLite3MultipleCiphers/src/sqlite3.c

Large diffs are not rendered by default.

26 changes: 23 additions & 3 deletions libsql-ffi/bundled/bindings/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ extern "C" {
}

pub const __GNUC_VA_LIST: i32 = 1;
pub const SQLITE_VERSION: &[u8; 7] = b"3.44.0\0";
pub const SQLITE_VERSION_NUMBER: i32 = 3044000;
pub const SQLITE_VERSION: &[u8; 7] = b"3.45.1\0";
pub const SQLITE_VERSION_NUMBER: i32 = 3045001;
pub const SQLITE_SOURCE_ID: &[u8; 85] =
b"2023-11-01 11:23:50 17129ba1ff7f0daf37100ee82d507aef7827cf38de1866e2633096ae6ad8alt1\0";
b"2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1\0";
pub const LIBSQL_VERSION: &[u8; 6] = b"0.2.3\0";
pub const SQLITE_OK: i32 = 0;
pub const SQLITE_ERROR: i32 = 1;
Expand Down Expand Up @@ -356,6 +356,7 @@ pub const SQLITE_DETERMINISTIC: i32 = 2048;
pub const SQLITE_DIRECTONLY: i32 = 524288;
pub const SQLITE_SUBTYPE: i32 = 1048576;
pub const SQLITE_INNOCUOUS: i32 = 2097152;
pub const SQLITE_RESULT_SUBTYPE: i32 = 16777216;
pub const SQLITE_WIN32_DATA_DIRECTORY_TYPE: i32 = 1;
pub const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: i32 = 2;
pub const SQLITE_TXN_NONE: i32 = 0;
Expand Down Expand Up @@ -408,6 +409,7 @@ pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
pub const SQLITE_TESTCTRL_JSON_SELFCHECK: i32 = 14;
pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17;
Expand Down Expand Up @@ -3133,6 +3135,24 @@ pub struct Fts5ExtensionApi {
piCol: *mut ::std::os::raw::c_int,
),
>,
pub xQueryToken: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut Fts5Context,
iPhrase: ::std::os::raw::c_int,
iToken: ::std::os::raw::c_int,
ppToken: *mut *const ::std::os::raw::c_char,
pnToken: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub xInstToken: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut Fts5Context,
iIdx: ::std::os::raw::c_int,
iToken: ::std::os::raw::c_int,
arg2: *mut *const ::std::os::raw::c_char,
arg3: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down
Loading
Loading