In rust, why can we not define an impl for a type defined outside the crate? What is the purpose of this restriction?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rfcs

    RFCs for changes to Rust

  • In terms of a newtype mechanism that will also derive the traits of the original type, I believe this is the tracking RFC: https://github.com/rust-lang/rfcs/issues/261 It's an issue that I think virtually everybody wants, but it seems to be difficult to implement (for reasons that I actually don't understand).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts