Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

39
vendor/cosmic-text/ci.sh vendored Executable file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/env bash
function build {
cargo build --release "$@"
cargo clippy --no-deps "$@"
}
set -ex
echo Check formatting
cargo fmt --check
echo Build with default features
build
echo Install target for no_std build
# This is necessary because Rust otherwise may silently use std regardless.
rustup target add thumbv8m.main-none-eabihf
echo Build with only no_std feature
build --no-default-features --features no_std --target thumbv8m.main-none-eabihf
echo Build with only std feature
build --no-default-features --features std
echo Build with only std and swash features
build --no-default-features --features std,swash
echo Build with only std and syntect features
build --no-default-features --features std,syntect
echo Build with only std and vi features
build --no-default-features --features std,vi
echo Build with all features
build --all-features
echo Run tests
cargo test