diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-23 08:08:33 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-23 14:01:45 +0800 |
| commit | 68a652ed2f51d366bb8033497e6dfe545895410e (patch) | |
| tree | d463833846248410733e196a0939c59cd67ca8a2 /Cargo.toml | |
feat: scaffold crate structure and implement core macros
Add the project skeleton, LICENSE files, README, Makefile, doc
examples, and the initial implementation of `#[func]`, `invoke!`,
and `select!` procedural macros.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 33 |
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"] } |
