Skip to content

Commit 61d8e6a

Browse files
chore: copy missing files
1 parent d52df5f commit 61d8e6a

7 files changed

+144
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023
1+
Copyright 2023 N0, INC.
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

Makefile.toml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Use cargo-make to run tasks here: https://crates.io/crates/cargo-make
2+
3+
[tasks.format]
4+
workspace = false
5+
command = "cargo"
6+
args = [
7+
"fmt",
8+
"--all",
9+
"--",
10+
"--config",
11+
"unstable_features=true",
12+
"--config",
13+
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true",
14+
]
15+
16+
[tasks.format-check]
17+
workspace = false
18+
command = "cargo"
19+
args = [
20+
"fmt",
21+
"--all",
22+
"--check",
23+
"--",
24+
"--config",
25+
"unstable_features=true",
26+
"--config",
27+
"imports_granularity=Crate,group_imports=StdExternalCrate,reorder_imports=true",
28+
]

cliff.toml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[changelog]
2+
# changelog header
3+
header = """
4+
# Changelog\n
5+
All notable changes to iroh will be documented in this file.\n
6+
"""
7+
8+
body = """
9+
{% if version %}\
10+
{% if previous.version %}\
11+
## [{{ version | trim_start_matches(pat="v") }}](<REPO>/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
12+
{% else %}\
13+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
14+
{% endif %}\
15+
{% else %}\
16+
## [unreleased]
17+
{% endif %}\
18+
19+
{% macro commit(commit) -%}
20+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}\
21+
{{ commit.message | upper_first }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }}))\
22+
{% endmacro -%}
23+
24+
{% for group, commits in commits | group_by(attribute="group") %}
25+
### {{ group | striptags | trim | upper_first }}
26+
{% for commit in commits
27+
| filter(attribute="scope")
28+
| sort(attribute="scope") %}
29+
{{ self::commit(commit=commit) }}
30+
{%- endfor -%}
31+
{% raw %}\n{% endraw %}\
32+
{%- for commit in commits %}
33+
{%- if not commit.scope -%}
34+
{{ self::commit(commit=commit) }}
35+
{% endif -%}
36+
{% endfor -%}
37+
{% endfor %}\n
38+
"""
39+
40+
footer = ""
41+
postprocessors = [
42+
{ pattern = '<REPO>', replace = "https://github.com/n0-computer/iroh" },
43+
{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/n0-computer/iroh/issues/${1}))"}
44+
]
45+
46+
47+
[git]
48+
# regex for parsing and grouping commits
49+
commit_parsers = [
50+
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
51+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
52+
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
53+
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
54+
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
55+
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
56+
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
57+
{ message = "^chore\\(release\\)", skip = true },
58+
{ message = "^chore\\(deps\\)", skip = true },
59+
{ message = "^chore\\(pr\\)", skip = true },
60+
{ message = "^chore\\(pull\\)", skip = true },
61+
{ message = "^chore|ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
62+
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
63+
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
64+
]

code_of_conduct.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Code of Conduct
2+
3+
Online or off, Number Zero is a harassment-free environment for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, age or religion or technical skill level. We do not tolerate harassment of participants in any form.
4+
5+
Harassment includes verbal comments that reinforce social structures of domination related to gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, age, religion, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention. Participants asked to stop any harassing behavior are expected to comply immediately.
6+
7+
If a participant engages in harassing behaviour, the organizers may take any action they deem appropriate, including warning the offender or expulsion from events and online forums.
8+
9+
If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of the organizing team immediately.
10+
11+
At offline events, organizers will identify themselves, and will help participants contact venue security or local law enforcement, provide escorts, or otherwise assist those experiencing harassment to feel safe for the duration of the event. We value your participation!
12+
13+
This document is based on a similar code from [EDGI](https://envirodatagov.org/) and [Civic Tech Toronto](http://civictech.ca/about-us/), itself derived from the [Recurse Center’s Social Rules](https://www.recurse.com/manual#sec-environment), and the [anti-harassment policy from the Geek Feminism Wiki](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).

deny.toml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[bans]
2+
multiple-versions = "allow"
3+
deny = [
4+
"aws-lc",
5+
"aws-lc-rs",
6+
"aws-lc-sys",
7+
"native-tls",
8+
"openssl",
9+
]
10+
11+
[licenses]
12+
allow = [
13+
"Apache-2.0",
14+
"Apache-2.0 WITH LLVM-exception",
15+
"BSD-2-Clause",
16+
"BSD-3-Clause",
17+
"BSL-1.0", # BOSL license
18+
"ISC",
19+
"MIT",
20+
"OpenSSL",
21+
"Unicode-DFS-2016",
22+
"Zlib",
23+
"MPL-2.0", # https://fossa.com/blog/open-source-software-licenses-101-mozilla-public-license-2-0/
24+
]
25+
26+
[[licenses.clarify]]
27+
name = "ring"
28+
expression = "MIT AND ISC AND OpenSSL"
29+
license-files = [
30+
{ path = "LICENSE", hash = 0xbd0eed23 },
31+
]
32+
33+
[advisories]
34+
ignore = [
35+
"RUSTSEC-2024-0370", # unmaintained, no upgrade available
36+
]

release.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tag-prefix = ""

0 commit comments

Comments
 (0)