#cursor #linked #collection #featuring #list #serialization

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

#632 in Data structures

Download history 148/week @ 2024-11-18 171/week @ 2024-11-25 445/week @ 2024-12-02 313/week @ 2024-12-09 444/week @ 2024-12-16 89/week @ 2024-12-23 81/week @ 2024-12-30 285/week @ 2025-01-06 356/week @ 2025-01-13 370/week @ 2025-01-20 199/week @ 2025-01-27 351/week @ 2025-02-03 330/week @ 2025-02-10 285/week @ 2025-02-17 309/week @ 2025-02-24 251/week @ 2025-03-03

1,197 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.2–0.9MB
~17K SLoC