mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-17 08:18:01 +00:00
b6c4adc83a
Implements P2P Bucket data structure This commit implements a "Bucket" data structure that is a collection of data that discriminates its items into "buckets" (vector of size N) following a defined function. - Implements Bucket data structure and Bucketable trait - Implements Bucketable for Ipv4Addr - Added the crate to the workspace dependencies - Added arrayvec as a dependency
13 lines
253 B
TOML
13 lines
253 B
TOML
[package]
|
|
name = "cuprate-p2p-bucket"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["SyntheticBird"]
|
|
|
|
[dependencies]
|
|
arrayvec = { workspace = true }
|
|
rand = { workspace = true, features = ["std", "std_rng"]}
|
|
|
|
[lints]
|
|
workspace = true
|