From 44a48f1affcb0a1ce6355498d81eb65e268a6f74 Mon Sep 17 00:00:00 2001 From: ltabis Date: Mon, 26 Sep 2022 13:36:16 +0200 Subject: [PATCH] feat: add `base_std` feature to enable dynamic libraries. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 1034f923..ff411847 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,7 @@ serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [features] default = ["std"] std = ["ahash/std", "ahash/runtime-rng", "num-traits/std", "smartstring/std"] +base_std = ["ahash/std", "num-traits/std", "smartstring/std"] # Prevent ahash random seed, enabling dynamic libraries to be used. unchecked = [] # unchecked arithmetic sync = [] # restrict to only types that implement Send + Sync no_position = [] # do not track position in the parser