Skip to content

packaging: gate tole-replay behind a non-default feature (eval-only bin) #118

Closed

Description

@ajianaz

cargo build/cargo install tole-cli builds and installs the tole-replay eval bin (cora full-scan MAJOR #12): every [[bin]] target builds unconditionally, contradicting the Cargo.toml comment ("NOT part of the shipped tole binary / not installed by cargo install"). My error from #108.

Fix options: gate with required-features = ["replay"] + a non-default replay = [] feature, or move the target to a separate eval crate. Keep the CI build command (cargo build -p tole-cli --bin tole-replay) working — document the feature flag in evals/README.md.

Acceptance: cargo build -p tole-cli (default features) does NOT produce tole-replay; the documented eval build command does; package list excludes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions