docs.rs failed to build skill-http-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Skill HTTP Server - High-performance REST API with streaming
This crate provides a complete HTTP REST API for the Skill Engine.
Features
- Skills Management: List, install, uninstall skills
- Tool Execution: Execute skill tools with arguments
- Search: Semantic search across skills and tools
- Configuration: Runtime configuration management
- Health Checks: Monitor server and component health
API Endpoints
Skills
GET /api/skills- List all installed skillsPOST /api/skills- Install a new skillGET /api/skills/{name}- Get skill detailsDELETE /api/skills/{name}- Uninstall a skill
Execution
POST /api/execute- Execute a toolGET /api/executions- List execution historyGET /api/executions/{id}- Get execution details
Search
POST /api/search- Semantic search for skills/toolsGET /api/search/config- Get search configurationPUT /api/search/config- Update search configuration
Configuration
GET /api/config- Get application configurationPUT /api/config- Update application configuration
Health
GET /api/health- Health checkGET /api/version- Version information
Example
use skill_http::{HttpServer, HttpServerConfig};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let config = HttpServerConfig {
host: "127.0.0.1".to_string(),
port: 3000,
enable_cors: true,
enable_tracing: true,
};
let server = HttpServer::with_config(config)?;
server.run().await
}