summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt')
-rw-r--r--lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt b/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt
new file mode 100644
index 0000000000..0ebce0e4a0
--- /dev/null
+++ b/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt
@@ -0,0 +1,15 @@
+[package]
+name = <%= config[:name].inspect %>
+version = "0.1.0"
+edition = "2021"
+authors = ["<%= config[:author] %> <<%= config[:email] %>>"]
+<%- if config[:mit] -%>
+license = "MIT"
+<%- end -%>
+publish = false
+
+[lib]
+crate-type = ["cdylib"]
+
+[dependencies]
+magnus = { version = "0.6.2" }