Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prepend CARGO_MANIFEST_DIR to include path #47

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Rjected
Copy link
Contributor

@Rjected Rjected commented Jan 12, 2024

Some of our users have been having problems with our usage of include_mmd!, see investigation here: paradigmxyz/reth#6030 (comment)

The current implementation of include_mmd seems to introduce some ambiguity, at least between:

  • working on projects that use workspaces, and
  • working on a project that depends on a project that uses workspaces

Prepending CARGO_MANIFEST_DIR would break our existing usage of include_mmd! but allows the location for mermaid diagrams to be consistent across our project, and projects that depend on us.

@mersinvald
Copy link
Owner

@Rjected thanks for catching that. I'll increment the major and yank the current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants