summaryrefslogtreecommitdiff
path: root/src/rust/cargo/circle/TARGETS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-26 15:46:09 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-27 12:05:35 +0200
commitc6b35f8f2e83621b4e53ab999e5b5bf146a73aa0 (patch)
tree2c607815866fdb7887dc5486255d2a7729f23578 /src/rust/cargo/circle/TARGETS
parentd5e14989a76f346789622fce27e3c63c217792cb (diff)
downloadhello-nix-c6b35f8f2e83621b4e53ab999e5b5bf146a73aa0.tar.gz
Add minimal example using cargo
... including a test (for which we add python3 as test dependency).
Diffstat (limited to 'src/rust/cargo/circle/TARGETS')
-rw-r--r--src/rust/cargo/circle/TARGETS15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/rust/cargo/circle/TARGETS b/src/rust/cargo/circle/TARGETS
new file mode 100644
index 0000000..9085e22
--- /dev/null
+++ b/src/rust/cargo/circle/TARGETS
@@ -0,0 +1,15 @@
+{ "circle_sampling":
+ { "type": ["@", "rules", "rust", "binary"]
+ , "name": ["circle_sampling"]
+ , "crate_root": ["src/main.rs"]
+ , "srcs": ["src/main.rs"]
+ , "edition": ["2021"]
+ , "arguments_config":
+ ["ARCH", "HOST_ARCH", "TARGET_ARCH", "ENV", "TOOLCHAIN_CONFIG"]
+ , "deps": [["@", "rand", "", "rand"]]
+ , "cargo_features": []
+ , "stage": ["circle_sampling-0.1.0"]
+ , "version": ["0", "1", "0"]
+ , "pkg_name": ["circle_sampling"]
+ }
+}