SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Remove dependency on openssl

Open Centril opened this issue 1 year ago • 2 comments

It's being pulled in by reqwest, which comes as a default feature we're not using (see https://github.com/seanmonstar/reqwest/blob/master/Cargo.toml)

We're also using it in standalone to generate keys, which can be delegated to shell calls.

Removing this dependency removes a long chunk of compilation time on windows.

Centril avatar Jul 12 '24 21:07 Centril

Removing this dependency removes a long chunk of compilation time on windows.

Really it's hard to understate the amount of time this is taking in windows. I believe the vast majority of the time spent compiling SpacetimeDB on windows is just openssl.

jdetter avatar Jul 15 '24 11:07 jdetter

For generating the keys we can use ring

mamcx avatar Jul 25 '24 16:07 mamcx