what if someone decides to make a proc macro derive crate for my crate, but I've never checked their code? https://github.com/isislovecruft/subtle/pull/5 …
-
-
with namespacing, if there was an "isislovecruft/subtle" crate and a "notisis/subtle-derive" crate it should immediately seem suspicious
2 replies 0 retweets 0 likes -
Replying to @isislovecruft @tsion
or: because there is no explicit namespacing, there's problems when people do implicit namespacing
1 reply 1 retweet 3 likes -
Cargo could keep the current system of first come, first served names, but allow people to construct sub-names
1 reply 1 retweet 4 likes -
For instance, someone who registered the 'foo' crate could have 'foo/bar', 'foo/baz', etc
2 replies 0 retweets 4 likes -
Replying to @hdevalence @isislovecruft
this seems like a good idea! i'm not sure i've seen this specific namespacing idea raised before
2 replies 0 retweets 0 likes -
Replying to @tsion @isislovecruft
IIRC one point in the discussion I read was that having non-generic, branded names can be a good thing, which is fair in some contexts…
1 reply 0 retweets 0 likes -
… e.g., large crates like tokio, serde, etc. But what about small utilities, like 'sha2'? Am I supposed to brand my sha2 implementation?
2 replies 0 retweets 0 likes -
I think that namespaces are a natural solution to this problem, and can coexist with the existing flat space.
1 reply 0 retweets 2 likes -
this issue is now on the agenda for a future cargo team meeting
2 replies 0 retweets 7 likes
I have feels
-
-
Replying to @Carols10cents @withoutboats and
I'm generally against namespacing because I think they create more problems than they solve, but this sub-crate thing is interesting
2 replies 0 retweets 3 likes -
Replying to @Carols10cents @withoutboats and
i also have feels. mostly that you'd be surprised how few people will actually use it (i'm speaking from experience at npm)
1 reply 0 retweets 3 likes - 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.