rust-num / num-traits

Numeric traits for generic mathematics in Rust
Apache License 2.0
694 stars 131 forks source link

constifying traits in an nighlty branch or feature gate it? (with #[const_trait]) #283

Closed haennes closed 1 year ago

haennes commented 1 year ago

Would a PR be welcome where the traits are all constified which could either be hidden behind a feature gate, similar to how it is achieved in this or in a different (nightly?) branch?

I would happily contribute this modification, as I need to write this code for another project anyways.

(Sorry for my bad english, I am not a native speaker)

tarcieri commented 1 year ago

Isn't impl const/impl ~const in a massive amount of flux right now? e.g. https://github.com/rust-lang/rust/issues/110395

haennes commented 1 year ago

Sorry. I havent seen this issue. I just started out at the tracking-issue rust-lang/rust#67792 which still suggests everything is on track. I will close this as it really seems VERY unstable....