#linked-list #linked

no-std linked-list

An alternative implementation of std::collections::LinkedList

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

#836 in Data structures

Download history 326/week @ 2025-02-01 329/week @ 2025-02-08 284/week @ 2025-02-15 324/week @ 2025-02-22 285/week @ 2025-03-01 291/week @ 2025-03-08 334/week @ 2025-03-15 281/week @ 2025-03-22 401/week @ 2025-03-29 277/week @ 2025-04-05 288/week @ 2025-04-12 578/week @ 2025-04-19 456/week @ 2025-04-26 355/week @ 2025-05-03 414/week @ 2025-05-10 177/week @ 2025-05-17

1,498 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

~0.3–0.9MB
~17K SLoC