The new version of tokio is not compatible with musl:
error[E0432]: unresolved import `tokio::net::TcpListener`
--> src/main.rs:34:13
|
34 | use tokio::{net::TcpListener, task::JoinHandle};
| ^^^^^^^^^^^^^^^^ no `TcpListener` in `net`
error[E0433]: failed to resolve: could not find `UnixListener` in `net`
--> src/main.rs:156:44
|
156 | let listener = tokio::net::UnixListener::bind(socket_path)
| ^^^^^^^^^^^^ could not find `UnixListener` in `net`
Signed-off-by: Tianling Shen <[email protected]>
PKG_NAME:=dufs
PKG_VERSION:=0.43.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/sigoden/dufs/tar.gz/v$(PKG_VERSION)?
/etc/config/dufs
endef
+define Build/Compile
+ $(call Build/Compile/Cargo,,--locked)
+endef
+
define Package/dufs/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/dufs $(1)/usr/bin/