Skip to content

Commit

Permalink
Add the actual code
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Jul 3, 2024
1 parent 3dc9bfb commit b72bb86
Show file tree
Hide file tree
Showing 14 changed files with 940 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
323 changes: 323 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "nested_enum_utils"
version = "0.1.0"
edition = "2021"
readme = "README.md"
description = "Macros to provide conversions for nested enums"
license = "MIT OR Apache-2.0"
authors = ["Rüdiger Klaehn <[email protected]>"]
repository = "https://github.com/n0-computer/nested-enum-utils"
keywords = ["enum", "conversion", "macros", "protocol"]

[dependencies]
proc-macro-crate = "3.1.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ["full"] }

[lib]
proc-macro = true

[dev-dependencies]
trybuild = "1.0.96"
Loading

0 comments on commit b72bb86

Please sign in to comment.