Hello, I have a rust packaging question.
I am trying to package the Zellij terminal multiplexer. In the terminal, there 
is :
```
[dependencies]
zellij-client = { path = "zellij-client/", version = "0.46.1" }
zellij-terminal = { path = "zellij-terminal/", version = "0.46.1", optional = 
true }
zellij-server = { path = "zellij-server/", version = "0.46.1" }
zellij-utils = { workspace = true }
...
```

In the tree there is those 4 workspaces as folder like described. They are all 
packaged as crates on crates.io (zellij, zellij-utils...). Since they are not 
in the `Cargo.lock`, they do not get package easily with `guix import crate 
--lockfile`.

There is some pre-built binaries that a cargo flag avoid installing. There is 
also this in the Cargo.toml of `zellij-utils`:

```
[features]
vendored_curl = [
    "isahc/static-curl",
    "dep:openssl-sys",
    "dep:curl-sys",
]
...
```

which is, I think, for the built-in plugin manager. Should I try to disable 
this feature and avoid those dependencies?

And how should I package everything? Should I:

1. Package all `zellij-*` in `rust-sources.scm` or is it just good at staying 
in `rust-crates`, and in what form?
2. If it is `rust-sources.scm`, are the arguments `#:skip-build #t` mandatory? 
Is it to avoid compiling everything and just compile a static binary with the 
main package (`zellij`)?
3. Download packages with `git-reference` or `crate-uri`?

I hope it is the right mailing list and that my question give enough context.

Have a good day!

Reply via email to