Skip to content

chore(rust): update rand to 0.9.2 + has_integer_labels#110

Merged
Neclow merged 2 commits intosbhattlab:mainfrom
Neclow:update_rand_rs
Sep 23, 2025
Merged

chore(rust): update rand to 0.9.2 + has_integer_labels#110
Neclow merged 2 commits intosbhattlab:mainfrom
Neclow:update_rand_rs

Conversation

@Neclow
Copy link
Collaborator

@Neclow Neclow commented Sep 19, 2025

Update rand to 0.9.2, which involves the following changes from the rand API:

  • Rename fn rand::thread_rng() to rand::rng() and remove from the prelude
  • Rename fns Rng::gen_range to random_range, gen_bool to random_bool, gen_ratio to random_ratio
  • Include a function to check if a Newick string has integer labels in Rust

@Neclow Neclow changed the title chore(rs): update rand to 0.9.2 chore(rs): update rand to 0.9.2 + has_integer_labels Sep 19, 2025
@Neclow Neclow marked this pull request as draft September 19, 2025 16:12
@Neclow Neclow changed the title chore(rs): update rand to 0.9.2 + has_integer_labels chore(rust): update rand to 0.9.2 + has_integer_labels Sep 23, 2025
@Neclow Neclow marked this pull request as ready for review September 23, 2025 11:06
@Neclow Neclow merged commit e342a92 into sbhattlab:main Sep 23, 2025
8 checks passed
@Neclow Neclow deleted the update_rand_rs branch September 23, 2025 11:29
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.

1 participant