KillingSpark / rustysd

A service manager that is able to run "traditional" systemd services, written in rust
MIT License
506 stars 15 forks source link

Here is the patch to upgrade all dependencies to the latest version and changed the language version to 2021 #51

Open qianxiaoming opened 4 months ago

qianxiaoming commented 4 months ago

Hi, this is an interesting project. I have upgraded all dependent libraries to the latest version and changed the Rust edition to 2021. Here is the patch file for changes and it will be compiled without any error or warning. But I am not sure they are all correct. Crate nix has many break changes.

update_dependencies_crate.patch

KillingSpark commented 4 months ago

Hi!

Thanks for doing this, any reason you aren't doing this as a Pull Request? I'm fine with just applying and checking the patch, just wondering :)

qianxiaoming commented 4 months ago

Because I am a newbie in Rust and have not used it long enough, and these modifications may be incorrect, I feel a little embarrassed to generate a PR... I will be happy if it can have a little effect.

KillingSpark commented 4 months ago

I see :)

FYI I've started reviewing this in the branch https://github.com/KillingSpark/rustysd/tree/upgradedependencies

qianxiaoming commented 4 months ago

👍 I'm looking for a service program that can start and manage programs with dependencies in a docker container. I think it would be nice to be able to use rustysd.