move some stuff around, adopt 'just', keep pubspec from accidentally publishing

This commit is contained in:
John Smith 2022-01-17 13:44:38 -05:00
parent 22f4fad733
commit e39835d51f
6 changed files with 17 additions and 32 deletions

34
Cargo.lock generated
View File

@ -116,15 +116,6 @@ dependencies = [
"log", "log",
] ]
[[package]]
name = "ansi_term"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
"winapi",
]
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.52" version = "1.0.52"
@ -686,13 +677,9 @@ version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
dependencies = [ dependencies = [
"ansi_term",
"atty",
"bitflags", "bitflags",
"strsim 0.8.0",
"textwrap 0.11.0", "textwrap 0.11.0",
"unicode-width", "unicode-width",
"vec_map",
] ]
[[package]] [[package]]
@ -705,7 +692,7 @@ dependencies = [
"bitflags", "bitflags",
"indexmap", "indexmap",
"os_str_bytes", "os_str_bytes",
"strsim 0.10.0", "strsim",
"termcolor", "termcolor",
"textwrap 0.14.2", "textwrap 0.14.2",
] ]
@ -1127,7 +1114,7 @@ dependencies = [
"ident_case", "ident_case",
"proc-macro2", "proc-macro2",
"quote", "quote",
"strsim 0.10.0", "strsim",
"syn", "syn",
] ]
@ -1851,8 +1838,8 @@ dependencies = [
"android_logger", "android_logger",
"backtrace", "backtrace",
"byteorder", "byteorder",
"cfg-if 0.1.10", "cfg-if 1.0.0",
"clap 2.34.0", "clap 3.0.7",
"core-foundation 0.9.2", "core-foundation 0.9.2",
"core-foundation-sys 0.8.3", "core-foundation-sys 0.8.3",
"directories", "directories",
@ -1863,7 +1850,6 @@ dependencies = [
"log", "log",
"ndk", "ndk",
"ndk-glue", "ndk-glue",
"owning_ref",
"rpassword", "rpassword",
"secret-service", "secret-service",
"security-framework", "security-framework",
@ -3446,12 +3432,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "strsim"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]] [[package]]
name = "strsim" name = "strsim"
version = "0.10.0" version = "0.10.0"
@ -3790,12 +3770,6 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "vec_map"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]] [[package]]
name = "veilid-cli" name = "veilid-cli"
version = "0.1.0" version = "0.1.0"

View File

@ -34,5 +34,9 @@ fi
xcode-select --install xcode-select --install
# Ensure packages are installed # Ensure packages are installed
brew install capnp if [ "$BREW_USER" == "" ]; then
BREW_USER=`ls -lad /opt/homebrew/. | cut -d\ -f4`
echo "Must sudo to homebrew user \"$BREW_USER\" to install capnp package:"
fi
sudo -H -u $BREW_USER brew install capnp

View File

@ -1,7 +1,8 @@
name: veilid name: veilid
description: Veilid Network description: Veilid Network
version: 0.0.1 version: 0.0.1
homepage: homepage: https://veilid.com
publish_to: "none" # Remove this line if you wish to publish to pub.dev
environment: environment:
sdk: ">=2.15.1 <3.0.0" sdk: ">=2.15.1 <3.0.0"

View File

@ -47,6 +47,9 @@ call dart pub global activate ffigen
rem install flutter_rust_bridge_codegen rem install flutter_rust_bridge_codegen
cargo install flutter_rust_bridge_codegen cargo install flutter_rust_bridge_codegen
rem install just
cargo install just
rem ensure packages are installed rem ensure packages are installed
winget install -e --id LLVM.LLVM --accept-package-agreements --accept-source-agreements winget install -e --id LLVM.LLVM --accept-package-agreements --accept-source-agreements

View File

@ -49,6 +49,9 @@ dart pub global activate ffigen
# install flutter_rust_bridge_codegen # install flutter_rust_bridge_codegen
cargo install flutter_rust_bridge_codegen cargo install flutter_rust_bridge_codegen
# install just
cargo install just
# platform specific stuff # platform specific stuff
if [ "$OS" == "linux" ]; then if [ "$OS" == "linux" ]; then
# ensure packages are installed # ensure packages are installed