bolcom / libunftp

Extensible, async, cloud orientated FTP(S) server library and the core of unFTP: https://github.com/bolcom/unFTP. Follow up and talk to us on https://t.me/unftp
Apache License 2.0
182 stars 33 forks source link

error[E0599]: no function or associated item named `with_fs` found for struct `Server` in the current scope #490

Closed phil-skillwon closed 2 months ago

phil-skillwon commented 1 year ago

I was able to compile without any issues a while ago. However, ever since I updated to a newer version of Rust, I started encountering the following errors when compiling:

error[E0599]: no function or associated item named with_fs found for struct Server in the current scope --> src/main.rs:63:36 | 63 | let server = libunftp::Server::withfs(ftpHome) | ^^^^^^^ function or associated item not found in `Server<, _>`

warning: unused import: unftp_sbe_fs::ServerExt --> src/main.rs:17:5 17 use unftp_sbe_fs::ServerExt; ^^^^^^^^^^^^^^^^^^^^^^^

= note: #[warn(unused_imports)] on by default

For more information about this error, try rustc --explain E0599.

hannesdejager commented 1 year ago

@phil-skillwon Hi are you on the latest versions of libunftp and unftp-sbe-fs?

hannesdejager commented 2 months ago

Closing due to inactivity