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

Question about error: Is not a library. #1380

Closed
Corfucinas opened this issue Apr 27, 2021 · 2 comments
Closed

Question about error: Is not a library. #1380

Corfucinas opened this issue Apr 27, 2021 · 2 comments

Comments

@Corfucinas
Copy link

Crate name: crypto-candlesticks-rust
Build failure link: https://docs.rs/crate/crypto-candlesticks-rust/0.1.1/builds/382082

I wanted to publish the same docs generated when I run the command cargo doc --no-deps. I'm still quite new at Rust, so I must have missed something, (yes, the package does compiles => crate

@Nemo157
Copy link
Member

Nemo157 commented Apr 27, 2021

See #238, currently docs.rs does not build the documentation for binaries in a crate, only the library. This is probably the easiest case where we could start heuristically deciding to build the binary documentation, a lone binary with no library, a PR to detect and support this case might be a good way to start getting #238 implemented.

@jyn514
Copy link
Member

jyn514 commented Apr 27, 2021

Duplicate of #238, see #238 (comment) for suggestions on how to implement this.

@jyn514 jyn514 closed this as completed Apr 27, 2021
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

3 participants