Enable SurrealCS in standard build (#4702)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com> Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com> Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
This commit is contained in:
parent
66d904215b
commit
d2b2622a8f
3 changed files with 51 additions and 18 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -128,7 +128,7 @@ jobs:
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Check clippy
|
name: Check clippy
|
||||||
runs-on: ubuntu-latest
|
runs-on: [runner-arm64-large]
|
||||||
steps:
|
steps:
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
@ -144,10 +144,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get -y update
|
|
||||||
|
|
||||||
- name: Install cargo-make
|
- name: Install cargo-make
|
||||||
run: cargo install --debug --locked cargo-make
|
run: cargo install --debug --locked cargo-make
|
||||||
|
|
||||||
|
@ -273,7 +269,7 @@ jobs:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test workspace
|
name: Test workspace
|
||||||
runs-on: [ runner-arm64-2xlarge ]
|
runs-on: [runner-arm64-2xlarge]
|
||||||
steps:
|
steps:
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
|
@ -11,6 +11,7 @@ authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
||||||
default = [
|
default = [
|
||||||
"storage-mem",
|
"storage-mem",
|
||||||
"storage-surrealkv",
|
"storage-surrealkv",
|
||||||
|
"storage-surrealcs",
|
||||||
"storage-rocksdb",
|
"storage-rocksdb",
|
||||||
"scripting",
|
"scripting",
|
||||||
"http",
|
"http",
|
||||||
|
|
60
cackle.toml
60
cackle.toml
|
@ -31,6 +31,11 @@ include = [
|
||||||
]
|
]
|
||||||
exclude = ["hashbrown::map"]
|
exclude = ["hashbrown::map"]
|
||||||
|
|
||||||
|
[api.process]
|
||||||
|
include = [
|
||||||
|
"tokio::process",
|
||||||
|
]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Crates Linking to Libraries
|
# Crates Linking to Libraries
|
||||||
#
|
#
|
||||||
|
@ -235,9 +240,6 @@ allow_unsafe = true
|
||||||
[pkg.rustyline-derive]
|
[pkg.rustyline-derive]
|
||||||
allow_proc_macro = true
|
allow_proc_macro = true
|
||||||
|
|
||||||
[pkg.async-recursion]
|
|
||||||
allow_proc_macro = true
|
|
||||||
|
|
||||||
[pkg.proc-macro-error-attr]
|
[pkg.proc-macro-error-attr]
|
||||||
allow_proc_macro = true
|
allow_proc_macro = true
|
||||||
|
|
||||||
|
@ -463,7 +465,6 @@ allow_unsafe = true
|
||||||
|
|
||||||
[pkg.tokio-util]
|
[pkg.tokio-util]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
allow_apis = ["net"]
|
|
||||||
|
|
||||||
[pkg.nom]
|
[pkg.nom]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
@ -551,7 +552,6 @@ allow_unsafe = true
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
|
||||||
[pkg.rustc_version]
|
[pkg.rustc_version]
|
||||||
from.build.allow_apis = ["process"]
|
|
||||||
|
|
||||||
[pkg.concurrent-queue]
|
[pkg.concurrent-queue]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
@ -1073,15 +1073,9 @@ allow_unsafe = true
|
||||||
[pkg.pprof]
|
[pkg.pprof]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
|
||||||
[pkg.pest_derive]
|
|
||||||
allow_proc_macro = true
|
|
||||||
|
|
||||||
[pkg.pest]
|
[pkg.pest]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
|
||||||
[pkg.pest_generator]
|
|
||||||
allow_apis = ["fs"]
|
|
||||||
|
|
||||||
[pkg.async-graphql-derive]
|
[pkg.async-graphql-derive]
|
||||||
allow_proc_macro = true
|
allow_proc_macro = true
|
||||||
|
|
||||||
|
@ -1094,7 +1088,6 @@ allow_apis = ["fs", "net"]
|
||||||
[pkg.multer]
|
[pkg.multer]
|
||||||
allow_apis = ["net"]
|
allow_apis = ["net"]
|
||||||
|
|
||||||
# examples
|
|
||||||
[pkg.pear_codegen]
|
[pkg.pear_codegen]
|
||||||
allow_proc_macro = true
|
allow_proc_macro = true
|
||||||
|
|
||||||
|
@ -1188,3 +1181,46 @@ allow_unsafe = true
|
||||||
|
|
||||||
[pkg.constant_time_eq]
|
[pkg.constant_time_eq]
|
||||||
allow_unsafe = true
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.bitcode_derive]
|
||||||
|
allow_proc_macro = true
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.actix-utils]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.bytestring]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.language-tags]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.actix-server]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.actix-router]
|
||||||
|
allow_apis = [
|
||||||
|
"net",
|
||||||
|
]
|
||||||
|
|
||||||
|
[pkg.bitcode]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.actix-http]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.actix-web]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.nanoservices-utils]
|
||||||
|
allow_unsafe = true
|
||||||
|
|
||||||
|
[pkg.surrealcs-kernel]
|
||||||
|
allow_apis = [
|
||||||
|
"net",
|
||||||
|
]
|
||||||
|
|
||||||
|
[pkg.surrealcs]
|
||||||
|
allow_apis = [
|
||||||
|
"net",
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in a new issue