Skip to content

Allow different versions of static files#60

Merged
kilork merged 11 commits into
masterfrom
59-allow-different-versions-of-static-files
Aug 26, 2025
Merged

Allow different versions of static files#60
kilork merged 11 commits into
masterfrom
59-allow-different-versions-of-static-files

Conversation

@kilork

@kilork kilork commented Aug 22, 2025

Copy link
Copy Markdown
Owner
  • added trait for collection used
  • added examples to release
  • use env vars for template
  • multiple example repos in release
  • added builtin-03 feature, cleanup tests and docs, split release example update into safe parts
  • do not forget change-detection feature for builtin dep
  • restore default features

@kilork kilork linked an issue Aug 22, 2025 that may be closed by this pull request
@kilork

kilork commented Aug 22, 2025

Copy link
Copy Markdown
Owner Author

As we have very nice crate static-files-actix-web, I plan to use this crate to provide more correct in term of deps version.

@kilork kilork changed the title 59 allow different versions of static files Allow different versions of static files Aug 23, 2025
@kilork kilork self-assigned this Aug 23, 2025
@kilork kilork merged commit e5ee88b into master Aug 26, 2025
2 checks passed
@kilork kilork deleted the 59-allow-different-versions-of-static-files branch August 26, 2025 07:55
Comment thread src/resource_files.rs
use std::{collections::HashMap, ops::Deref, rc::Rc};
use std::{collections::HashMap, ops::Deref, rc::Rc, sync::Arc};

pub type DefaultResourceFiles = HashMap<&'static str, Resource>;

@CommanderStorm CommanderStorm Aug 27, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is it intentional, that ResourceFile is not implemented for DefaultResourceFiles? 🤔

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

It should not, as it is intended to be implemented for the Resource type.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ah, now I get my mistake. I did not have the new static-files-03 feature enabled causing an compilation error that this is required.

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.

Allow different versions of static-files

2 participants