./lang/rust, Safe, concurrent, practical language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q4, Version: 1.23.0, Package name: rust-1.23.0, Maintainer: pkgsrc-users

Rust is a systems programming language focused on three goals: safety,
speed, and concurrency. It maintains these goals without having a
garbage collector, making it a useful language for a number of use cases
other languages aren't good at: embedding in other languages, programs
with specific space and time requirements, and writing low-level code,
like device drivers and operating systems.

It improves on current languages targeting this space by having a number
of compile-time safety checks that produce no runtime overhead, while
eliminating all data races. Rust also aims to achieve "zero-cost
abstractions" even though some of these abstractions feel like those of
a high-level language. Even then, Rust still allows precise control
like a low-level language would.


Required to run:
[devel/libgit2] [lang/python27] [security/libssh2] [www/curl] [www/http-parser]

Required to build:
[devel/cmake] [pkgtools/cwrappers]

Master sites:

SHA1: e21a85ecdc9adbb2b3cbe0f07282e6e59bc50ef1
RMD160: f8dc31e9fbe1e2071d2307be5a38c73da8a637ee
Filesize: 58603.661 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-28 19:24:02 by Benny Siegert | Files touched by this commit (4) | Package updated
Log message:
Pullup ticket #5694 - requested by he
lang/rust: dependent update (for www/firefox)

Revisions pulled up:
- lang/rust/Makefile                                            1.26-1.28
- lang/rust/distinfo                                            1.15-1.17
- lang/rust/patches/patch-src_bootstrap_bin_rustc.rs            1.2
- lang/rust/patches/patch-src_bootstrap_lib.rs                  1.2
- lang/rust/patches/patch-src_vendor_filetime_.cargo-checksum.json deleted
- lang/rust/patches/patch-src_vendor_filetime_src_unix.rs       deleted

---
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Thu Jan  4 15:18:51 UTC 2018

   Modified Files:
   	pkgsrc/lang/rust: Makefile distinfo
   Added Files:
   	pkgsrc/lang/rust/patches:
   	    patch-src_vendor_filetime_.cargo-checksum.json
   	    patch-src_vendor_filetime_src_unix.rs

   Log message:
   rust: Restore SunOS support.

---
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Mon Jan  8 09:33:58 UTC 2018

   Modified Files:
   	pkgsrc/lang/rust: Makefile distinfo
   	pkgsrc/lang/rust/patches: patch-src_bootstrap_bin_rustc.rs
   	    patch-src_bootstrap_lib.rs
   Removed Files:
   	pkgsrc/lang/rust/patches:
   	    patch-src_vendor_filetime_.cargo-checksum.json
   	    patch-src_vendor_filetime_src_unix.rs

   Log message:
   Update to 1.23.0

   * Disable Solaris/SunOS suppprt for a while

   Changelog:
   # What's in 1.23.0 stable

   New year, new Rust! For our first improvement today, we now avoid
   some unnecessary copies in certain situations. We've seen memory
   usage of using rustc to drop 5-10% with this change; it may be
   different with your programs.

   The documentation team has been on a long journey to move rustdoc
   to use CommonMark. Previously, rustdoc never guaranteed which
   markdown rendering engine it used, but we're finally committing to
   CommonMark. As part of this release, we render the documentation
   with our previous renderer, Hoedown, but also render it with a
   CommonMark compliant renderer, and warn if there are any differences.
   There should be a way for you to modify the syntax you use to render
   correctly under both; we're not aware of any situations where this
   is impossible. Docs team member Guillaume Gomez has written a blog
   post showing some common differences and how to solve them. In a
   future release, we will switch to using the CommonMark renderer by
   default. This warning landed in nightly in May of last year, and
   has been on by default since October of last year, so many crates
   have already fixed any issues that they've found.

   In other documentation news, historically, Cargo's docs have been
   a bit strange. Rather than being on doc.rust-lang.org, they've been
   at doc.crates.io. With this release, that's changing. You can now
   find Cargo's docs at doc.rust-lang.org/cargo. Additionally, they've
   been converted to the same format as our other long-form documentation.
   We'll be adding a redirect from doc.crates.io to this page, and
   you can expect to see more improvements and updates to Cargo's docs
   throughout the year.

   See the detailed release notes for more.

   ## Library stabilizations

   As of Rust 1.0, a trait named AsciiExt existed to provide ASCII
   related functionality on u8, char, [u8], and str. To use it, you'd
   write code like this:

   use std::ascii::AsciiExt;

   let ascii = 'a';
   let non_ascii = '❤';
   let int_ascii = 97;

   assert!(ascii.is_ascii());
   assert!(!non_ascii.is_ascii());
   assert!(int_ascii.is_ascii());

   In Rust 1.23, these methods are now defined directly on those types,
   and so you no longer need to import the trait. Thanks to our
   stability guarantees, this trait still exists, so if you'd like to
   still support Rust versions before Rust 1.23, you can do this:

   #[allow(unused_imports)]
   use std::ascii::AsciiExt;

   ...to suppress the related warning. Once you drop support for older
   Rusts, you can remove both lines, and everything will continue to
   work.

   Additionally, a few new APIs were stabilized this release:

       The various std::sync::atomic types now implement From their
       non-atomic types. For example, let x = AtomicBool::from(true);.
       () now implements FromIterator<()>; check the PR for a neat
       use-case.  RwLock<T> has had its Send restriction lifted

   See the detailed release notes for more.

   ## Cargo features

   cargo check can now check your unit tests.

   cargo uninstall can now uninstall more than one package in one
   command.

---
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Tue Jan  9 11:47:33 UTC 2018

   Modified Files:
   	pkgsrc/lang/rust: Makefile distinfo

   Log message:
   Enable SunOS/Solaris support

   However SunOS build fails with internal libtool.