Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Optional CARGO_MANIFEST_DIR #477

@Ahmed-Ali

Description

@Ahmed-Ali

In askama_shared/src/lib.rs#L36 this will cause the Template macro to fail if the CARGO_MANIFEST_DIR doesn't exist;
This works well with the default rustc tool chain; however, this also means if for whatever reason CARGO_MANIFEST_DIR doesn't exist, the crate won't work. (proc-macro panic)

Any chance this can be optional instead?

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