> ## 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-0403: Cargo include/exclude rules omit required Sifr files.

> Cargo include/exclude rules omit required Sifr files.

`SIFR-PACKAGE-0403` belongs to the **Package management** diagnostic family. It means: cargo include/exclude rules omit required Sifr files.

## 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-0403` 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-0403`                                                                                     |
| Family                 | `PACKAGE`                                                                                               |
| Severity               | Error                                                                                                   |
| Stability              | stable                                                                                                  |
| Owner                  | `sifr_package::cargo::package`                                                                          |
| Representative fixture | `crates/sifr_package/src/package_publish_archive_tests.rs::archive_missing_required_entry_reports_0403` |

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