Skip to content

Commit bdaea7d

Browse files
committed
[enum_stuff]
changed name to crate-proc-macro added some explanation also added to gh actions release all so it can be published
1 parent e1ea4ce commit bdaea7d

File tree

6 files changed

+27
-9
lines changed

6 files changed

+27
-9
lines changed

.github/workflows/release_all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
crate: [git_function_history, git-function-history-gui, cargo-function-history, function_history_backend_thread]
15+
crate: [git_function_history, git-function-history-gui, cargo-function-history, function_history_backend_thread, git_function_history_proc-macro]
1616
fail-fast: false
1717
steps:
1818
- uses: actions/checkout@v4

enum_stuff/README.md

Whitespace-only changes.

git-function-history-lib/Cargo.toml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ version = "0.7.1"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/mendelsshop/git_function_history/tree/main/git-function-history-lib"
7-
keywords = ["git_function_history", "git", "function", ]
7+
keywords = ["git_function_history", "git", "function"]
88
categories = ["tools", "git"]
99
description = "show function history from git"
1010
rust-version = "1.70.0"
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313
[features]
1414
default = ["parallel", "cache"]
15-
parallel = ["dep:rayon", "gix-features/parallel", "gix-features/fs-walkdir-parallel"]
15+
parallel = [
16+
"dep:rayon",
17+
"gix-features/parallel",
18+
"gix-features/fs-walkdir-parallel",
19+
]
1620
# c_lang = []
1721
# unstable = ["dep:gosyn", "dep:javaparser"]
1822
cache = ["dep:cached"]
@@ -27,9 +31,16 @@ gosyn = "0.2.5"
2731
# can't be published b/c git dependency
2832
# javaparser = {git = "https://github.com/tanin47/javaparser.rs", optional = true}
2933
cfg-if = "1.0.0"
30-
cached = {version = "0.46.0", optional = true}
34+
cached = { version = "0.46.0", optional = true }
3135
# git-index-performanc
32-
gix = { version = "0.55.2", default-features = false, features = ["max-performance-safe", "revision"] }
33-
gix-features = { version = "0.36.0", features = ["zlib", "once_cell" ,"walkdir"] }
36+
gix = { version = "0.55.2", default-features = false, features = [
37+
"max-performance-safe",
38+
"revision",
39+
] }
40+
gix-features = { version = "0.36.0", features = [
41+
"zlib",
42+
"once_cell",
43+
"walkdir",
44+
] }
3445
umpl = "1.1.1"
35-
enum_stuff = {path = "../enum_stuff"}
46+
enum_stuff = { version = "0.1.0", path = "../enum_stuff" }

enum_stuff/Cargo.toml renamed to git_function_history_proc-macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "enum_stuff"
2+
name = "git_function_history-proc-macro"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT"
66
repository = "https://github.com/mendelsshop/git_function_history/tree/main/enum_stuff"
7-
keywords = ["enmum", "proc-macro"]
7+
keywords = ["enum", "proc-macro"]
88
categories = ["proc-macro"]
99
description = "A proc macro to generate a bunch of stuff for enums - for git_function_history"
1010

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# git_function_history_proc-macro
2+
3+
[![Crates.io](https://img.shields.io/crates/v/git_function_history_proc-macro.svg)](https://crates.io/crates/git_function_history_proc-macro)
4+
[![Docs.rs](https://docs.rs/git_function_history_proc-macro/badge.svg)](https://docs.rs/git_function_history_proc-macro)
5+
6+
This crate provides a procedural macro for the crate [`git_function_history`](https://crates.io/crates/git_function_history), that makes it easier to parse list of strings to filter types provided by the `git_function_history` crate, along with some other stuff for types that derive it. This makes it easier for consumer of the `git_function_history` crate to create UIs by providing a way to turn user commands into filters and commands the `git_function_history` crate can understand.
7+
To see an example of the features provided by this crate in use look at [`cargo-function-history`](https://github.com/mendelsshop/git_function_history/tree/main/cargo-function-history).
File renamed without changes.

0 commit comments

Comments
 (0)