Skip to content

Commit 0e16198

Browse files
author
stoorps
committedFeb 19, 2025··
vib-macros not optional for now, as I messed up the crates.io listing...
1 parent 84451d4 commit 0e16198

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
 

‎.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Run tests
1919
run: cargo test --verbose
2020

21-
- name: Publish vib-macros
22-
run: cargo publish -p vib-macros --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
21+
# - name: Publish vib-macros
22+
# run: cargo publish -p vib-macros --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
2323

2424
- name: Publish vib-api
2525
run: cargo publish -p vib-api --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

‎vib-api/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ repository = "https://github.com/stoorps/vib-rs"
1010
[dependencies]
1111
serde.workspace = true
1212
serde_json.workspace = true
13-
vib-macros = {path = "../vib-macros", optional = true }
13+
vib-macros = {path = "../vib-macros"}#, optional = true }
1414

15-
[features]
16-
default = ["macros"]
17-
macros = ["dep:vib-macros"]
15+
# [features]
16+
# default = ["macros"]
17+
# macros = ["dep:vib-macros"]

‎vib-api/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::collections::HashMap;
22
use serde::{Deserialize, Serialize};
33

4-
#[cfg(feature = "macros")]
4+
//#[cfg(feature = "macros")]
55
pub use vib_macros::*;
66

77
#[derive(Default, Clone, Serialize, Deserialize, PartialEq, Eq, Debug)]

0 commit comments

Comments
 (0)
Please sign in to comment.