diff --git a/index.html b/index.html index 1bdc053..6d90ca0 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -Nippy 3.4.1

Nippy 3.4.1

Released under the Eclipse Public License - v 1.0

The fastest serialization library for Clojure.

Installation

To install, add the following dependency to your project or build file:

[com.taoensso/nippy "3.4.1"]

Namespaces

taoensso.nippy

High-performance serialization library for Clojure.

taoensso.nippy.tools

Utils for community tools that want to add user-configurable Nippy support.
+Nippy 3.4.2
\ No newline at end of file
diff --git a/taoensso.nippy.html b/taoensso.nippy.html
index 0c759ac..c35cb79 100644
--- a/taoensso.nippy.html
+++ b/taoensso.nippy.html
@@ -1,6 +1,6 @@
 
-taoensso.nippy documentation

taoensso.nippy

High-performance serialization library for Clojure.
+taoensso.nippy documentation

taoensso.nippy

High-performance serialization library for Clojure.
 

*auto-freeze-compressor*

dynamic

(fn [byte-array])->compressor used by `(freeze <x> {:compressor :auto}),
 nil => default

*custom-readers*

dynamic

{<hash-or-byte-id> (fn [data-input])->read}
 

*freeze-fallback*

dynamic

Controls Nippy's behaviour when trying to freeze an item for which Nippy
@@ -281,8 +281,9 @@ See also `*freeze-serializable-allowlist*`.

encrypt

(encrypt encryptor pwd ba)

extend-freeze

macro

(extend-freeze type custom-type-id [x out] & body)
Extends Nippy to support freezing of a custom type (ideally concrete) with
 given id of form:
 
-  * Keyword    - 2 byte overhead, keywords hashed to 16 bit id
-  * ℕ∈[1, 128] - 0 byte overhead
+  * ℕ∈[1, 128]           - 0 byte overhead. You are responsible for managing ids.
+  * (Namespaced) keyword - 2 byte overhead. Keyword will be hashed to 16 bit int,
+                           collisions will throw at compile-time.
 
 NB: be careful about extending to interfaces, Ref. <http://goo.gl/6gGRlU>.
 
diff --git a/taoensso.nippy.tools.html b/taoensso.nippy.tools.html
index 9b5f70f..5f2404e 100644
--- a/taoensso.nippy.tools.html
+++ b/taoensso.nippy.tools.html
@@ -1,6 +1,6 @@
 
-taoensso.nippy.tools documentation

taoensso.nippy.tools

Utils for community tools that want to add user-configurable Nippy support.
+taoensso.nippy.tools documentation

taoensso.nippy.tools

Utils for community tools that want to add user-configurable Nippy support.
 Used by Carmine, Faraday, etc.

*freeze-opts*

dynamic

*thaw-opts*

dynamic

freeze

(freeze x)(freeze x default-opts)
Like `nippy/freeze` but uses as options the following, merged in
 order of ascending preference: