Commit 85483d5
Move SessionFs ADR out of public crate
ADR 0001 (SessionFsProvider trait and plumbing) captured the design
rationale for choosing direct Arc<dyn SessionFsProvider> registration
over the factory-closure pattern that Node/Python/Go use. That
rationale is internal release-engineering history, not consumer-facing
API documentation; the README's "Differences From Other SDKs" section
already explains what consumers need to know about the divergence.
The full ADR is being relocated to the private SDK release-plan
documentation in github/github-app PR #3166 (docs/copilot/2026-04-14-sdk-release/).
- Delete rust/docs/ entirely (only contained ADR 0001 + index README).
- Strip ADR links from rustdoc, README, CHANGELOG, and the
session_fs example. The README's existing inline rationale (factory
pattern doesn't cleanly express in Rust at the session-config call
site, no `Session` value to thread in, SDK already prefers traits
over closures for handler-shaped APIs) is sufficient on its own.
cargo doc -D warnings clean. cargo clippy clean. cargo fmt clean.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 802dc3b commit 85483d5
8 files changed
Lines changed: 3 additions & 511 deletions
File tree
- rust
- docs/adr
- examples
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
279 | 278 | | |
280 | 279 | | |
281 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 523 | + | |
527 | 524 | | |
528 | 525 | | |
529 | 526 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | 359 | | |
361 | 360 | | |
362 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 9 | | |
15 | 10 | | |
16 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
0 commit comments