Skip to content

Commit 558b561

Browse files
committed
feat: init state, io and std handler
1 parent e920b2d commit 558b561

17 files changed

+1718
-0
lines changed

.github/workflows/tests.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
tests:
8+
uses: pimalaya/nix/.github/workflows/tests.yml@master
9+
secrets: inherit

.gitignore

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Cargo config directory
2+
.cargo/
3+
4+
# Cargo build directory
5+
target/
6+
debug/
7+
8+
# These are backup files generated by rustfmt
9+
**/*.rs.bk
10+
11+
# MSVC Windows builds of rustc generate these, which store debugging information
12+
*.pdb
13+
14+
# Nix build directory
15+
result
16+
result-*
17+
18+
# Direnv
19+
/.envrc
20+
/.direnv
21+
22+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
23+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
24+
.idea/
25+
26+
# IntelliJ
27+
out/
28+
29+
# mpeltonen/sbt-idea plugin
30+
.idea_modules/
31+
32+
# JIRA plugin
33+
atlassian-ide-plugin.xml
34+
35+
# Cursive Clojure plugin
36+
.idea/replstate.xml
37+
38+
# SonarLint plugin
39+
.idea/sonarlint/
40+
41+
# Crashlytics plugin (for Android Studio and IntelliJ)
42+
com_crashlytics_export_strings.xml
43+
crashlytics.properties
44+
crashlytics-build.properties
45+
fabric.properties
46+
47+
## Others
48+
.metadata/

CONTRIBUTING.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Contributing guide
2+
3+
Thank you for investing your time in contributing to the stream flows project.
4+
5+
## Development
6+
7+
The development environment is managed by [Nix](https://nixos.org/download.html).
8+
Running `nix-shell` will spawn a shell with everything you need to get started with the project.
9+
10+
If you do not want to use Nix, you can either use [rustup](https://rust-lang.github.io/rustup/index.html):
11+
12+
```text
13+
rustup update
14+
```
15+
16+
or install manually the following dependencies:
17+
18+
- [cargo](https://doc.rust-lang.org/cargo/)
19+
- [rustc](https://doc.rust-lang.org/stable/rustc/platform-support.html)
20+
21+
## Build
22+
23+
```
24+
cargo build
25+
```
26+
27+
You can disable [default features](https://doc.rust-lang.org/cargo/reference/features.html) with `--no-default-features` and enable features with `--features feat1,feat2,feat3`.
28+
29+
Finally, you can build a release with `--release`:
30+
31+
```
32+
cargo build --no-default-features --release
33+
```
34+
35+
## Commit style
36+
37+
Stream flows follow the [conventional commits specification](https://www.conventionalcommits.org/en/v1.0.0/#summary).

0 commit comments

Comments
 (0)