docs.rs failed to build tiltflake-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
tiltflake-0.3.0
🧩 Installation
Add the following to your Cargo.toml file:
[]
= { = "*", = ["serde"]}
📖 Usage
Generate a Snowflake ID with a UNIX epoch
use Tiltflake;
use Error;
Generate a Snowflake ID with a custom epoch
use ;
use ;
Generate a Snowflake ID with a custom Discord epoch
use ;
use Error;
See all examples in the examples folder.
🤝 Contributing
Contributions are what make the open source community an amazing place to learn, be inspired, and create. Any contributions you make are greatly appreciated.
- Fork the repository
- Clone your fork
git clone https://github.com/t1ltxz-gxd/tiltflake.git - Create your feature branch
git checkout -b feat-smth-amazing - Stage changes
git add . - Commit your changes
git commit -m 'feat: add some amazing feature'- Use Conventional Commits for commit messages.
- Use
fix,feat,docs,style,refactor,perf,test,choreprefixes. - Use the present tense ("add feature" not "added feature").
- Use the imperative mood ("move cursor to..." not "moves cursor to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally after the first line.
- Push to the branch
git push origin feat-smth-amazing - Submit a pull request
❤️ Credits
Released with ❤️ by Tilt.
