Giter Site home page Giter Site logo

Comments (13)

marcusklaas avatar marcusklaas commented on September 18, 2024

+1

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

It looks like crypto is already taken on crates.io. According to http://www.reddit.com/r/rust/comments/2ocz69/package_naming_and_grouped_packages_cratesio_and/ it sounds like there will be a blog post soon on suggested crate naming conventations. One thing that I saw suggested a while ago was that the "rust-" prefix might be reserved for offical Rust projects. I forget who said it and where I saw it, however. So, I think it would make sense to postpone any renaming until at least that blog post is published to see what it says.

Anyway, I'm leaning toward the idea of renaming, both to avoid the annoying extern crate statement and to avoid any confusion or issues with the "rust-" prefix. With crypto already taken, I'm not sure what would be the best name if we do decide to rename. crypt seems like it would potentially cause confusion with crypto. rcrypt might work, but I'm not crazy about it either. I was looking for other possibilies when I kinda got the idea of going with something Rusty-er. Maybe patina - a protective covering over metal - which feels kinda fitting for a Rust crypto library.

I'm certainly open to other suggestions, of course.

from rust-crypto.

chrisballinger avatar chrisballinger commented on September 18, 2024

crypto-rs?

On Fri, Dec 5, 2014 at 11:46 PM, DaGenix [email protected] wrote:

It looks like crypto is already taken on crates.io. According to
http://www.reddit.com/r/rust/comments/2ocz69/package_naming_and_grouped_packages_cratesio_and/
it sounds like there will be a blog post soon on suggested crate naming
conventations. One thing that I saw suggested a while ago was that the
"rust-" prefix might be reserved for offical Rust projects. I forget who
said it and where I saw it, however. So, I think it would make sense to
postpone any renaming until at least that blog post is published to see
what it says.

Anyway, I'm leaning toward the idea of renaming, both to avoid the
annoying extern crate statement and to avoid any confusion or issues with
the "rust-" prefix. With crypto already taken, I'm not sure what would be
the best name if we do decide to rename. crypt seems like it would
potentially cause confusion with crypto. rcrypt might work, but I'm not
crazy about it either. I was looking for other possibilies when I kinda got
the idea of going with something Rusty-er. Maybe patina - a protective
covering over metal - which feels kinda fitting for a Rust crypto library.

I'm certainly open to other suggestions, of course.


Reply to this email directly or view it on GitHub
#153 (comment).

from rust-crypto.

klutzy avatar klutzy commented on September 18, 2024

It looks like crypto is already taken on crates.io.

rust-lang/crates.io#58 (comment)

from rust-crypto.

icorderi avatar icorderi commented on September 18, 2024

@DaGenix waiting for a resolution on the naming schemes and whether we will have namespaced crates makes a lot of sense.

By the way, have you tried asking @mahkoh for the name? I checked his repos and there doesn't seem to be anything with crypto in it.

from rust-crypto.

emberian avatar emberian commented on September 18, 2024

Even if the package name is rust-crypto, the crate name doesn't need to match it. Having the crate name not be a valid identifier is really inconvenient.

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

@cmr - so we could just change:

[lib]
name = "rust-crypto"
path = "src/rust-crypto/lib.rs"

to

[lib]
name = "rustcrypto"
path = "src/rust-crypto/lib.rs"

then re-plubish and that would fix it?

That seems very appealing to me - what does everything else think?

Does anyone know if changing the crate name of an already uploaded package to crates.io. been tested?

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

@icorderi - I haven't talked with @mahkoh. If what I think @cmr is suggesting would work, that seems ideal to me since it would appear to fix the issue with a minimum of churn. If that won't work, I'll see if @mahkoh would be willing to let it go.

As a side note, if we can just change the crate name, what should we change it to? My first thought is rustcrypto since that seems easiest.

from rust-crypto.

emberian avatar emberian commented on September 18, 2024

I think "crypto" is a good name. Having "rust" in a crate name is
pointless, the fact that it's "rust" is implicit in the fact that extern crate is written in a .rs file. I don't know of any problems with crates.io
in this regard...

On Fri, Dec 12, 2014 at 10:36 PM, DaGenix [email protected] wrote:

@icorderi https://github.com/icorderi - I haven't talked with @mahkoh
https://github.com/mahkoh. If what I think @cmr https://github.com/cmr
is suggesting would work, that seems ideal to me since it would appear to
fix the issue with a minimum of churn. If that won't work, I'll see if
@mahkoh https://github.com/mahkoh would be willing to let it go.

As a side note, if we can just change the crate name, what should we
change it to? My first thought is rustcrypto since that seems easiest.


Reply to this email directly or view it on GitHub
#153 (comment).

http://octayn.net/

from rust-crypto.

icorderi avatar icorderi commented on September 18, 2024

@DaGenix what @cmr suggested is the same thing I suggested at the beginning.
I think is makes sense to have the package rust-crypto while the lib is just crypto.

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

@icorderi I'm really sorry - I completely misread what you were suggesting. I will not be getting a gold star for my reading comprehnsion this week.

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

I opened #166 to do the renaming suggested here.

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

Unless someone brings up a new issue to discuss regarding the renaming, I'll merge that PR in the next day or two and publish a new release to crates.io.

from rust-crypto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.