mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-07-07 20:45:01 +00:00
Rename limbo_macros
to turso_macros
This commit is contained in:
parent
d7ad6ccafd
commit
eec994386b
11 changed files with 48 additions and 46 deletions
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -1796,7 +1796,7 @@ version = "0.1.0-pre.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"getrandom 0.3.2",
|
"getrandom 0.3.2",
|
||||||
"limbo_macros",
|
"turso_macros",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1819,15 +1819,6 @@ dependencies = [
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "limbo_macros"
|
|
||||||
version = "0.1.0-pre.2"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn 2.0.100",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "limbo_percentile"
|
name = "limbo_percentile"
|
||||||
version = "0.1.0-pre.2"
|
version = "0.1.0-pre.2"
|
||||||
|
@ -3773,7 +3764,6 @@ dependencies = [
|
||||||
"limbo_csv",
|
"limbo_csv",
|
||||||
"limbo_ext",
|
"limbo_ext",
|
||||||
"limbo_ipaddr",
|
"limbo_ipaddr",
|
||||||
"limbo_macros",
|
|
||||||
"limbo_percentile",
|
"limbo_percentile",
|
||||||
"limbo_regexp",
|
"limbo_regexp",
|
||||||
"limbo_series",
|
"limbo_series",
|
||||||
|
@ -3805,9 +3795,19 @@ dependencies = [
|
||||||
"test-log",
|
"test-log",
|
||||||
"thiserror 1.0.69",
|
"thiserror 1.0.69",
|
||||||
"tracing",
|
"tracing",
|
||||||
|
"turso_macros",
|
||||||
"uncased",
|
"uncased",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "turso_macros"
|
||||||
|
version = "0.1.0-pre.2"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 2.0.100",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "turso_node"
|
name = "turso_node"
|
||||||
version = "0.1.0-pre.2"
|
version = "0.1.0-pre.2"
|
||||||
|
|
|
@ -46,7 +46,7 @@ limbo_csv = { path = "extensions/csv", version = "0.1.0-pre.2" }
|
||||||
limbo_ext = { path = "extensions/core", version = "0.1.0-pre.2" }
|
limbo_ext = { path = "extensions/core", version = "0.1.0-pre.2" }
|
||||||
limbo_ext_tests = { path = "extensions/tests", version = "0.1.0-pre.2" }
|
limbo_ext_tests = { path = "extensions/tests", version = "0.1.0-pre.2" }
|
||||||
limbo_ipaddr = { path = "extensions/ipaddr", version = "0.1.0-pre.2" }
|
limbo_ipaddr = { path = "extensions/ipaddr", version = "0.1.0-pre.2" }
|
||||||
limbo_macros = { path = "macros", version = "0.1.0-pre.2" }
|
turso_macros = { path = "macros", version = "0.1.0-pre.2" }
|
||||||
limbo_percentile = { path = "extensions/percentile", version = "0.1.0-pre.2" }
|
limbo_percentile = { path = "extensions/percentile", version = "0.1.0-pre.2" }
|
||||||
limbo_regexp = { path = "extensions/regexp", version = "0.1.0-pre.2" }
|
limbo_regexp = { path = "extensions/regexp", version = "0.1.0-pre.2" }
|
||||||
limbo_series = { path = "extensions/series", version = "0.1.0-pre.2" }
|
limbo_series = { path = "extensions/series", version = "0.1.0-pre.2" }
|
||||||
|
|
|
@ -61,7 +61,7 @@ chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
|
||||||
julian_day_converter = "0.4.5"
|
julian_day_converter = "0.4.5"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
libm = "0.2"
|
libm = "0.2"
|
||||||
limbo_macros = { workspace = true }
|
turso_macros = { workspace = true }
|
||||||
limbo_uuid = { workspace = true, optional = true, features = ["static"] }
|
limbo_uuid = { workspace = true, optional = true, features = ["static"] }
|
||||||
limbo_regexp = { workspace = true, optional = true, features = ["static"] }
|
limbo_regexp = { workspace = true, optional = true, features = ["static"] }
|
||||||
limbo_percentile = { workspace = true, optional = true, features = ["static"] }
|
limbo_percentile = { workspace = true, optional = true, features = ["static"] }
|
||||||
|
|
|
@ -11,8 +11,8 @@ use crate::{
|
||||||
translate::collate::CollationSeq,
|
translate::collate::CollationSeq,
|
||||||
Value,
|
Value,
|
||||||
};
|
};
|
||||||
use limbo_macros::Description;
|
|
||||||
use limbo_sqlite3_parser::ast::SortOrder;
|
use limbo_sqlite3_parser::ast::SortOrder;
|
||||||
|
use turso_macros::Description;
|
||||||
|
|
||||||
/// Flags provided to comparison instructions (e.g. Eq, Ne) which determine behavior related to NULL values.
|
/// Flags provided to comparison instructions (e.g. Eq, Ne) which determine behavior related to NULL values.
|
||||||
#[derive(Clone, Copy, Debug, Default)]
|
#[derive(Clone, Copy, Debug, Default)]
|
||||||
|
|
|
@ -13,7 +13,7 @@ core_only = []
|
||||||
static = []
|
static = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
limbo_macros = { workspace = true }
|
turso_macros = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
||||||
getrandom = "0.3.1"
|
getrandom = "0.3.1"
|
||||||
|
|
|
@ -7,10 +7,10 @@ pub use functions::{
|
||||||
AggCtx, AggFunc, FinalizeFunction, InitAggFunction, ScalarFunction, StepFunction,
|
AggCtx, AggFunc, FinalizeFunction, InitAggFunction, ScalarFunction, StepFunction,
|
||||||
};
|
};
|
||||||
use functions::{RegisterAggFn, RegisterScalarFn};
|
use functions::{RegisterAggFn, RegisterScalarFn};
|
||||||
#[cfg(feature = "vfs")]
|
|
||||||
pub use limbo_macros::VfsDerive;
|
|
||||||
pub use limbo_macros::{register_extension, scalar, AggregateDerive, VTabModuleDerive};
|
|
||||||
use std::os::raw::c_void;
|
use std::os::raw::c_void;
|
||||||
|
#[cfg(feature = "vfs")]
|
||||||
|
pub use turso_macros::VfsDerive;
|
||||||
|
pub use turso_macros::{register_extension, scalar, AggregateDerive, VTabModuleDerive};
|
||||||
pub use types::{ResultCode, StepResult, Value, ValueType};
|
pub use types::{ResultCode, StepResult, Value, ValueType};
|
||||||
#[cfg(feature = "vfs")]
|
#[cfg(feature = "vfs")]
|
||||||
pub use vfs_modules::{RegisterVfsFn, VfsExtension, VfsFile, VfsFileImpl, VfsImpl, VfsInterface};
|
pub use vfs_modules::{RegisterVfsFn, VfsExtension, VfsFile, VfsFileImpl, VfsImpl, VfsInterface};
|
||||||
|
|
22
fuzz/Cargo.lock
generated
22
fuzz/Cargo.lock
generated
|
@ -570,16 +570,7 @@ version = "0.1.0-pre.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"getrandom 0.3.1",
|
"getrandom 0.3.1",
|
||||||
"limbo_macros",
|
"turso_macros",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "limbo_macros"
|
|
||||||
version = "0.1.0-pre.2"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1155,7 +1146,6 @@ dependencies = [
|
||||||
"libloading",
|
"libloading",
|
||||||
"libm",
|
"libm",
|
||||||
"limbo_ext",
|
"limbo_ext",
|
||||||
"limbo_macros",
|
|
||||||
"limbo_series",
|
"limbo_series",
|
||||||
"limbo_sqlite3_parser",
|
"limbo_sqlite3_parser",
|
||||||
"limbo_time",
|
"limbo_time",
|
||||||
|
@ -1174,9 +1164,19 @@ dependencies = [
|
||||||
"strum_macros",
|
"strum_macros",
|
||||||
"thiserror 1.0.69",
|
"thiserror 1.0.69",
|
||||||
"tracing",
|
"tracing",
|
||||||
|
"turso_macros",
|
||||||
"uncased",
|
"uncased",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "turso_macros"
|
||||||
|
version = "0.1.0-pre.2"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uncased"
|
name = "uncased"
|
||||||
version = "0.9.10"
|
version = "0.9.10"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright 2024 the Limbo authors. All rights reserved. MIT license.
|
# Copyright 2024 the Limbo authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "limbo_macros"
|
name = "turso_macros"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
22
perf/latency/limbo/Cargo.lock
generated
22
perf/latency/limbo/Cargo.lock
generated
|
@ -658,16 +658,7 @@ version = "0.1.0-pre.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"getrandom 0.3.3",
|
"getrandom 0.3.3",
|
||||||
"limbo_macros",
|
"turso_macros",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "limbo_macros"
|
|
||||||
version = "0.1.0-pre.2"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1256,7 +1247,6 @@ dependencies = [
|
||||||
"libloading",
|
"libloading",
|
||||||
"libm",
|
"libm",
|
||||||
"limbo_ext",
|
"limbo_ext",
|
||||||
"limbo_macros",
|
|
||||||
"limbo_series",
|
"limbo_series",
|
||||||
"limbo_sqlite3_parser",
|
"limbo_sqlite3_parser",
|
||||||
"limbo_time",
|
"limbo_time",
|
||||||
|
@ -1275,9 +1265,19 @@ dependencies = [
|
||||||
"strum_macros",
|
"strum_macros",
|
||||||
"thiserror 1.0.63",
|
"thiserror 1.0.63",
|
||||||
"tracing",
|
"tracing",
|
||||||
|
"turso_macros",
|
||||||
"uncased",
|
"uncased",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "turso_macros"
|
||||||
|
version = "0.1.0-pre.2"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uncased"
|
name = "uncased"
|
||||||
version = "0.9.10"
|
version = "0.9.10"
|
||||||
|
|
|
@ -4,11 +4,13 @@
|
||||||
|
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use hdrhistogram::Histogram;
|
use hdrhistogram::Histogram;
|
||||||
|
use std::{
|
||||||
|
ops::{Coroutine, CoroutineState},
|
||||||
|
pin::Pin,
|
||||||
|
sync::Arc,
|
||||||
|
time::Instant,
|
||||||
|
};
|
||||||
use turso_core::{Database, PlatformIO, IO};
|
use turso_core::{Database, PlatformIO, IO};
|
||||||
use std::ops::{Coroutine, CoroutineState};
|
|
||||||
use std::pin::Pin;
|
|
||||||
use std::sync::Arc;
|
|
||||||
use std::time::Instant;
|
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
struct Opts {
|
struct Opts {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cargo publish -p limbo_macros
|
cargo publish -p turso_macros
|
||||||
cargo publish -p limbo_ext
|
cargo publish -p limbo_ext
|
||||||
cargo publish -p limbo_ext_tests
|
cargo publish -p limbo_ext_tests
|
||||||
cargo publish -p limbo_completion
|
cargo publish -p limbo_completion
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue