aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..c0b3a36
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,33 @@
+[package]
+name = "might_be_async"
+authors = ["Weicao-CatilGrass"]
+version = "0.1.0"
+edition = "2024"
+license = "MIT OR Apache-2.0"
+readme = "README.md"
+repository = "https://github.com/catilgrass/might_be_async"
+description = "A proc macro that gen both async & sync fn, toggle via feature flag."
+keywords = ["async", "proc-macro", "macro"]
+categories = ["development-tools"]
+repository = "https://github.com/catilgrass/might_be_async"
+
+[lib]
+proc-macro = true
+
+[features]
+
+# Only a test placeholder, no actual functionality
+foo_async = []
+foo_sync = []
+
+[package.metadata.might_be_async]
+default_feature_name = "foo_async"
+
+[dependencies]
+proc-macro2 = "1.0.106"
+quote = "1.0.46"
+syn = { version = "2.0.118", features = ["full"] }
+toml = "0.8"
+
+[dev-dependencies]
+syn = { version = "2.0.118", features = ["full", "printing"] }