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

#784 in Data structures

Download history 2193/week @ 2024-10-27 824/week @ 2024-11-03 227/week @ 2024-11-10 138/week @ 2024-11-17 164/week @ 2024-11-24 458/week @ 2024-12-01 286/week @ 2024-12-08 481/week @ 2024-12-15 93/week @ 2024-12-22 62/week @ 2024-12-29 276/week @ 2025-01-05 365/week @ 2025-01-12 298/week @ 2025-01-19 284/week @ 2025-01-26 339/week @ 2025-02-02 307/week @ 2025-02-09

1,231 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–720KB
~13K SLoC