Skip to content

Commit 6bc410c

Browse files
authored
Update pre-release version of cgp, and revise chapters (#24)
* Update cgp crate * Test using cgp_type! inside chapter * Use AI to improve the section Trait Minimalism * Revise TypeProviders section * Add section for UseType pattern * AI-revise Associated Types chapter * Add suggestion for aggregated common field struct * Split out sub-chapter for context-generic accessor providers * AI-revising field accessors chapter * Reorder field accessor sections * AI-revision
1 parent e1c1e65 commit 6bc410c

File tree

9 files changed

+1027
-1321
lines changed

9 files changed

+1027
-1321
lines changed

Cargo.lock

Lines changed: 26 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ cgp-field = { git = "https://github.com/contextgeneric/cgp.git
2929
cgp-field-macro = { git = "https://github.com/contextgeneric/cgp.git" }
3030
cgp-field-macro-lib = { git = "https://github.com/contextgeneric/cgp.git" }
3131
cgp-error = { git = "https://github.com/contextgeneric/cgp.git" }
32+
cgp-error-extra = { git = "https://github.com/contextgeneric/cgp.git" }
3233
cgp-error-anyhow = { git = "https://github.com/contextgeneric/cgp.git" }
3334
cgp-run = { git = "https://github.com/contextgeneric/cgp.git" }
3435
cgp-runtime = { git = "https://github.com/contextgeneric/cgp.git" }

content/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
- [Error Reporting](error-reporting.md)
2727
- [Error Wrapping](error-wrapping.md)
2828
- [Field Accessors](field-accessors.md)
29+
- [Generic Accessor Providers](generic-accessor-providers.md)
30+
- [The `UseField` Pattern](use-field-pattern.md)
2931
- [Component Presets]()
3032
- [Trait-Generic Providers]()
3133
- [`WithProvider`]()

0 commit comments

Comments
 (0)