Skip to content

Commit 03eb336

Browse files
committed
doc: Add a section with features available in README.md
1 parent d3e9b17 commit 03eb336

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,10 @@ pub extern fn testit_free(testit: *mut TestIt) {
6161
unsafe { opaque_pointer::free(testit) }
6262
}
6363
```
64+
65+
## Features
66+
67+
- `std`: activated by default, it is required for functions using std
68+
- `alloc`: alternative to compile without std but some functions will not be available
69+
- `c-types`: it allow to use C types (like pointers to C strings) and requires std feature
70+
- `panic-if-null`: it will check if a pointer is null to panic before to use a null pointer

0 commit comments

Comments
 (0)