mirror of
https://github.com/logos-messaging/pm.git
synced 2026-01-02 14:13:09 +00:00
adjust as per Franck's comments
This commit is contained in:
parent
ebdaa0dfef
commit
3005c54a7e
@ -3,13 +3,14 @@
|
||||
## Functionality
|
||||
|
||||
1. Provides the core logic needed to expose any synchronous or asynchronous Nim library to a C-FFI library.
|
||||
2. The exposed C library can be used in Golang.
|
||||
3. The exposed C library can be used in Rust.
|
||||
4. The exposed C library can be used in Python.
|
||||
|
||||
## Usability
|
||||
|
||||
1. Introduce new pragma definitions, such as `{.ffi.}`, to appropriately annotate types and procedures.
|
||||
2. Any Nim project can use it and can be installed using Nimble,
|
||||
similarly to how nim-chronos is imported.
|
||||
3. The interaction with the exposed C library is through JSON.
|
||||
4. The interaction with the exposed C library is through protobuf.
|
||||
|
||||
## Reliability
|
||||
|
||||
@ -22,10 +23,9 @@
|
||||
|
||||
## Supportability
|
||||
|
||||
1. Any Nim project can use it and can be installed using Nimble,
|
||||
similarly to how nim-chronos is imported.
|
||||
2. The interaction with the exposed C library is through JSON.
|
||||
3. The interaction with the exposed C library is through protobuf.
|
||||
1. The exposed C library can be used in Golang.
|
||||
2. The exposed C library can be used in Rust.
|
||||
3. The exposed C library can be used in Python.
|
||||
|
||||
## + (Privacy, Anonymity, Deployments)
|
||||
|
||||
|
||||
@ -85,7 +85,7 @@ This deliverable takes care of the following [Nim FFI](/FURPS/application/nim_ff
|
||||
|
||||
- F1.
|
||||
- U1.
|
||||
- S1.
|
||||
- U2.
|
||||
- +1. `nwaku` repository uses `nim-ffi` to expose the existing `libwaku` functionality.
|
||||
|
||||
**Checklist**:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user