Skip to content

Commit 3562ccf

Browse files
authored
Prepare to transfer this repository to the bytecodealliance github org (#72)
* add CODE_OF_CONDUCT and CONTRIBUTING guides CoC is directly from wasmtime. Contributing suggests zulip, and the bug tracker * README: add Bytecode Alliance project declaration * add clippy to CI * add ADOPTERS.md * reduce licenses offered to just Apache-2.0 WITH LLVM-exception
1 parent 90bb588 commit 3562ccf

File tree

8 files changed

+100
-214
lines changed

8 files changed

+100
-214
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- uses: actions-rs/toolchain@v1
6060
with:
6161
toolchain: nightly
62+
target: wasm32-wasip2
6263
components: rustfmt, clippy
6364
override: true
6465

@@ -67,3 +68,6 @@ jobs:
6768

6869
- name: Docs
6970
run: cargo doc
71+
72+
- name: Clippy
73+
run: cargo clippy --all

ADOPTERS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Wstd adopters
2+
3+
_If you are using wstd in your project, please add your project to this list.
4+
The list is in alphabetical order._
5+
6+
* Bytecode Alliance's [sample-wasi-http-rust] template
7+
8+
[sample-wasi-http-rust]: https://github.com/bytecodealliance/sample-wasi-http-rust

CODE_OF_CONDUCT.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
*Note*: this Code of Conduct pertains to individuals' behavior. Please also see the [Organizational Code of Conduct][OCoC]. Additionally, individuals must also adhere to the [Bytecode Alliance Code of Conduct][BACoC].
4+
5+
## Our Pledge
6+
7+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to creating a positive environment include:
12+
13+
* Using welcoming and inclusive language
14+
* Being respectful of differing viewpoints and experiences
15+
* Gracefully accepting constructive criticism
16+
* Focusing on what is best for the community
17+
* Showing empathy towards other community members
18+
19+
Examples of unacceptable behavior by participants include:
20+
21+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
22+
* Trolling, insulting/derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
26+
27+
## Our Responsibilities
28+
29+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
30+
31+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
32+
33+
## Scope
34+
35+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
36+
37+
## Enforcement
38+
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the Bytecode Alliance CoC team at [[email protected]](mailto:[email protected]). The CoC team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The CoC team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
40+
41+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the Bytecode Alliance's leadership.
42+
43+
## Attribution
44+
45+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
46+
47+
[OCoC]: https://github.com/bytecodealliance/wasmtime/blob/main/ORG_CODE_OF_CONDUCT.md
48+
[BACoC]: https://github.com/bytecodealliance/governance/blob/main/CODE_OF_CONDUCT.md
49+
[homepage]: https://www.contributor-covenant.org
50+
[version]: https://www.contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing to wstd
2+
3+
Wstd is a [Bytecode Alliance] project. It follows the Bytecode Alliance's
4+
[Code of Conduct] and [Organizational Code of Conduct].
5+
6+
[Bytecode Alliance]: https://bytecodealliance.org/
7+
[Code of Conduct]: CODE_OF_CONDUCT.md
8+
[Organizational Code of Conduct]: ORG_CODE_OF_CONDUCT.md
9+
10+
## File an Issue
11+
12+
Please [file an issue] to report bugs in wstd. Please provide the smallest
13+
reasonable context to reproduce your bug. If you cannot share the context of
14+
your bug, you may still open a bug, but we may end up needing to close it if
15+
you can't provide a way to reproduce.
16+
17+
Please [file an issue] if the [rust docs] or [examples] are incomplete, ambigious,
18+
misleading, or incorrect.
19+
20+
Before creating a nontrivial PR to wstd, we suggest you first [file an issue]
21+
to propose and discuss the change.
22+
23+
[file an issue]: https://github.com/yoshuawuyts/wstd/issues
24+
[rust docs]: https://docs.rs/wstd/latest/wstd
25+
[examples]: https://github.com/yoshuawuyts/wstd/tree/main/examples
26+
27+
## Join Our Chat
28+
29+
We chat about wstd development on the Bytecode Alliance Zulip -- [join us!][zulip]. You
30+
can also join the [wstd stream] directly.
31+
32+
[zulip]: https://bytecodealliance.zulipchat.com/
33+
[wstd stream]: https://bytecodealliance.zulipchat.com/#narrow/channel/514491-wstd

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ resolver = "2"
4747
[workspace.package]
4848
version = "0.5.3"
4949
edition = "2021"
50-
license = "MIT OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"
50+
license = "Apache-2.0 WITH LLVM-exception"
5151
repository = "https://github.com/yoshuawuyts/wstd"
5252
keywords = ["WebAssembly", "async", "stdlib", "Components"]
5353
categories = ["wasm", "asynchronous"]

LICENSE-APACHE

Lines changed: 0 additions & 190 deletions
This file was deleted.

LICENSE-MIT

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
</strong>
66
</div>
77

8+
<strong>A <a href="https://bytecodealliance.org/">Bytecode Alliance</a> project</strong>
9+
810
<br />
911

1012
<div align="center">
@@ -98,8 +100,8 @@ look at some of these issues:
98100
## License
99101

100102
<sup>
101-
Licensed under either of <a href="LICENSE-APACHE">Apache License, Version
102-
2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option.
103+
Licensed under <a href="LICENSE-Apache-2.0_WITH_LLVM-exception">Apache
104+
License, Version 2.0 with LLVM Exception</a>.
103105
</sup>
104106

105107
<br/>

0 commit comments

Comments
 (0)