diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index 31600f9..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,29 +0,0 @@ -project_name: wstunnel -builds: - - main: goreleaser.go - goos: - - linux - - darwin - - windows - goarch: - - amd64 - - arm64 - - arm - goarm: - - 7 - binary: wstunnel - ignore: - - goos: windows - goarch: arm64 - hooks: - post: - - ./.goreleaser_hook.sh {{ .Arch }} {{ .Os }} {{ .ProjectName }} -checksum: - name_template: "checksums.txt" -changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" - diff --git a/.goreleaser_hook.sh b/.goreleaser_hook.sh deleted file mode 100755 index f19f71c..0000000 --- a/.goreleaser_hook.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash -# - -set -ex - -go_arch=$1 -go_os=$2 -project_name=$3 - -rm -rf dist/* - -case $go_arch in - amd64) rust_arch='x86_64' ;; - arm64) rust_arch='aarch64' ;; - armv7) rust_arch='armv7' ;; - *) echo "unknown arch: $go_arch" && exit 1 ;; -esac -case $go_os in - linux) rust_os='linux' ;; - darwin) rust_os='apple-darwin' ;; - windows) rust_os='windows' ;; - *) echo "unknown os: $go_os" && exit 1 ;; -esac - -# Find artifacts and uncompress in the corresponding directory -find artifacts -type f -wholename "*${rust_arch}*${rust_os}*" -exec cp {} dist/${project_name}_${go_os}_${go_arch} \; - diff --git a/goreleaser.go b/goreleaser.go deleted file mode 100644 index 73c71de..0000000 --- a/goreleaser.go +++ /dev/null @@ -1,3 +0,0 @@ -package main - func main() { -} diff --git a/src/main.rs b/src/main.rs index 7059146..90cab85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -470,7 +470,11 @@ async fn main() { _ => { tracing_subscriber::fmt() .with_ansi(true) - .with_env_filter(EnvFilter::from_default_env()) + .with_env_filter( + EnvFilter::builder() + .with_default_directive(Level::INFO.into()) + .from_env_lossy(), + ) .init(); } }