# scientific-workflow 0.18.1
Linux scientific execution library with immutable StudyPlan compilation, linked
ExecutionUnit registration, captured independent engines, versioned socket control,
verified artifact storage, task recovery, serial campaigns, and guarded sealing.
```rust,no_run
use std::path::Path;
fn main() -> Result<(), scientific_workflow::WorkflowError> {
scientific_workflow::run(Path::new("/absolute/study"))
}
```
Author required wf_configs/study.json (schema 2), runtime.json and parameters.json.
Start returns readiness unless --wait is supplied; the headless/dashboard interface
is explicit. Runtime, transport, and writer construction are private.
See the repository [guide](https://github.com/dingyisun0101/Scientific-Workflow/blob/main/docs/README.md),
[breaking migration](https://github.com/dingyisun0101/Scientific-Workflow/blob/main/docs/migration.md),
and [API map](https://github.com/dingyisun0101/Scientific-Workflow/blob/main/docs/reference/rust-api.md).
## Cargo features
Defaults enable `runtime` and `macros`. Disable defaults and select `client` for
the socket SDK or `protocol` for wire types. `dashboard` builds an engine-free
viewer when defaults are disabled. `cli` builds the controller; `full` includes
all Rust tools. `python` enables the native companion bridge from this same crate.
```toml
scientific-workflow = { version = "0.18.1", default-features = false, features = ["client"] }
```
```sh
cargo install scientific-workflow --version 0.18.1 --features cli,dashboard --bins --locked
```
Progress persistence is coalesced off the model-stepping thread; lifecycle facts
and final authoritative publication remain durable. See
[package migration](https://github.com/dingyisun0101/Scientific-Workflow/blob/main/docs/migration-0.18.md).