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 <cnsztl@immortalwrt.org>
This is no longer required after commit openwrt/procd@2e206dbe77
("service: add support for triggers on service/instance data changes").
Also remove unused 'name' field.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Dufs is a distinctive utility file server that supports static serving,
uploading, searching, accessing control, webdav...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>