Conversation
sm2/src/dsa.rs
Outdated
| use alloc::vec::Vec; | ||
|
|
||
| #[cfg(feature = "pkcs8")] | ||
| #[cfg(all(feature = "alloc", feature = "pkcs8"))] |
There was a problem hiding this comment.
Why are you changing this? Everything but SignatureBitStringEncoding is available in no-alloc environments
There was a problem hiding this comment.
Why did you resolve this comment without answering or changing anything?
|
@tarcieri I'm sorry, I've replied, but it seems that you can't see it over there These imports are only used in elliptic-curves/sm2/src/dsa.rs Lines 208 to 232 in 20eeeff |
|
Oh, your comment is marked pending. I’m on a phone but I’m confused why there wouldn’t be unused import warnings in thar case. |
|
The current main branch uses std by default |
|
By "default" in the sense of a default-enabled https://github.com/RustCrypto/elliptic-curves/blob/8f6a343/sm2/Cargo.toml#L38-L40 |
|
Sorry I didn't know this, but now I've changed it back |
|
Closing as stale |
|
@tarcieri Is this still needed? |
|
Yes, it would be a useful improvement |
|
I've reworked it, could you please take a look at #1687? |

add sm2 pke no std support
ref #1099