Skip to main content

Crate rusty_fmp

Crate rusty_fmp 

Source
Expand description

Library implementation for the rusty-fmp crate.

The HTTP client (FmpClient), endpoint descriptors, and error types are always available so other Rust projects (for example an MCP server) can consume the API without pulling in the CLI. The cli module is gated behind the default cli feature and exposes only the Cli parser type plus run entry point used by the bundled fmp-agent binary.

Library-only consumers should disable default features:

rusty-fmp = { default-features = false }

This crate emits log records via the log crate. Callers control output by installing a compatible logger (e.g., env_logger in the cli feature).

Re-exports§

pub use crate::cli::Cli;
pub use crate::cli::run;
pub use crate::client::FmpClient;
pub use crate::endpoint::Endpoint;
pub use crate::error::Error;
pub use crate::error::Result;

Modules§

cli
Command line parsing and output rendering.
client
HTTP client for Financial Modeling Prep stable endpoints.
endpoint
Stable API endpoint descriptors for confirmed FMP paths.
error
Error types for the FMP CLI.