-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
27 lines (23 loc) · 869 Bytes
/
Cargo.toml
File metadata and controls
27 lines (23 loc) · 869 Bytes
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
[package]
name = "rustapi-macros"
description = "Procedural macros for RustAPI. Includes #[get], #[post], #[derive(Schema)], and #[derive(Validate)] for compile-time magic."
documentation = "https://docs.rs/rustapi-macros"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
[lib]
proc-macro = true
[dependencies]
syn = { workspace = true }
quote = { workspace = true }
proc-macro2 = { workspace = true }
serde_json = { workspace = true }
proc-macro-crate = "3.5"
# Note: async-trait is used in generated code, not in the macro itself
# Users need to have async-trait available when using the Validate derive
[dev-dependencies]
api = { package = "rustapi-rs", path = "../rustapi-rs", default-features = false }
serde = { workspace = true, features = ["derive"] }