Commit 5eecdd6
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 f7eb2b0 commit 5eecdd6
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
| 977 | + | |
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | 1115 | | |
1119 | | - | |
| 1116 | + | |
1120 | 1117 | | |
1121 | 1118 | | |
1122 | | - | |
| 1119 | + | |
1123 | 1120 | | |
1124 | 1121 | | |
1125 | | - | |
| 1122 | + | |
1126 | 1123 | | |
1127 | 1124 | | |
1128 | | - | |
| 1125 | + | |
1129 | 1126 | | |
1130 | 1127 | | |
1131 | 1128 | | |
| |||
0 commit comments