Commit 8219d77
authored
Simplify hazmat feature docs (#1643)
### What
Remove `hazmat` feature from doc cfg attributes, keeping only the
specific `hazmat-address` and `hazmat-crypto` features in documentation.
#### Before
<img width="461" height="214" alt="Screenshot 2025-12-15 at 4 05 12 pm"
src="https://github.com/user-attachments/assets/3e00c4da-cf53-4b34-924f-b8f913bfc1c5"
/>
#### After
<img width="461" height="214" alt="Screenshot 2025-12-15 at 4 05 58 pm"
src="https://github.com/user-attachments/assets/8229806b-22ab-4e76-bd93-aa1f3a57654c"
/>
### Why
The generic `hazmat` feature is used for compilation gating, but really
only exists historically for backwards compatibility and as something
used for testing during development of the SDK. Generally folks should
use the narrower scoped hazmat features, so showing it in documentation
guides folks to do the not best practice, which results in enabling more
hazmat APIs than are necessary.1 parent a359900 commit 8219d77
File tree
4 files changed
+5
-20
lines changed- soroban-sdk/src
4 files changed
+5
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| 397 | + | |
401 | 398 | | |
402 | 399 | | |
403 | 400 | | |
| |||
414 | 411 | | |
415 | 412 | | |
416 | 413 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 414 | + | |
421 | 415 | | |
422 | 416 | | |
423 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 194 | + | |
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 337 | + | |
341 | 338 | | |
342 | 339 | | |
343 | 340 | | |
| |||
0 commit comments