Comments (7)
I've added only for dependencies. For other field it's going to be rough, because it makes struct access pretty ugly. I'm not sure how to implement it.
from cargo-deb.
cargo metadata
, ironically, doesn't include package's metadata
field required for cargo-deb.
from cargo-deb.
Done
from cargo-deb.
Published
from cargo-deb.
Pretty sure this is in progress. I think @kornelski made the changes required in cargo_toml
0.12.x
from cargo-deb.
@kornelski do you mean here or in cargo_toml
? I haven't looked into it too much, but I expected cargo_toml
to mostly implement the Cargo.toml
data model.
For other tooling, a lot of which currently faces similar issues, an alternative solution that was suggested is building on cargo metadata
instead. I've mostly heard about that in the context of things like cargo outdated
or cargo udeps
, which currently use cargo
as a library (and have not integrated a new version which supports workspace inheritance yet), but maybe it applies here as well. Potential benefits could be
- the result of running
cargo metadata
is more synced up with the locally installed toolchain. In particular, updatingcargo
through the toolchain makes new features available independently of the currently installed version of third-party tools and the library versions they are currently using in their dependencies (the local version may also lag behind, in which case the user is unable to use new features regardless). - the data returned by
cargo metadata
is already somewhat aggregated, e.g. inherited data is inlined into the respective packages. The metadata format is therefore more stable than individual file formats.
from cargo-deb.
Hey @kornelski, thanks a lot for picking this up so quickly! π
Do you think you could release a patch that includes #53? I've just been bitten by edition
after coming back to this. We've excluded it from inheritance for now so we're able to inherit dependencies and the other metadata. That is working well now with 1.40.3
, but since it seems that the issues with edition
and readme
are already fixed it would be even better if we could have a version with the patch applied that "just works".
Thanks again for your work in maintaining cargo deb
- it's great!
from cargo-deb.
Related Issues (20)
- Consider using `zopfli`'s new streaming encoder feature HOT 4
- cargo-deb looks up README.md in wrong dir when using workspace HOT 1
- Clarification on the "native" nature of packages HOT 3
- Consider adding 'target-dir' option HOT 1
- Allow dpkg-shlibdeps flags or Debian rules file HOT 1
- `conf-files` generates a `conffiles` file with a trailing empty line HOT 1
- Test failures for manifest and control tests on Arch Linux HOT 8
- [Feature-Request] Advanced Usage, "append" option for assets HOT 3
- rodio HOT 1
- warning: Command dpkg-shlibdeps failed to launch (no auto deps for ...) HOT 1
- `License` is not set in the `control` file HOT 2
- unknown-field Vcs-Git Vcs-Browser HOT 2
- Files in /etc are overwritten HOT 5
- Option to generate separate -dbg package with debug symbols when --separate-debug-symbols is used HOT 1
- cargo-deb not packaging the binary
- asset paths don't work properly with "--profile" HOT 1
- file modes in top-level ar archive don't match dpkg HOT 1
- Introduce a separate library crate for working with deb files? HOT 2
- Support switching between xz and gzip formats at runtime HOT 1
- Mention in warnings that README contents are used if description field is missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-deb.