Skip to content

Commit e0743c7

Browse files
committed
fix(model): export object! macro without macros feature
1 parent c0d667e commit e0743c7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ jobs:
267267
- name: Run tests
268268
run: cargo test --all-features
269269

270+
- name: Run lib tests without default features
271+
run: cargo test -p rmcp --lib --no-default-features
272+
270273
test-no-local:
271274
name: Run Tests (no local feature)
272275
runs-on: ubuntu-latest

‎crates/rmcp/src/model.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ pub fn object(value: serde_json::Value) -> JsonObject {
5757
}
5858

5959
/// Use this macro just like [`serde_json::json!`]
60-
#[cfg(feature = "macros")]
6160
#[macro_export]
6261
macro_rules! object {
6362
({$($tt:tt)*}) => {

0 commit comments

Comments
 (0)