> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-PACKAGE-0106: Rust-only package depends directly on a Sifr source package.

> Rust-only package depends directly on a Sifr source package.

`SIFR-PACKAGE-0106` belongs to the **Package management** diagnostic family. It means: rust-only package depends directly on a Sifr source package.

## Why It Happens

Sifr package or workspace metadata violates the package model. Inspect `sifr.toml`, Cargo metadata, source roots, trust policy, archive contents, package selectors, or projection files as named by the diagnostic.

<Info>
  Use `sifr --explain SIFR-PACKAGE-0106` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Erroneous Code

```toml theme={null}
[package]
name = "demo"
```

## How To Fix It

Repair the package manifest, workspace selection, projection files, archive rules, or publish options named by the diagnostic.

## Fixed Code

```toml theme={null}
[package]
name = "demo"
version = "0.1.0"

[sifr]
source-root = "src"
```

## Details

| Field                  | Value                                                                                                       |
| ---------------------- | ----------------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-PACKAGE-0106`                                                                                         |
| Family                 | `PACKAGE`                                                                                                   |
| Severity               | Error                                                                                                       |
| Stability              | stable                                                                                                      |
| Owner                  | `sifr_package::graph::workspace`                                                                            |
| Representative fixture | `crates/sifr_package/src/package_workspace_query_tests.rs::rust_only_member_depending_on_sifr_reports_0106` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
