Skip to content

Merge stylo_config crate into stylo_static_prefs - #312

Merged
Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:merge-prefs
Feb 19, 2026
Merged

Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:merge-prefs

Conversation

@Loirooriol

@Loirooriol Loirooriol commented Feb 13, 2026 •

Copy link
Copy Markdown
Collaborator

These crates used to have independent sets of preferences, which wasn't ideal. Now that it's no longer the case, it doesn't make sense to keep them as separate crates.

Servo PR: servo/servo#42605

These crates used to have independent sets of preferences, which wasn't
ideal. Now that it's no longer the case, it doesn't make sense to keep
them as separate crates.

Signed-off-by: Oriol Brufau <[email protected]>
@Loirooriol

Copy link
Copy Markdown
Collaborator Author

@mrobinson @nicoburns I'm having doubts if it's better to do it like this, or the other way round. I think I prefer the stylo_config name, but code shared with Gecko needs static_prefs::pref!() and I guess it might be confusing to use

static_prefs = { version = "0.12.0", path = "./stylo_config", package = "stylo_config"}

@mrobinson

Copy link
Copy Markdown
Member

@mrobinson @nicoburns I'm having doubts if it's better to do it like this, or the other way round. I think I prefer the stylo_config name, but code shared with Gecko needs static_prefs::pref!() and I guess it might be confusing to use

static_prefs = { version = "0.12.0", path = "./stylo_config", package = "stylo_config"}

Yeah, I think we should avoid a confusing name swap of static_prefs and stylo_config.

@Loirooriol

Copy link
Copy Markdown
Collaborator Author

OK, so I'm landing as is

@Loirooriol
Loirooriol added this pull request to the merge queue Feb 19, 2026
Merged via the queue into servo:main with commit 9a413b4 Feb 19, 2026
5 checks passed
@Loirooriol
Loirooriol deleted the merge-prefs branch February 19, 2026 13:55
github-merge-queue Bot pushed a commit to servo/servo that referenced this pull request Feb 19, 2026
…atic_prefs`" (#42605)

Bumps Stylo to servo/stylo#312

Testing: Not needed, no behavior change

Signed-off-by: Oriol Brufau <[email protected]>
github-merge-queue Bot pushed a commit to servo/servo that referenced this pull request Feb 19, 2026
…atic_prefs`" (#42605)

Bumps Stylo to servo/stylo#312

Testing: Not needed, no behavior change

Signed-off-by: Oriol Brufau <[email protected]>
github-merge-queue Bot pushed a commit to servo/servo that referenced this pull request Feb 19, 2026
…atic_prefs`" (#42605)

Bumps Stylo to servo/stylo#312

Testing: Not needed, no behavior change

Signed-off-by: Oriol Brufau <[email protected]>
Loirooriol added a commit that referenced this pull request Mar 5, 2026
These crates used to have independent sets of preferences, which wasn't
ideal. Now that it's no longer the case, it doesn't make sense to keep
them as separate crates.

Servo PR: servo/servo#42605

Signed-off-by: Oriol Brufau <[email protected]>
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.

3 participants