Skip to content

Commit a6c9af4

Browse files
committed
Document the include option of Cargo.toml in README
1 parent ffb341d commit a6c9af4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ There is an example [in the tests](./tests/operation_selection).
133133

134134
You can use `cargo doc --document-private-items` to generate rustdoc documentation on the generated code.
135135

136+
## Make cargo recompile when .graphql files have changed
137+
138+
There is an [`include`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields-optional) option you can add to your `Cargo.toml`. It currently has issues however (see [this issue](https://github.com/rust-lang/cargo/issues/6031#issuecomment-422160178)).
139+
136140
## Examples
137141

138142
See the examples directory in this repository.

0 commit comments

Comments
 (0)