aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-04-30 23:11:17 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-04-30 23:11:17 +0000
commit32c7dcdcc3d7f9fb35caefffa18adfafaf32d449 (patch)
tree9e217ce249f44ec46bfafd0df7e949ecaa5e0162
parent812033cea962049f24a5802e6d7e41c9c8f29c67 (diff)
parentf9aef9a5a5aec0645d2aed309502a8fb543fc6c8 (diff)
downloadnum-derive-sdk-release.tar.gz
Snap for 11785460 from f9aef9a5a5aec0645d2aed309502a8fb543fc6c8 to sdk-releasesdk-release
Change-Id: I58aea17fc8dc28e1f542a31815a176270a6c5a4a
-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