John S Wrenn

@jswrenn

Joined on Jan 31, 2017

  • Itertools is a Rust crate that extends Rust's Iterators with more than 100 additional methods. The crate is both one of Rust's oldest (in development since Jul 28, 2014), most depended upon (~4,300 direct dependants), and most downloaded (115+ million downloads). The Itertools mission is two-fold: to make the experience of working with iterators more pleasant to serve as a laboratory for future improvements to Rust's standard library Iterator trait This document addresses a persistent name-conflict issue between Itertools and the Rust standard library that undermines this mission. Technical Context
     Like  Bookmark
  • Goal Our goal is to develop a mechanism for inspecting the tree of pending futures from its root (i.e., a task); e.g.: ╼ taskdump::foo at backtrace/examples/taskdump.rs:20:1 └╼ taskdump::bar at backtrace/examples/taskdump.rs:25:1 └╼ join at backtrace/examples/taskdump.rs:26:4 ├╼ taskdump::buz at backtrace/examples/taskdump.rs:35:1 │ └╼ taskdump::baz at backtrace/examples/taskdump.rs:40:1 │ └╼ tokio::sleep(10s) at backtrace/examples/taskdump.rs:42:4 └╼ taskdump::fiz at backtrace/examples/taskdump.rs:30:1
     Like 1 Bookmark