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

use manifest path for inclusion of template #132

Closed
wants to merge 1 commit into from
Closed

Conversation

MabezDev
Copy link
Member

No description provided.

@MabezDev MabezDev added the skip-changelog No changelog modification needed label Feb 24, 2025
src/main.rs Outdated
let options = include_str!("../template/template.yaml");
serde_yaml::from_str(options).unwrap()
});
const OPTIONS: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/template/template.toml");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it still needs include_str! - now we are parsing the path as YAML

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not working sadly :(

@MabezDev MabezDev closed this Feb 24, 2025
auto-merge was automatically disabled February 24, 2025 16:32

Pull request was closed

let options = include_str!("../template/template.yaml");
serde_yaml::from_str(options).unwrap()
});
const OPTIONS: &str = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/template/template.toml"));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah it's yaml not toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants