User Sharing Ported over to Rust

Greetings,

gnome-user-share, which currently serves as a WebDAV service to share the user’s Public folder over the network by utilising Apache server, has been ported over from C to Rust!

The main change in dependencies is the requirement of the rustc compiler, along with cargo for rust dependency management. The project still uses the Meson build system, and still requires glib2. The glib2 Rust bindings are provided by the great folks at gtk-rs.org. A reproducible process for installing dependencies and compilation on Fedora are present in the .gitlab-ci.yaml file.

I would like to invite you to ask any questions about this port here, and file any relevant issues you run into at the gnome-user-share gitlab project. I’m also looking to know if any non-GNU/Linux users or distributors are interested in the project and what effect this might bring to them.

Best Regards.

1 Like

Hi and nice to see another rust-port! Do you plan to do an alpha release? :slightly_smiling_face:

I’d also like to know, has something changed to user facing side, like the UI or feature set?

An alpha will be released on the usual GNOME release schedule around 4/1/2025.

Internally, the functionality and features didn’t change. The graphical interface of managing user sharing is present in GNOME Settings, which is still the same.

It is expected for the way the port is reserved to change from a randomised number to a fixed one.

Will Apache be still required to be installed in the OS for new user share functionality? Or something like GNOME / phodav · GitLab will be used, to avoid having full Apache installed?

It is expected for the way the port is reserved to change from a randomised number to a fixed one.

Does it support multi users accounts – many users logged in at the same time in the OS, each with sharing enabled?

Is there any plan to add support for Windows service discovery? So not only Linux and MacOS clients can access shared directory (without technical knowledge).