Commit 7f42012
docs(rust): point dependency examples at the published 1.0 line (#2520)
* docs(rust): point dependency examples at the published 1.0 line
The crate has been on crates.io since 1.0.0 (2026-06-02) and is currently
1.0.11 stable, but the README still pinned `version = "0.1"` and carried a
caveat saying the crate was not published yet.
0.1.0 (2026-05-06) predates the feature rename, so it exposes `embedded-cli`
rather than `bundled-cli` / `bundled-in-process`. Copying the README's own
feature examples therefore fails to resolve:
error: failed to select a version for `github-copilot-sdk`
The bare pin does resolve, but silently to the four-month-old 0.1.0.
With `version = "1.0"` the same examples resolve to 1.0.11.
* docs(rust): use compatible major version requirements
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Zhangyi Yuan <j-zhangyiyuan@microsoft.com>
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1e88b5a commit 7f42012
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
998 | | - | |
| 998 | + | |
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | 1136 | | |
1140 | | - | |
| 1137 | + | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | | - | |
| 1140 | + | |
1144 | 1141 | | |
1145 | 1142 | | |
1146 | | - | |
| 1143 | + | |
1147 | 1144 | | |
1148 | 1145 | | |
1149 | | - | |
| 1146 | + | |
1150 | 1147 | | |
1151 | 1148 | | |
1152 | 1149 | | |
| |||
0 commit comments