diff --git a/.github/workflows/publish-exe.yml b/.github/workflows/publish-exe.yml index 6462b3f..5f4bc3d 100644 --- a/.github/workflows/publish-exe.yml +++ b/.github/workflows/publish-exe.yml @@ -48,6 +48,7 @@ jobs: - name: Prepare shell: bash run: | + cargo install cbindgen mkdir mypubdir4 rustup target add ${{ matrix.target }} if [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then diff --git a/Cargo.toml b/Cargo.toml index cd1714c..1f0931a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dns2socks" -version = "0.1.3" +version = "0.1.4" edition = "2021" license = "MIT" repository = "https://github.com/ssrlive/dns2socks" @@ -13,14 +13,14 @@ crate-type = ["staticlib", "cdylib", "rlib"] [dependencies] chrono = "0.4" -clap = { version = "4.5", features = ["derive", "wrap_help"] } -ctrlc2 = { version = "3.5", features = ["tokio", "termination"] } +clap = { version = "4", features = ["derive", "wrap_help"] } +ctrlc2 = { version = "3", features = ["tokio", "termination"] } dotenvy = "0.15" env_logger = "0.11" log = "0.4" moka = { version = "0.12", default-features = false, features = ["future"] } rand = "0.8" socks5-impl = "0.5" -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1", features = ["full"] } tokio-util = "0.7" trust-dns-proto = "0.23"