NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #5632 most downloaded on crates.io
Composable camera rigs
Latest stable
0.6.0
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 11 of 15 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
15 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
chore: Release dolly version 0.6.0
chore: Release dolly version 0.6.0
~2100 changes, numerous bugfixes
Syntax changes
Selfself parameter in trait and impl methods must now be explicitly
named (for example: fn f(&self) { }). Implicit self is deprecated.static keyword and instead
are distinguished by the lack of a self parameterDurable trait with the 'static lifetimesuper is a keyword, and may be prefixed to paths+ instead of whitespaceimpl Trait for Type
instead of impl Type: Trait&'l foo instead of &l/fooexport keyword has finally been removedmove keyword has been removed (see "Semantic changes")[mut T], has been
removed. Use &mut [T], etc.mut is no longer valid in ~mut T. Use inherited mutabilityfail is no longer a keyword. Use fail!()assert is no longer a keyword. Use assert!()log is no longer a keyword. use debug!, etc.(T,)mut. Use inherited mutability,
@mut T, core::mut or core::cellextern mod { ... } is no longer valid syntax for foreign
function modules. Use extern blocks: extern { ... }const renamed to static to correspond to lifetime name,
and make room for future static mut unsafe mutable globals.#[deriving_eq] with #[deriving(Eq)], etc.Clone implementations can be automatically generated with
#[deriving(Clone)]@foo as @Bar
instead of foo as Bar.[int, .. 3]
instead of [int * 3].[int, .. GL_BUFFER_SIZE - 2])Semantic changes
move keyworduse statements may no longer be "chained" - they cannot import
identifiers imported by previous use statementsuse statements are crate relative, importing from the "top"
of the crate by default. Paths may be prefixed with super::
or self:: to change the search behavior.Libraries
std::bigintcore::oldcomm modulecore::comm modulecore::numvec::slice finally returns a slicedebug! and friends don't require a format string, e.g. debug!(Foo)core::containercore::dvec removed, ~[T] is a drop-in replacementcore::send_map renamed to core::hashmapstd::map removed; replaced with core::hashmapstd::treemap reimplemented as an owned balanced treestd::deque and std::smallintmap reimplemented as owned containerscore::trie added as a fast ordered map for integer keyscore::hashmap, core::trie and std::treemapOrd split into Ord and TotalOrd. Ord is still used to
overload the comparison operators, whereas TotalOrd is used
by certain container typesOther
rustc --test now supports benchmarks with the #[bench] attributeYour coding agent can read these notes before it upgrades. Set up the MCP server →
chore: Release dolly version 0.5.0
chore: Release dolly version 0.5.0
~900 changes, numerous bugfixes
Syntax changes
<- move operator#fmt extension syntax to fmt![T]/Nquote_tokens!, quote_expr!, etc.a.b() is always parsed as a method call, never as a field projectionEq and IterBytes implementations can be automatically generated
with #[deriving_eq] and #[deriving_iter_bytes] respectively.rc filesSemantic changes
& and ~ pointers may point to objectsstruct Foo(Bar, Baz). Will replace newtype enums.move explicitly&T may now be coerced to *Tlet statements as well as function callsuse statements now take crate-relative pathsImproved support for language features
self, &self
@self, and ~self all generally work as expectedLibraries
core::conditionstd::sortstd::priority_queuegetopts definitionsstdcore::comm renamed to oldcomm. Still deprecatedrustdoc and cargo are libraries nowMisc
rustichore: Release dolly version 0.4.3
chore: Release dolly version 0.4.3
chore: Release dolly version 0.4.2
chore: Release dolly version 0.4.2
chore: Release dolly version 0.4.1
chore: Release dolly version 0.4.1
(cargo-release) dolly version 0.4.0
(cargo-release) dolly version 0.4.0
~2000 changes, numerous bugfixes
Syntax
ret became return and alt became matchimport is now use; use is now extern mod`extern mod { ... } is now extern { ... }use mod is the recommended way to import modulespub and priv replace deprecated export listsmatch pattern arms now uses fat arrow (=>)main no longer accepts an args vector; use os::args insteadSemantics
Libraries
std::net::url for representing URLscore::send_mapConcurrency
core::pipesstd::arc, an atomically reference counted, immutable, shared memory
typestd::sync, various exotic synchronization tools based on arcs and pipesOther
(cargo-release) dolly version 0.3.2
(cargo-release) dolly version 0.3.2
(cargo-release) dolly version 0.3.1
(cargo-release) dolly version 0.3.1
~1900 changes, numerous bugfixes
~1900 changes, numerous bugfixes
New coding conveniences
Semantic cleanup
Experimental new language features
Type reflection
Removal of various obsolete features
Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind', 'crust', 'native' (now 'extern'), 'cont' (now 'again')
Constructs: do-while loops ('do' repurposed), fn binding, resources (replaced by destructors)
Compiler reorganization
New library code
Tool improvements
>1500 changes, numerous bugfixes
1500 changes, numerous bugfixes
New docs and doc tooling
New port: FreeBSD x86_64
Compilation model enhancements
Scheduling, stack and threading fixes
Experimental new language features
Various language extensions
New library code
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Most language features work, including:
Most language features work, including: * Unique pointers, unique closures, move semantics * Interface-constrained generics * Static interface dispatch * Stack growth * Multithread task scheduling * Typestate predicates * Failure unwinding, destructors * Pattern matching and destructuring assignment * Lightweight block-lambda syntax * Preliminary macro-by-example
Compiler works with the following configurations:
Cross compilation / multi-target configuration supported.
Preliminary API-documentation and package-management tools included.
Known issues:
Documentation is incomplete.
Performance is below intended target.
Standard library APIs are subject to extensive change, reorganization.
Language-level versioning is not yet operational - future code will break unexpectedly.
One column per quarter.