aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: c0b3a36afa3c5a813a2e7d25e3ebf502da5d4d23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"] }