Skip to content

Commit b72bb86

Browse files
committed
Add the actual code
1 parent 3dc9bfb commit b72bb86

14 files changed

+940
-0
lines changed

.github/workflows/rust.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Build
20+
run: cargo build --verbose
21+
- name: Run tests
22+
run: cargo test --verbose

Cargo.lock

+323
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[package]
2+
name = "nested_enum_utils"
3+
version = "0.1.0"
4+
edition = "2021"
5+
readme = "README.md"
6+
description = "Macros to provide conversions for nested enums"
7+
license = "MIT OR Apache-2.0"
8+
authors = ["Rüdiger Klaehn <rklaehn@protonmail.com>"]
9+
repository = "https://github.com/n0-computer/nested-enum-utils"
10+
keywords = ["enum", "conversion", "macros", "protocol"]
11+
12+
[dependencies]
13+
proc-macro-crate = "3.1.0"
14+
proc-macro2 = "1.0"
15+
quote = "1.0"
16+
syn = { version = "1.0", features = ["full"] }
17+
18+
[lib]
19+
proc-macro = true
20+
21+
[dev-dependencies]
22+
trybuild = "1.0.96"

0 commit comments

Comments
 (0)