Comments (13)
+1
from rust-crypto.
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.
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.
It looks like crypto is already taken on crates.io.
rust-lang/crates.io#58 (comment)
from rust-crypto.
@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.
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.
@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.
@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.
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).
from rust-crypto.
@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.
@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.
I opened #166 to do the renaming suggested here.
from rust-crypto.
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)
- assertion failed: dst.len() * 4 == input.len()
- error: could not compile `rustc-serialize`. HOT 1
- progress on pbkdf2
- Yank breaking versions with "*" deps
- is there a plan to support ECDSA P256?
- Is it possible to provide a demo of using salsa20 HOT 2
- error: failed to run custom build command for `rust-crypto v0.2.36` HOT 1
- Another crypto project HOT 2
- shake_128.result_str();//No output HOT 1
- rustc-serialize dependency do not support wasm HOT 2
- gcc is deprecated HOT 1
- adding optional dependencies HOT 1
- feature request: Provide a type that wraps a Write and updates a digest when it's written to HOT 1
- aes::cbc_encryptor result not Send
- Shouldn't Digest.result_str call output_bytes instead of repeating the code ?
- build error: error: failed to run custom build command for rust-crypto v0.2.36 HOT 1
- aes::ecb_encryptor result not right and aes::ecb_decryptor error HOT 1
- What is the safest way to generate a key for Blowfish? HOT 1
- Ed25519 signature verification fails
- armv7-a build fail HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-crypto.