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:
|
||||
name: Check clippy
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [runner-arm64-large]
|
||||
steps:
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
@ -144,10 +144,6 @@ jobs:
|
|||
with:
|
||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get -y update
|
||||
|
||||
- name: Install cargo-make
|
||||
run: cargo install --debug --locked cargo-make
|
||||
|
||||
|
@ -273,7 +269,7 @@ jobs:
|
|||
|
||||
test:
|
||||
name: Test workspace
|
||||
runs-on: [ runner-arm64-2xlarge ]
|
||||
runs-on: [runner-arm64-2xlarge]
|
||||
steps:
|
||||
- name: Install stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
|
|
@ -11,6 +11,7 @@ authors = ["Tobie Morgan Hitchcock <tobie@surrealdb.com>"]
|
|||
default = [
|
||||
"storage-mem",
|
||||
"storage-surrealkv",
|
||||
"storage-surrealcs",
|
||||
"storage-rocksdb",
|
||||
"scripting",
|
||||
"http",
|
||||
|
|
60
cackle.toml
60
cackle.toml
|
@ -31,6 +31,11 @@ include = [
|
|||
]
|
||||
exclude = ["hashbrown::map"]
|
||||
|
||||
[api.process]
|
||||
include = [
|
||||
"tokio::process",
|
||||
]
|
||||
|
||||
#
|
||||
# Crates Linking to Libraries
|
||||
#
|
||||
|
@ -235,9 +240,6 @@ allow_unsafe = true
|
|||
[pkg.rustyline-derive]
|
||||
allow_proc_macro = true
|
||||
|
||||
[pkg.async-recursion]
|
||||
allow_proc_macro = true
|
||||
|
||||
[pkg.proc-macro-error-attr]
|
||||
allow_proc_macro = true
|
||||
|
||||
|
@ -463,7 +465,6 @@ allow_unsafe = true
|
|||
|
||||
[pkg.tokio-util]
|
||||
allow_unsafe = true
|
||||
allow_apis = ["net"]
|
||||
|
||||
[pkg.nom]
|
||||
allow_unsafe = true
|
||||
|
@ -551,7 +552,6 @@ allow_unsafe = true
|
|||
allow_unsafe = true
|
||||
|
||||
[pkg.rustc_version]
|
||||
from.build.allow_apis = ["process"]
|
||||
|
||||
[pkg.concurrent-queue]
|
||||
allow_unsafe = true
|
||||
|
@ -1073,15 +1073,9 @@ allow_unsafe = true
|
|||
[pkg.pprof]
|
||||
allow_unsafe = true
|
||||
|
||||
[pkg.pest_derive]
|
||||
allow_proc_macro = true
|
||||
|
||||
[pkg.pest]
|
||||
allow_unsafe = true
|
||||
|
||||
[pkg.pest_generator]
|
||||
allow_apis = ["fs"]
|
||||
|
||||
[pkg.async-graphql-derive]
|
||||
allow_proc_macro = true
|
||||
|
||||
|
@ -1094,7 +1088,6 @@ allow_apis = ["fs", "net"]
|
|||
[pkg.multer]
|
||||
allow_apis = ["net"]
|
||||
|
||||
# examples
|
||||
[pkg.pear_codegen]
|
||||
allow_proc_macro = true
|
||||
|
||||
|
@ -1188,3 +1181,46 @@ allow_unsafe = true
|
|||
|
||||
[pkg.constant_time_eq]
|
||||
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