Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release 0.2.0 #5

@Overbryd

Description

@Overbryd

This issue holds all open tasks for a 0.2.0 hex release.
Branch: https://github.com/Overbryd/myhtmlex/tree/v0.2

Outline

Since supporting NIFs only is a bit too risky for most of the projects that might use this library, providing C-Node is probably the best in terms of crash-safety and speed.

This release adds support for switching between NIFs and "Safe" (C-Node) mode.

In order to provide the best experience to the user, I am using Nodex to put the C-Node under supervision. Basically, calling Myhtmlex.Safe.decode/2 provides the very same experience as calling into Myhtmlex.Nif.decode/2.

Acceptance criteria

  • provide Myhtmlex.Safe module as an equivalent to Myhtmlex.Nif
  • default to Myhtmlex.Safe when requiring this dependency
  • test both implementations
  • Documentation
  • Update README
  • Hex package tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions