Peer-to-peer file synchronization in Rust on iroh.

fix: use tokio-native async fs functions #13

Closed aly.codes
targeting main from lucascherzer.de/appa:fix/async-fs-calls
Closed opened by and assigned to aly.codes
targeting main from lucascherzer.de/appa:fix/async-fs-calls

Calling sync fs functions in an async context could block worker threads.

This change replaces calls of fs:😗 with tokio::fs:😗.

We could automate checks like this in the future using semgrep and (shameless plug) https://tangled.org/lucascherzer.de/semgrep-rules/.

Commits 0