briansmith / ring

Safe, fast, small crypto using Rust
Other
3.64k stars 682 forks source link

Replace `std::error` with `core::error` #2118

Open StackOverflowExcept1on opened 1 week ago

StackOverflowExcept1on commented 1 week ago

https://github.com/briansmith/ring/blob/525047a2b4f3724fd1337b3fc8a7c642c95fcf8b/src/error.rs#L86-L87

https://github.com/rust-lang/rust/pull/125951

briansmith commented 1 week ago

We can add a core-error feature flag to ring that will do this, I suppose. Not sure what the use case is.

StackOverflowExcept1on commented 1 week ago

Well, maybe use case is to not depend on std and be able to use crates like thiserror