Skip to main content

Crate ferridriver_config

Crate ferridriver_config 

Source
Expand description

Unified ferridriver configuration.

Defines the canonical schema for ferridriver.toml and exposes typed sub-sections that downstream crates (ferridriver-mcp, ferridriver-test, ferridriver-bdd) consume.

§Layout

# ferridriver.toml

[mcp]
[mcp.server]
name = "my-server"

[mcp.browser]
backend = "cdp-pipe"
headless = true

[test]
testMatch = ["**/*.spec.ts"]
workers = 4

[test.browser]
browser = "chromium"

§Search order

  1. Explicit path passed by the caller.
  2. ./ferridriver.{toml,yaml,yml,json} in the current working directory.
  3. ~/.config/ferridriver/config.{toml,yaml,yml,json}.

Modules§

mcp
MCP server configuration types.
test
Test runner configuration types.

Structs§

FerridriverConfig
Top-level configuration document.
ScriptingConfig
Opt-in relaxations of the scripting sandbox. Every field defaults to the locked-down value; an operator who widens it is stating they understand the exposure — same posture as allow.net.

Functions§

find_default_path
Search the cwd and ~/.config/ferridriver/ for the canonical config file.