-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
25 lines (22 loc) · 869 Bytes
/
Cargo.toml
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
[package]
name = "enum2contract"
version = "0.1.6"
authors = ["Matthew Berger <[email protected]>"]
description = """
enum2contract is a no_std compatible rust derive macro that lets users specify contracts for pub/sub style messaging using strongly typed rust enums.
Conversion methods for JSON and binary are created for the generated payloads.
"""
homepage = "https://github.com/matthewjberger/enum2contract"
repository = "https://github.com/matthewjberger/enum2contract"
keywords = ["enum", "macro", "contract"]
license = "MIT"
edition = "2021"
[lib]
proc-macro = true
[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = "1.0"
serde = { version = "1.0.158", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.94", default-features = false, features = ["alloc"] }
postcard = { version = "1.0.4", features = ["alloc"] }