Crates.io | sparkles-core |
lib.rs | sparkles-core |
version | 0.1.4 |
source | src |
created_at | 2024-09-08 23:41:51.556108 |
updated_at | 2024-09-28 18:04:26.263434 |
description | Core crate for sparkles |
homepage | |
repository | https://github.com/skibon02/sparkles |
max_upload_size | |
id | 1368623 |
size | 21,417 |
Core crate for sparkles
no_std
supportBare-metal systems are supported. Alloc is required.
Sparkles prefer to use timestamp directly from your CPU, so different timestamp providers are supported
accurate-timestamps-x86
(overhead is additional ~10ns)Instant::now
, which is slower, but should be supported by any other std environment.cortex-m
. Comes with additional init()
method to enable cycle counter peripheral.The appropriate implementation is selected at compile time depending on architecture and features.