A large open box or basket, used especially to transport fragile goods.
crate
Definitions, parts of speech, synonyms, and sentence examples for crate.
Editorial note
If the trait is in another crate, does coherence require that the self type is in this crate or that all the types are in this crate?
Quick take
A large open box or basket, used especially to transport fragile goods.
Meaning at a glance
The clearest senses and uses of crate gathered in one view.
(transitive) To put into a crate.
(transitive) To keep in a crate.
Definitions
Core meanings and parts of speech for crate.
noun
A large open box or basket, used especially to transport fragile goods.
verb
(transitive) To put into a crate.
verb
(transitive) To keep in a crate.
noun
(slang, mildly derogatory) A vehicle (car, aircraft, spacecraft, etc.) seen as unreliable.
Example sentences
If the trait is in another crate, does coherence require that the self type is in this crate or that all the types are in this crate?
I guess the idea is to basically fire a shock-absorbing crate full of scientific instruments, let the impact destroy the crate, and hope the instruments survive and get to work.
This is Rust's approach to splitting a crate between files - not for splitting to different isolated separately-compiled modules.
I'll donate a crate of red bulls or coffee or whatever he drinks to come up with all this!
They don't want to rehabilitate but actually have the opposite incentive which is to crate repeat offenders to keep their cash flow going.
I wonder if a tool for visualizing traits as a Venn Diagram would be useful for inspecting an unknown crate.
However if you know what you're doing you can just grab a community crate with a different hasher and plug it into our HashMap.
I don't see why exposing unsafe operations is problematic: the crate's user still has to explicitly decide to use them if desired.
They crate a playground of imagination for possible futures.
If you think that, I've a crate of ST-506s to sell you.
Not only does that crate use unsafe code, it exports unsafe operations: unsafe fn uchk_at<'a>(&'a self, index: D) -> &'a A Perform unchecked array indexing.
Note that you really don't want to be relying on this unstable feature, it's quite a hack at the moment and will very likely be moved out into an external crate.
Quote examples
But it is worth something if a "github API" crate made by John Doe is used by hundreds of people and didn't have a single memory leak for quite a while.
Crate doesn't have to be superior in a technical sense to get this badge, it just has to be "famous", and stuff gets "famous" for various reasons.
"I don't see why exposing unsafe operations is problematic: the crate's user still has to explicitly decide to use them if desired." Duh.
If a library is known to be unsafe through the "safe" interface: it's a bug, and a crate shouldn't have this badge from a moment the bug has been discovered and until the bug is fixed again (or even longer, if there have been 5 such bugs over the last 2 weeks, even though now they seem to be fixed).
Proper noun examples
Currently there is support for Crate.io and Apache Cassandra, with more on the way.
Spanky from Crate.io here if there are any followup questions.
I just read Japan Crate's about page [1] and I wonder if their opening paragraph, and apparently their inspiration, was their initial experience with you.
Frequently asked questions
Short answers drawn from the clearest meanings and examples for this word.
How do you use crate in a sentence?
If the trait is in another crate, does coherence require that the self type is in this crate or that all the types are in this crate?
What does crate mean?
A large open box or basket, used especially to transport fragile goods.
What part of speech is crate?
crate is commonly used as noun, verb.