12 Commits

Author SHA1 Message Date
Jacek Sieka
c4aec8b664
split decls into separate modules in bearssl/abi (#27)
* split `decls.nim` into smaller modules - allows using parts of the ABI
without compiling all of `bearssl`
* deprecate functions with `Br` prefix - there are duplicate exports
both with and without `Br` for the same function and we use both in
consumers like `chronos` and `libp2p`
* fix several cases of incorrectly mapped types
* use `var` for certain arguments that can't be `nil`
* add script to regenerate ABI with `c2nim`
* consistently use `uint` for length (`int` was sometimes used)

The Split likely needs more cleanup work - this is a first cut to get
the idea in place.

In the new layout, `bearssl/abi/` contains "raw" nim mappings while
hand-written helpers are in `bearssl/`.
2022-06-14 19:33:00 +02:00
Ștefan Talpalaru
b39f3d2975
CI: test with multiple Nim versions (#24)
* CI: test with multiple Nim versions

and add a real test
2021-12-12 00:01:56 +01:00
Jacek Sieka
5b70350dcb
enable --stylecheck:usages 2021-12-10 10:03:30 +01:00
Ștefan Talpalaru
ba68572fde
CI: simplify Nim compiler caching (#19) 2021-06-03 03:02:00 +02:00
jangko
5131fd9e53
add github action script 2021-01-13 11:21:32 +07:00
nikitincrime
a0380527f7
update minimum required nim version
7d2a18115b
here you use c_sizet, that was added in nim 1.2
2020-07-06 12:29:16 +03:00
cheatfate
924fb6cad1
Fix path handling for compilation targets.
Bump version to 0.1.5.
2020-03-08 20:28:15 +02:00
cheatfate
8a9503b6df
Update BearSSL to latest version.
Update CA certificates to 2020-01-01.
Bump version to 0.1.4.
2020-02-14 12:29:54 +02:00
cheatfate
2dd31d892a
Fix test1.nim compilation warning.
Bump to 0.1.3
2019-11-06 13:35:31 +02:00
cheatfate
b67ae9534d
Fix compilation warnings.
Bump version to 0.1.2.
2019-11-06 13:15:07 +02:00
cheatfate
ca3bafb85d
Fix [GcUnsafe2] problems for consumers of this library.
Bump version to 0.1.1.
2019-11-06 12:56:28 +02:00
Yuriy Glukhov
6e9ea2e77a
Initial commit (copied from nim-libp2p) 2019-09-30 21:23:06 +03:00