aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cargo_embargo.json4
-rw-r--r--rules.mk17
2 files changed, 20 insertions, 1 deletions
diff --git a/cargo_embargo.json b/cargo_embargo.json
index cb908d7..6a85ba6 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -1,3 +1,5 @@
{
- "run_cargo": false
+ "run_cargo": false,
+ "generate_rulesmk": true,
+ "features": []
}
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..ec270e1
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,17 @@
+# This file is generated by cargo_embargo.
+# Do not modify this file after the LOCAL_DIR line
+# because the changes will be overridden on upgrade.
+# Content before the first line starting with LOCAL_DIR is preserved.
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := num_derive
+MODULE_RUST_CRATE_TYPES := proc-macro
+MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs
+MODULE_RUST_EDITION := 2018
+MODULE_LIBRARY_DEPS := \
+ external/rust/crates/proc_macro2 \
+ external/rust/crates/quote \
+ external/rust/crates/syn
+
+include make/library.mk