Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -x
for dir in ./examples/*; do
cd "$dir";
cargo clean;
cd ..;
done
+35
View File
@@ -0,0 +1,35 @@
#!/bin/bash
set -e
# publish `sea-query-derive`
cd sea-query-derive
cargo publish
cd ..
# publish `sea-query`
cargo publish
# publish `sea-query-sqlx`
cd sea-query-sqlx
cargo publish
cd ..
# publish `sea-query-rusqlite`
cd sea-query-rusqlite
cargo publish
cd ..
# publish `sea-query-postgres`
cd sea-query-postgres
cargo publish
cd ..
# publish `sea-query-diesel`
cd sea-query-diesel
cargo publish
cd ..
# publish `sea-query-rbatis`
cd sea-query-rbatis
cargo publish
cd ..
+3
View File
@@ -0,0 +1,3 @@
# Run `sh develop/cargo-readme.sh` on project root to generate `README.md` from `src/lib.rs`
# cargo install cargo-readme
cargo readme --no-badges --no-indent-headings --no-license --no-template --no-title > README.md
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
set -e
if [ -d ./build-tools ]; then
targets=(
"Cargo.toml --all-features"
"sea-query-sqlx/Cargo.toml"
"sea-query-derive/Cargo.toml"
"sea-query-postgres/Cargo.toml"
"sea-query-rusqlite/Cargo.toml"
)
for target in "${targets[@]}"; do
echo "cargo clippy --manifest-path ${target} --fix --allow-dirty --allow-staged"
cargo clippy --manifest-path ${target} --fix --allow-dirty --allow-staged
done
examples=(`find examples -type f -name 'Cargo.toml'`)
for example in "${examples[@]}"; do
echo "cargo clippy --manifest-path ${example} --fix --allow-dirty --allow-staged"
cargo clippy --manifest-path "${example}" --fix --allow-dirty --allow-staged
done
else
echo "Please execute this script from the repository root."
fi
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
set -e
if [ -d ./build-tools ]; then
targets=(
"Cargo.toml"
"sea-query-sqlx/Cargo.toml"
"sea-query-derive/Cargo.toml"
"sea-query-postgres/Cargo.toml"
"sea-query-rusqlite/Cargo.toml"
)
for target in "${targets[@]}"; do
echo "cargo +nightly fmt --manifest-path ${target} --all"
cargo +nightly fmt --manifest-path "${target}" --all
done
examples=(`find examples -type f -name 'Cargo.toml'`)
for example in "${examples[@]}"; do
echo "cargo +nightly fmt --manifest-path ${example} --all"
cargo +nightly fmt --manifest-path "${example}" --all
done
else
echo "Please execute this script from the repository root."
fi