Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ target
.rustwide-docker
archive_cache
.workspace
.workspace.test-lock
node_modules/
docs/book/
docs/src/generated/

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

78 changes: 74 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = ["crates/bin/*", "crates/lib/*", "integration_tests"]

default-members = [
"crates/bin/docs_rs_admin",
"crates/bin/docs_rs_build",
"crates/bin/docs_rs_builder",
"crates/bin/docs_rs_watcher",
"crates/bin/docs_rs_web",
Expand All @@ -15,7 +16,8 @@ exclude = [
".workspace",
"crates/bin/docs_rs_builder/.rustwide-docker",
"crates/bin/docs_rs_builder/.workspace",
"crates/bin/docs_rs_builder/tests/crates",
"crates/lib/docs_rs_rustwide/.workspace",
"crates/lib/docs_rs_rustwide/tests/fixtures",
"ignored",
]

Expand Down Expand Up @@ -54,14 +56,14 @@ regex = "1"
reqwest = { version = "0.13", features = ["gzip", "http2", "json", "stream"] }
reqwest-middleware = "0.5"
reqwest-retry = "0.9"
rustwide = { version = "0.27.0", default-features = false, features = ["tracing", "unstable", "unstable-toolchain-ci"] }
sentry = { version = "0.49.0", features = ["backtrace", "panic", "tower-http", "tracing"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.4.0"
slug = "0.1.1"
sqlx = { version = "0.9", features = ["chrono", "postgres", "runtime-tokio", "sqlite"] }
strum = { version = "0.28.0", features = ["derive"] }
tar = "0.4.46"
tempfile = "3.1.0"
test-case = "3.0.0"
thiserror = "2.0.3"
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,17 @@ The `cli` and `watcher` recipes similarly use `DOCSRS_CLI_MODE`, but default to
`local` on every platform. Set either mode variable to `docker` to keep using
the same high-level recipe through its corresponding Compose service.

To test a local package instead:
To test a local package on a Linux host with Docker, use the standalone build
CLI from this repository:

```console
$ just builder build crate --local /path/to/package
$ cargo run --locked -p docs_rs_build -- /path/to/package
```

Some workspace packages must first be packaged with Cargo. See
This packages the crate automatically and does not require a docs.rs database.
For installation, options, and output locations, see the
[build CLI README](crates/bin/docs_rs_build/README.md). For workspace selection,
see
[Building workspace packages](https://rust-lang.github.io/docs.rs/development/build-workspaces.html).

If you only need an existing release in your local environment, import it
Expand Down
1 change: 1 addition & 0 deletions crates/bin/cratesfyi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ docs_rs_builder = { path = "../docs_rs_builder" }
docs_rs_config = { path = "../../lib/docs_rs_config" }
docs_rs_context = { path = "../../lib/docs_rs_context" }
docs_rs_logging = { path = "../../lib/docs_rs_logging" }
docs_rs_rustwide = { path = "../../lib/docs_rs_rustwide" }
docs_rs_utils = { path = "../../lib/docs_rs_utils" }
docs_rs_watcher = { path = "../docs_rs_watcher" }
docs_rs_web = { path = "../docs_rs_web" }
Expand Down
Loading
Loading