Skip to content

Commit 377d1e5

Browse files
authored
Tweaks in accordance with user experience (#2)
1 parent f97b494 commit 377d1e5

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.github/workflows/linter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ jobs:
2121

2222
- name: Check typos
2323
uses: crate-ci/typos@master
24-

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Rust/Cargo
66
debug/
77
target/
8+
# TODO(template) Cargo.lock should be tracked in binary crates, but not in libraries
89
Cargo.lock
910

1011
# MSVC Windows builds of rustc generate these, which store debugging information

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44
members = ["examples", "mycrate"]
55
resolver = "2"
66
default-members = ["mycrate"]
7+
78
[workspace.package]
89
version = "0.1.0"
910
edition = "2021"
1011
# TODO(template) update for your repository
1112
repository = "https://github.com/NethermindEth/rust-template"
1213
license = "Apache-2.0" # TODO(template) update license if needed
14+
publish = false
1315

1416
[workspace.dependencies]
1517

_typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[default]
2+
extend-ignore-re = [
3+
"0x[0-9a-fA-F]+", # Hexadecimal numbers
4+
]
5+

deny.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ db-path = "~/.cargo/advisory-db"
2424
db-urls = ["https://github.com/rustsec/advisory-db"]
2525
yanked = "deny"
2626
ignore = []
27+
unmaintained = "workspace"
2728

2829
[licenses]
2930
allow = [
31+
"0BSD",
3032
"MIT",
3133
"Apache-2.0",
3234
"BSD-3-Clause",
@@ -35,6 +37,7 @@ allow = [
3537
"CC-BY-2.0",
3638
"CC-BY-3.0",
3739
"CC-BY-4.0",
40+
"CC0-1.0",
3841
"ISC",
3942
"OpenSSL",
4043
"Unicode-3.0",
@@ -49,9 +52,9 @@ ignore = false
4952
registries = []
5053

5154
[bans]
55+
wildcards = "deny"
5256
allow-wildcard-paths = true
5357
multiple-versions = "warn"
54-
wildcards = "deny"
5558
highlight = "all"
5659

5760
[bans.workspace-dependencies]
@@ -65,6 +68,6 @@ unknown-git = "deny"
6568
allow-git = []
6669

6770
[sources.allow-org]
68-
github = []
71+
github = ["NethermindEth"]
6972
gitlab = []
70-
bitbucket = []
73+
bitbucket = []

rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "stable"
3+
components = ["rustfmt", "clippy"]

0 commit comments

Comments
 (0)