7 Commits

Author SHA1 Message Date
andri lim
9372f27a25
remove appveyor/travis scripts and fix ci (#47) 2023-05-22 12:03:57 +02:00
Jacek Sieka
f0ea93f77e
rand: convenience API (#28)
Helpers to generate random numbers, including simple Nim types

* disable C++ tests
  * there are too many `const` vs `non-const` issues to run these tests -
C++ never actually worked
* add generateBytes to make fresh seqs

Co-authored-by: Mamy Ratsimbazafy <mamy_github@numforge.co>
Co-authored-by: Etan Kissling <etan@status.im>
2022-06-15 22:53:40 +02:00
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
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
cheatfate
993372dd78
Fix nimble installation instructions. 2019-10-23 11:27:04 +03:00
Yuriy Glukhov
6e9ea2e77a
Initial commit (copied from nim-libp2p) 2019-09-30 21:23:06 +03:00