Skip to content

chore: Don't depend on openssl - #292

Merged
grahamking merged 2 commits into
mainfrom
gk-rustls-1
Mar 19, 2025
Merged

grahamking merged 2 commits into
mainfrom
gk-rustls-1

Conversation

@grahamking

Copy link
Copy Markdown
Contributor

This makes the Rust parts all use ring / rustls library instead of local install of openssl. It's a step on the journey to being statically linked.

Pieces:

  • tokenizers and mistralrs now support rustls (mistralrs by default, tokenizers with feature flag).
  • Move shared dependencies up into workspace
  • New rand crate has some renames for future rust
  • Ensure the dependency doesn't creep back in by enforcing it with cargo deny.

This makes the Rust parts all use ring / rustls library instead of local
install of openssl. It's a step on the journey to being statically
linked.

Pieces:
- `tokenizers` and `mistralrs` now support rustls (mistralrs by default,
  tokenizers with feature flag).
- Move shared dependencies up into workspace
- New `rand` crate has some renames for future rust
- Ensure the dependency doesn't creep back in by enforcing it with cargo
  deny.
Doesn't build with musl yet, maybe never. But this helps.
@grahamking
grahamking merged commit a9b17d6 into main Mar 19, 2025
@grahamking
grahamking deleted the gk-rustls-1 branch March 19, 2025 18:16
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
This makes the Rust parts all use ring / rustls library instead of local install of openssl. It's a step on the journey to being statically linked.

Pieces:
- `tokenizers` and `mistralrs` now support rustls (mistralrs by default, tokenizers with feature flag).
- Move shared dependencies up into workspace
- New `rand` crate has some renames for future rust
- Ensure the dependency doesn't creep back in by enforcing it with cargo deny.

This branch was previously deployed

1 inactive deployment
GITLAB — 8486de81 Deployed Mar 19, 2025 by copy-pr-bot[bot]
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