Comments (3)
cargo rustdoc --lib --test doctest
I'm curious, why are you documenting tests?
from cargo.
cargo rustdoc --lib --test doctest
I'm curious, why are you documenting tests?
I want to document the common API for tests so other people can write their own tests.
I'm using libtest-mimic (and maybe nexttest) to facilitate writing and running a conformance test suite.
from cargo.
Although the original issue on Zulip seems to be resolved, this looks like a feature that cargo rustdoc
never supports. I wonder if those flags should be hidden or removed, making the command have the more or less the same as cargo doc
.
from cargo.
Related Issues (20)
- Workspace unexpected-cfg lint configuration does not apply to integration test. HOT 3
- Remove `cargo::rustc-check-cfg` to only have one place to configure the `unknown_cfgs` lint HOT 8
- Location of patch information HOT 4
- The output from `cargo package --list` is not good for workspaces HOT 5
- Recommendations for workspace creation HOT 1
- cargo-upgrade verbose option broken HOT 3
- `cargo build --release` SIGKILL:ed on OSX HOT 4
- `cargo fmt --all` from excluded sub-directory still checks parent workspace HOT 3
- Improve the diagnostics in virual workspaces HOT 3
- 0.79.1 release with updated `gix` dependency HOT 2
- Incorrect formatting for git fetch HOT 2
- Deduplicate fingerprint logic and `check-cfg` lint config
- Exports symbols of cdylib dependencies HOT 2
- No way to specify linker arguments via rustflags for dependency build scripts with `--target` HOT 4
- called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } HOT 3
- cargo new: Confusing error message about adding to a workspace HOT 4
- cargo publish should refuse an out-of-date lockfile HOT 4
- Non determinist vendoring of git dependencies HOT 1
- `cargo update --config net.git-fetch-with-cli=true` fetches using git2 HOT 1
- "Cargo install" should provide download binaries only from crate.io if availibale rather than build these binaries every time when calling cargo install HOT 3
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.