Skip to content

Commit f2c51a8

Browse files
committed
build: nixify
1 parent c5ce3c1 commit f2c51a8

File tree

21 files changed

+237
-101
lines changed

21 files changed

+237
-101
lines changed

Diff for: .cspell.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: "0.2"
2+
words:
3+
- actix
4+
- addrs
5+
- apalis
6+
- askama
7+
- autoclean
8+
- autoreload
9+
- binstall
10+
- casbin
11+
- chrono
12+
- clippy
13+
- deadpool
14+
- dotenv
15+
- dotenvy
16+
- graphiql
17+
- mainmatter
18+
- minijinja
19+
- nixpkgs
20+
- nocapture
21+
- oneshot
22+
- opentelemetry
23+
- pemfile
24+
- pkgs
25+
- prost
26+
- protobuf
27+
- ractor
28+
- reqwest
29+
- rustls
30+
- rustup
31+
- serde
32+
- sparklepost
33+
- sparkpost
34+
- sqlx
35+
- taplo
36+
- tera
37+
- tmpl
38+
- webpki
39+
- websockets

Diff for: .envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
# intellij files
1414
**/.idea/**
1515

16+
# direnv
17+
/.direnv/
18+
1619
.history/
1720

1821
# For multipart example

Diff for: .taplo.toml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
exclude = ["target/*"]
2+
include = ["**/*.toml"]
3+
4+
[formatting]
5+
column_width = 100
6+
7+
[[rule]]
8+
include = ["**/Cargo.toml"]
9+
keys = ["dependencies", "*-dependencies"]
10+
11+
[rule.formatting]
12+
reorder_keys = true
13+
14+
[[rule]]
15+
include = ["**/Cargo.toml"]
16+
keys = ["dependencies.*", "*-dependencies.*"]
17+
18+
[rule.formatting]
19+
reorder_keys = false

Diff for: .vscode/settings.json

-38
This file was deleted.

Diff for: Cargo.lock

+57-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ members = [
6969
"websockets/echo-actorless",
7070
"websockets/echo",
7171
]
72-
exclude = [
73-
"databases/sqlite",
74-
]
72+
exclude = ["databases/sqlite"]
7573

7674
[workspace.package]
7775
publish = false

Diff for: auth/cookie-auth/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ edition.workspace = true
44
rust-version.workspace = true
55

66
[dependencies]
7-
actix-web.workspace = true
87
actix-identity.workspace = true
98
actix-session = { workspace = true, features = ["cookie-session"] }
9+
actix-web.workspace = true
1010

1111
env_logger.workspace = true
1212
log.workspace = true

Diff for: auth/redis-session/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ edition.workspace = true
44
rust-version.workspace = true
55

66
[dependencies]
7-
actix-web.workspace = true
87
actix-session = { workspace = true, features = ["redis-session"] }
8+
actix-web.workspace = true
99

1010
env_logger.workspace = true
1111
log.workspace = true

Diff for: databases/diesel-async/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "db-diesel-async"
3-
version = "1.0.0"
4-
edition = "2021"
3+
edition.workspace = true
4+
rust-version.workspace = true
55

66
[features]
77
postgres_tests = []
88

99
[dependencies]
10-
actix-web.workspace = true
10+
actix-web = { workspace = true }
1111
diesel = { version = "2", default-features = false, features = ["uuid"] }
1212
diesel-async = { version = "0.5", features = ["postgres", "bb8", "async-connection-wrapper"] }
13-
serde.workspace = true
14-
uuid.workspace = true
15-
dotenvy.workspace = true
16-
env_logger.workspace = true
17-
log.workspace = true
13+
dotenvy = { workspace = true }
14+
env_logger = { workspace = true }
15+
log = { workspace = true }
16+
serde = { workspace = true }
17+
uuid = { workspace = true }

0 commit comments

Comments
 (0)