Commit 1add424
Prep for first publish: fix docs.rs build and crates.io metadata
- build.rs: stop short-circuiting on CARGO_DOC/DOCS_RS. src/bindings.rs
include!s $OUT_DIR/bindings.rs, so skipping bindgen during doc builds
made `cargo doc` (and docs.rs) fail to compile. The build is hermetic
(libclang + vendored headers, both available on docs.rs), so always
generate the bindings.
- src/bindings.rs: allow(rustdoc::all) to silence ~144 rustdoc warnings
from the generated C-header doc comments (bare URLs, etc.).
- Cargo.toml: add readme, keywords, categories for crates.io, and
exclude dev-only tooling (flake.*, justfile, deny.toml, toolchain) from
the published tarball.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 27a218a commit 1add424
3 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
0 commit comments