mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 00:40:40 +00:00
* feat: add first batch of s2 functions * refactor: update reusable code from main * test: add sqlness tests for s2 * feat: add tostring function for s2 * Update src/common/function/src/scalars/geo/s2.rs Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> * Apply suggestions from code review * one more change Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[package]
|
|
name = "common-function"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["geo"]
|
|
geo = ["geohash", "h3o", "s2"]
|
|
|
|
[dependencies]
|
|
api.workspace = true
|
|
arc-swap = "1.0"
|
|
async-trait.workspace = true
|
|
common-base.workspace = true
|
|
common-catalog.workspace = true
|
|
common-error.workspace = true
|
|
common-macro.workspace = true
|
|
common-meta.workspace = true
|
|
common-query.workspace = true
|
|
common-runtime.workspace = true
|
|
common-telemetry.workspace = true
|
|
common-time.workspace = true
|
|
common-version.workspace = true
|
|
datafusion.workspace = true
|
|
datatypes.workspace = true
|
|
derive_more = { version = "1", default-features = false, features = ["display"] }
|
|
geohash = { version = "0.13", optional = true }
|
|
h3o = { version = "0.6", optional = true }
|
|
jsonb.workspace = true
|
|
num = "0.4"
|
|
num-traits = "0.2"
|
|
once_cell.workspace = true
|
|
paste = "1.0"
|
|
s2 = { version = "0.0.12", optional = true }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
session.workspace = true
|
|
snafu.workspace = true
|
|
sql.workspace = true
|
|
statrs = "0.16"
|
|
store-api.workspace = true
|
|
table.workspace = true
|
|
|
|
[dev-dependencies]
|
|
ron = "0.7"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio.workspace = true
|