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

#774 in Data structures

Download history 162/week @ 2024-09-24 165/week @ 2024-10-01 214/week @ 2024-10-08 774/week @ 2024-10-15 1150/week @ 2024-10-22 2351/week @ 2024-10-29 373/week @ 2024-11-05 194/week @ 2024-11-12 146/week @ 2024-11-19 285/week @ 2024-11-26 355/week @ 2024-12-03 318/week @ 2024-12-10 413/week @ 2024-12-17 72/week @ 2024-12-24 94/week @ 2024-12-31 253/week @ 2025-01-07

889 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