aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-17 15:12:30 -0700
committerFuwn <[email protected]>2021-05-17 15:12:30 -0700
commit9ddef683722d682225bceaa4f87fd776be492ef1 (patch)
tree7c69a8f6f4cbe16c6ec0bdeea76639b3ef1bbc92
parentfix(whirl): define jemallocator as global allocator on unix (diff)
downloadwhirl-9ddef683722d682225bceaa4f87fd776be492ef1.tar.xz
whirl-9ddef683722d682225bceaa4f87fd776be492ef1.zip
fix(global): add features, warnings, etc. to the rest of the crates
-rw-r--r--whirl_config/src/lib.rs10
-rw-r--r--whirl_prompt/src/lib.rs10
-rw-r--r--whirl_server/src/lib.rs10
3 files changed, 30 insertions, 0 deletions
diff --git a/whirl_config/src/lib.rs b/whirl_config/src/lib.rs
index 48ad925..8f312cd 100644
--- a/whirl_config/src/lib.rs
+++ b/whirl_config/src/lib.rs
@@ -1,6 +1,16 @@
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
+#![feature(
+ type_ascription,
+ hash_set_entry,
+ type_name_of_val,
+ decl_macro,
+ proc_macro_hygiene
+)]
+#![warn(rust_2018_idioms)]
+#![recursion_limit = "128"]
+
#[macro_use]
extern crate serde_derive;
#[macro_use]
diff --git a/whirl_prompt/src/lib.rs b/whirl_prompt/src/lib.rs
index 0419243..2801b3a 100644
--- a/whirl_prompt/src/lib.rs
+++ b/whirl_prompt/src/lib.rs
@@ -1,6 +1,16 @@
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
+#![feature(
+ type_ascription,
+ hash_set_entry,
+ type_name_of_val,
+ decl_macro,
+ proc_macro_hygiene
+)]
+#![warn(rust_2018_idioms)]
+#![recursion_limit = "128"]
+
mod builtins;
mod constants;
mod structure;
diff --git a/whirl_server/src/lib.rs b/whirl_server/src/lib.rs
index 196dd6b..5a864c7 100644
--- a/whirl_server/src/lib.rs
+++ b/whirl_server/src/lib.rs
@@ -1,6 +1,16 @@
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
+#![feature(
+ type_ascription,
+ hash_set_entry,
+ type_name_of_val,
+ decl_macro,
+ proc_macro_hygiene
+)]
+#![warn(rust_2018_idioms)]
+#![recursion_limit = "128"]
+
#[macro_use]
extern crate log;
#[macro_use]