add CONTRIBUTING guide - non definitive
This commit is contained in:
parent
2a91fe31be
commit
df0849ad40
10
CONTRIBUTING.md
Normal file
10
CONTRIBUTING.md
Normal file
@ -0,0 +1,10 @@
|
||||
cryptonite guideline
|
||||
--------------------
|
||||
|
||||
not a definitive list:
|
||||
|
||||
* 4-spaces for indentation
|
||||
* don't use bytestring directly, use the `memory` abstraction
|
||||
* hard errors should represented by the equivalent Crypto.Error.Types. Possibly reuse a matching value, otherwise create one.
|
||||
* don't use 'error', use throwCryptoError (or the IO cousin) if needed
|
||||
* don't add dependencies without a really really really strong motivation. only exception: `foundation`
|
||||
Loading…
Reference in New Issue
Block a user