stoicdreams_timestamp: Developer Docs
Projects
stoicdreams_timestamp
A lightweight library that includes TimeStamp
, DateTime
, and Time
structs intended for simple date/time time stamping for database records - explicitely to use in SurrealDB
databases.
Getting Started
Install Required Dev Dependencies
Follow instructions here to install Rust for your system.
Make sure rust is up to date
rustup update
Install Rusts automatic formatting tool.
rustup component add rustfmt
Then you can run this command to apply formatting to your project.
cargo fmt
Install Rusts Clippy linting tool.
rustup component add clippy
Then you can run this command to find additional linting errors.
cargo clippy
Install Cargo Audit
cargo install cargo-audit
Then you can run this command to audit your rust projects.
cargo audit
Increment Versions after updates
If a major or minor release update is required, then first manually apply the version update to webui/Cargo.toml
, making sure to reset lower versions to 0.
Run this script to increment the patch version and apply the new version to any references / docs.
# From the workspace root folder
.\IncrementVersion.ps1
crates.io
Publish Latest Updates toFirst, commit any changes to Git.
Then, run the publish command from the stoicdreams_timestamp
folder to publish.
# From the webui folder
cargo publish
Other Resources
Author
Erik Gassler - Stoic Dreams - Forging solutions for tomorrow's software development.
Support - Visit Stoic Dreams' GitHub Sponsor page if you would like to provide support to Stoic Dreams.