Current section
5 Versions
Jump to
Current section
5 Versions
Compare versions
3
files changed
+4
additions
-4
deletions
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"links">>,[{<<"GitHub">>,<<"https://github.com/devsnek/jsont">>}]}. |
| 2 2 | {<<"name">>,<<"jsont">>}. |
| 3 | - {<<"version">>,<<"0.1.2">>}. |
| 3 | + {<<"version">>,<<"0.1.3">>}. |
| 4 4 | {<<"description">>,<<"A blazingly fast JSON library">>}. |
| 5 5 | {<<"elixir">>,<<"~> 1.15">>}. |
| 6 6 | {<<"app">>,<<"jsont">>}. |
| @@ -4,7 +4,7 @@ defmodule Jsont.MixProject do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :jsont, |
| 7 | - version: "0.1.2", |
| 7 | + version: "0.1.3", |
| 8 8 | elixir: "~> 1.15", |
| 9 9 | start_permanent: Mix.env() == :prod, |
| 10 10 | description: "A blazingly fast JSON library", |
| @@ -9,7 +9,7 @@ mod encoder; | |
| 9 9 | |
| 10 10 | rustler::init!("Elixir.Jsont.NifBridge", [encode, decode]); |
| 11 11 | |
| 12 | - #[rustler::nif] |
| 12 | + #[rustler::nif(schedule = "DirtyCpu")] |
| 13 13 | fn encode<'a>( |
| 14 14 | env: Env<'a>, |
| 15 15 | term: Term<'a>, |
| @@ -29,7 +29,7 @@ fn encode<'a>( | |
| 29 29 | } |
| 30 30 | } |
| 31 31 | |
| 32 | - #[rustler::nif] |
| 32 | + #[rustler::nif(schedule = "DirtyCpu")] |
| 33 33 | fn decode<'a>(env: Env<'a>, term: Term<'a>) -> (Atom, Term<'a>) { |
| 34 34 | let binary = match Binary::from_iolist(term) { |
| 35 35 | Ok(binary) => binary, |