Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-deb looks up README.md in wrong dir when using workspace #101

Closed
pkolaczk opened this issue Jun 24, 2023 · 1 comment
Closed

cargo-deb looks up README.md in wrong dir when using workspace #101

pkolaczk opened this issue Jun 24, 2023 · 1 comment

Comments

@pkolaczk
Copy link

pkolaczk commented Jun 24, 2023

I have a multi-crate project with the following structure:

project_root/crate1/README.md
project_root/crate1/Cargo.toml   // with readme = "README.md"
project_root/crate1/src 
project_root/Cargo.toml                // workspace definition

Note there is no README in the project root.

Then I try to build it with:
cargo deb -p crate1

cargo-deb: unable to read extended description from file: README.md
  because: No such file or directory (os error 2)

Creating a symbolic link at the root of the project solves this, which means cargo-deb looks for a top-level README.md, instead of the one associated with the crate selected with -p.

@orhun
Copy link

orhun commented Jun 24, 2023

Related #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants