4 releases

0.1.0 Dec 2, 2024
0.0.3 Jun 4, 2015
0.0.2 Mar 26, 2015
0.0.1 Mar 18, 2015

#795 in Data structures

Download history 300/week @ 2024-08-26 269/week @ 2024-09-02 277/week @ 2024-09-09 157/week @ 2024-09-16 162/week @ 2024-09-23 166/week @ 2024-09-30 173/week @ 2024-10-07 736/week @ 2024-10-14 958/week @ 2024-10-21 2127/week @ 2024-10-28 819/week @ 2024-11-04 236/week @ 2024-11-11 148/week @ 2024-11-18 171/week @ 2024-11-25 445/week @ 2024-12-02 322/week @ 2024-12-09

1,100 downloads per month
Used in 10 crates (6 directly)

MIT/Apache

58KB
1.5K SLoC

linked-list

A simple linked list.

crates.io Documentation Rust CI Minimum Supported Rustc Version

Dependency Status Download Status

Usage

Add this to your Cargo.toml:

[dependencies]
linked-list = "0.1"

Since Rust 2018, extern crate is no longer mandatory. If your edition is old (Rust 2015), add this to your crate root:

extern crate linked_list;

If you want serde support, include the feature like this:

[dependencies]
linked-list = { version = "0.1", features = ["serde"] }

If you want borsh-rs support, include it like this:

[dependencies]
linked-list = { version = "0.1", features = ["borsh"] }

Other available serialization libraries can be enabled with the miniserde and nanoserde features.

Description

An alternative implementation of standard LinkedList featuring a prototype Cursor.

License

Dual-licensed for compatibility with the Rust project.

Licensed under the Apache License Version 2.0: http://www.apache.org/licenses/LICENSE-2.0, or the MIT license: http://opensource.org/licenses/MIT, at your option.

Dependencies

~245–730KB
~13K SLoC