Skip to content

Commit c3c5cac

Browse files
authored
Update Field Accessors chapter with use of accessor component macros (#25)
* Add section for cgp_auto_getter * AI-revise section * Add sections for UseFields cgp_getter * Add example use of multiple accessor methods * AI-revise sections * Simplify code with new cgp APIs * Add section for deriving UseField with cgp_getter * AI-revise section
1 parent 6bc410c commit c3c5cac

File tree

5 files changed

+368
-391
lines changed

5 files changed

+368
-391
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ reqwest = { version = "0.12.12", features = [ "blocking", "json" ] }
1616

1717

1818
[patch.crates-io]
19-
cgp = { git = "https://github.com/contextgeneric/cgp.git" }
20-
cgp-core = { git = "https://github.com/contextgeneric/cgp.git" }
21-
cgp-extra = { git = "https://github.com/contextgeneric/cgp.git" }
22-
cgp-async = { git = "https://github.com/contextgeneric/cgp.git" }
23-
cgp-async-macro = { git = "https://github.com/contextgeneric/cgp.git" }
24-
cgp-component = { git = "https://github.com/contextgeneric/cgp.git" }
25-
cgp-component-macro = { git = "https://github.com/contextgeneric/cgp.git" }
26-
cgp-component-macro-lib = { git = "https://github.com/contextgeneric/cgp.git" }
27-
cgp-type = { git = "https://github.com/contextgeneric/cgp.git" }
28-
cgp-field = { git = "https://github.com/contextgeneric/cgp.git" }
29-
cgp-field-macro = { git = "https://github.com/contextgeneric/cgp.git" }
30-
cgp-field-macro-lib = { git = "https://github.com/contextgeneric/cgp.git" }
31-
cgp-error = { git = "https://github.com/contextgeneric/cgp.git" }
32-
cgp-error-extra = { git = "https://github.com/contextgeneric/cgp.git" }
33-
cgp-error-anyhow = { git = "https://github.com/contextgeneric/cgp.git" }
34-
cgp-run = { git = "https://github.com/contextgeneric/cgp.git" }
35-
cgp-runtime = { git = "https://github.com/contextgeneric/cgp.git" }
36-
cgp-inner = { git = "https://github.com/contextgeneric/cgp.git" }
19+
cgp = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
20+
cgp-core = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
21+
cgp-extra = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
22+
cgp-async = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
23+
cgp-async-macro = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
24+
cgp-component = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
25+
cgp-component-macro = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
26+
cgp-component-macro-lib = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
27+
cgp-type = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
28+
cgp-field = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
29+
cgp-field-macro = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
30+
cgp-field-macro-lib = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
31+
cgp-error = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
32+
cgp-error-extra = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
33+
cgp-error-anyhow = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
34+
cgp-run = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
35+
cgp-runtime = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }
36+
cgp-inner = { git = "https://github.com/contextgeneric/cgp.git", branch = "getter-component" }

0 commit comments

Comments
 (0)