dyn_list

Crates.iodyn_list
lib.rsdyn_list
version
sourcesrc
created_at2024-12-13 00:14:21.529978
updated_at2024-12-13 00:14:21.529978
descriptionA linked list that can hold dynamically sized values in its nodes.
homepagehttps://github.com/tomBoddaert/dyn_list
repositoryhttps://github.com/tomBoddaert/dyn_list
max_upload_size
id1481766
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(tomBoddaert)

documentation

README

DynList

A linked list that can have dynamically sized types in their nodes.

use core::fmt::Debug;
use dyn_list::DynList;

let mut list = DynList::<dyn Debug>::new();

list.push_back_unsize("Hello, World");
list.push_back_unsize(0);
list.push_back_unsize([1, 2, 3, 4]);

println!("{list:?}");

This crate currently only works on the nightly channel.

TODO

This library is still in development and breaking changes may occur.

  • Comment unsafe blocks.
  • Add tests.

License

DynList is dual-licensed under either the Apache License Version 2.0 or MIT license at your option.

Commit count: 3

cargo fmt