Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/llm-coding-tools-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ pub use tools::{
TaskInput, TaskOutput, Todo, TodoPriority, TodoState, TodoStatus,
};

// Re-export webfetch tools (requires async or blocking feature)
#[cfg(any(feature = "async", feature = "blocking"))]
// Re-export webfetch tools (requires tokio or blocking feature)
#[cfg(any(feature = "tokio", feature = "blocking"))]
pub use tools::{fetch_url, format_json, html_to_markdown, WebFetchOutput};
6 changes: 3 additions & 3 deletions src/llm-coding-tools-core/src/tools/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ pub use task::{TaskInput, TaskOutput};
pub use todo::{read_todos, write_todos, Todo, TodoPriority, TodoState, TodoStatus};
pub use write::write_file;

// Webfetch available in both async and blocking modes
#[cfg(any(feature = "async", feature = "blocking"))]
// Webfetch available in both tokio and blocking modes
#[cfg(any(feature = "tokio", feature = "blocking"))]
pub mod webfetch;

#[cfg(any(feature = "async", feature = "blocking"))]
#[cfg(any(feature = "tokio", feature = "blocking"))]
pub use webfetch::{fetch_url, format_json, html_to_markdown, WebFetchOutput};