Kevin Heavey
Kevin Heavey
On my computer it takes 8.8 seconds. And I find GitHub Actions tends to be about 4x slower than my machine. ```$ cargo build -r Compiling proc-macro2 v1.0.78 Compiling version_check...
curve25519-dalek takes 7.5 seconds to compile on my machine: ```$ cargo build -r Compiling semver v1.0.21 Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling platforms v3.3.0 Compiling cfg-if v1.0.0 Compiling cpufeatures...
One way I've seen projects address this shortcoming in Rust visibility is to publish an "internals" crate and put a notice in the README that you shouldn't use the crate...
> @kevinheavey you haven't mentioned specifically what you're doing beyond needing `decompress::step_1`, but it seems like e.g. solving the curve equation for a `FieldElement` isn't really going to be useful...
This means it would need to be in Anchor itself. The anchor_lang crate doesn't support HashMap in IDLs https://github.com/coral-xyz/anchor/blob/master/lang/syn/src/idl/mod.rs
That works because you already have a Duration type, by construction. There are scenarios where you have a Time type already, and adding a Time to a Datetime should either...
I've published a hacky fork that uses lower camel case: https://crates.io/crates/camelpaste I won't be maintaining it though so consume at your own risk
Don't worry guys I have a snapshot on my laptop, no need for arweave
My understanding is that this Rust version comes from Solana's Rust fork https://github.com/solana-labs/rust Solana has a fork of Rust so that it can compile to SBPF
If I could get Labs to split up solana-program, the anchor_lang build time would look much more significant 🙃