Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[OCoC]: https://github.com/bytecodealliance/cap-std/blob/main/ORG_CODE_OF_CONDUCT.md
[OCoC]: https://github.com/sunfishcode/cap-std/blob/main/ORG_CODE_OF_CONDUCT.md
[homepage]: https://www.contributor-covenant.org
[version]: https://www.contributor-covenant.org/version/1/4/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fuzzer which in a critical path may result in data loss.

For more details on our fuzzer, see [fuzz/README.md].

[fuzz/README.md]: https://github.com/bytecodealliance/cap-std/blob/main/fuzz/README.md
[fuzz/README.md]: https://github.com/sunfishcode/cap-std/blob/main/fuzz/README.md

## Benchmarking

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["std", "api", "network", "file"]
categories = ["filesystem", "network-programming"]
repository = "https://github.com/bytecodealliance/cap-std"
repository = "https://github.com/sunfishcode/cap-std"
edition = "2021"
publish = false
exclude = ["/.*"]
Expand Down
143 changes: 0 additions & 143 deletions ORG_CODE_OF_CONDUCT.md

This file was deleted.

21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
<strong>Capability-based version of the Rust standard library</strong>
</p>

<strong>A <a href="https://bytecodealliance.org/">Bytecode Alliance</a> project</strong>

<p>
<a href="https://github.com/bytecodealliance/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/bytecodealliance/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://bytecodealliance.zulipchat.com/#narrow/stream/217126-wasmtime"><img src="https://img.shields.io/badge/zulip-join_chat-brightgreen.svg" alt="zulip chat" /></a>
<a href="https://github.com/sunfishcode/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/sunfishcode/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
</p>
</div>

Expand Down Expand Up @@ -43,13 +40,13 @@ Linux.

[CWE-22]: https://cwe.mitre.org/data/definitions/22.html
[2021 CWE Top 25 Most Dangerous Software Weaknesses]: https://cwe.mitre.org/top25/archive/2021/2021_cwe_top25.html
[`cap-std`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-std/README.md
[`cap-directories`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-directories/README.md
[`cap-tempfile`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-tempfile/README.md
[`cap-fs-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-fs-ext/README.md
[`cap-time-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-time-ext/README.md
[`cap-rand`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-rand/README.md
[`cap-net-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-net-ext/README.md
[`cap-std`]: https://github.com/sunfishcode/cap-std/blob/main/cap-std/README.md
[`cap-directories`]: https://github.com/sunfishcode/cap-std/blob/main/cap-directories/README.md
[`cap-tempfile`]: https://github.com/sunfishcode/cap-std/blob/main/cap-tempfile/README.md
[`cap-fs-ext`]: https://github.com/sunfishcode/cap-std/blob/main/cap-fs-ext/README.md
[`cap-time-ext`]: https://github.com/sunfishcode/cap-std/blob/main/cap-time-ext/README.md
[`cap-rand`]: https://github.com/sunfishcode/cap-std/blob/main/cap-rand/README.md
[`cap-net-ext`]: https://github.com/sunfishcode/cap-std/blob/main/cap-net-ext/README.md
[`cap_std::fs`]: https://docs.rs/cap-std/latest/cap_std/fs/index.html
[standard application directories]: https://docs.rs/directories/
[temporary directories]: https://docs.rs/tempfile/
Expand Down Expand Up @@ -136,7 +133,7 @@ There are several examples of cap-std in use:
[this port of tide]: https://github.com/sunfishcode/tide/
[The diff]: https://github.com/sunfishcode/tide/commit/9b4c5449c6b3d1f0c78d8f6f44669905be5a7c78
[`Dir::open_ambient_dir`]: https://docs.rs/cap-std/latest/cap_std/fs/struct.Dir.html#method.open_ambient_dir
[`kv-cli` example]: https://github.com/bytecodealliance/cap-std/blob/main/examples/kv-cli.rs
[`kv-cli` example]: https://github.com/sunfishcode/cap-std/blob/main/examples/kv-cli.rs
[`WASI`]: https://github.com/WebAssembly/WASI/
[`Wasmtime`]: https://wasmtime.dev/

Expand Down
29 changes: 2 additions & 27 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,4 @@
# Security Policy

Building secure foundations for software development is at the core of what we do in the Bytecode Alliance. Contributions of external security researchers are a vital part of that.

## Scope

If you believe you've found a security issue in any website, service, or software owned or operated by the Bytecode Alliance, we encourage you to notify us.

## How to Submit a Report

To submit a vulnerability report to the Bytecode Alliance, please contact us at [security@bytecodealliance.org](mailto:security@bytecodealliance.org). Your submission will be reviewed and validated by a member of our security team.

## Safe Harbor

The Bytecode Alliance supports safe harbor for security researchers who:

* Make a good faith effort to avoid privacy violations, destruction of data, and interruption or degradation of our services.
* Only interact with accounts you own or with explicit permission of the account holder. If you do encounter Personally Identifiable Information (PII) contact us immediately, do not proceed with access, and immediately purge any local information.
* Provide us with a reasonable amount of time to resolve vulnerabilities prior to any disclosure to the public or a third-party.

We will consider activities conducted consistent with this policy to constitute "authorized" conduct and will not pursue civil action or initiate a complaint to law enforcement. We will help to the extent we can if legal action is initiated by a third party against you.

Please submit a report to us before engaging in conduct that may be inconsistent with or unaddressed by this policy.

## Preferences

* Please provide detailed reports with reproducible steps and a clearly defined impact.
* Submit one vulnerability per report.
* Social engineering (e.g. phishing, vishing, smishing) is prohibited.
Please use Github's private vulnerability reporting mechanism to report
security-sensitive bugs.
2 changes: 1 addition & 1 deletion cap-directories/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["app_dirs", "path", "folder", "xdg", "basedir"]
categories = ["filesystem"]
repository = "https://github.com/bytecodealliance/cap-std"
repository = "https://github.com/sunfishcode/cap-std"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cap-directories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

<p>
<a href="https://github.com/bytecodealliance/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/bytecodealliance/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://github.com/sunfishcode/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/sunfishcode/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://crates.io/crates/cap-directories"><img src="https://img.shields.io/crates/v/cap-directories.svg" alt="crates.io page" /></a>
<a href="https://docs.rs/cap-directories"><img src="https://docs.rs/cap-directories/badge.svg" alt="docs.rs docs" /></a>
</p>
Expand Down
4 changes: 2 additions & 2 deletions cap-directories/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#![deny(missing_docs)]
#![forbid(unsafe_code)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.svg"
html_logo_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.svg"
)]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
html_favicon_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.ico"
)]

use std::io;
Expand Down
2 changes: 1 addition & 1 deletion cap-fs-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["filesystem"]
categories = ["filesystem"]
repository = "https://github.com/bytecodealliance/cap-std"
repository = "https://github.com/sunfishcode/cap-std"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cap-fs-ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

<p>
<a href="https://github.com/bytecodealliance/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/bytecodealliance/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://github.com/sunfishcode/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/sunfishcode/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://crates.io/crates/cap-fs-ext"><img src="https://img.shields.io/crates/v/cap-fs-ext.svg" alt="crates.io page" /></a>
<a href="https://docs.rs/cap-fs-ext"><img src="https://docs.rs/cap-fs-ext/badge.svg" alt="docs.rs docs" /></a>
</p>
Expand Down
4 changes: 2 additions & 2 deletions cap-fs-ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#![forbid(unsafe_code)]
#![cfg_attr(all(windows, windows_by_handle), feature(windows_by_handle))]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.svg"
html_logo_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.svg"
)]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
html_favicon_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.ico"
)]

mod dir_entry_ext;
Expand Down
2 changes: 1 addition & 1 deletion cap-net-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["filesystem"]
categories = ["filesystem"]
repository = "https://github.com/bytecodealliance/cap-std"
repository = "https://github.com/sunfishcode/cap-std"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cap-net-ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

<p>
<a href="https://github.com/bytecodealliance/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/bytecodealliance/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://github.com/sunfishcode/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/sunfishcode/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://crates.io/crates/cap-net-ext"><img src="https://img.shields.io/crates/v/cap-net-ext.svg" alt="crates.io page" /></a>
<a href="https://docs.rs/cap-net-ext"><img src="https://docs.rs/cap-net-ext/badge.svg" alt="docs.rs docs" /></a>
</p>
Expand Down
4 changes: 2 additions & 2 deletions cap-net-ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
#![deny(missing_docs)]
#![forbid(unsafe_code)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.svg"
html_logo_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.svg"
)]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/bytecodealliance/cap-std/main/media/cap-std.ico"
html_favicon_url = "https://raw.githubusercontent.com/sunfishcode/cap-std/main/media/cap-std.ico"
)]

use cap_primitives::net::no_socket_addrs;
Expand Down
2 changes: 1 addition & 1 deletion cap-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["api", "network", "file"]
categories = ["filesystem", "network-programming"]
repository = "https://github.com/bytecodealliance/cap-std"
repository = "https://github.com/sunfishcode/cap-std"
edition = "2021"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions cap-primitives/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

<p>
<a href="https://github.com/bytecodealliance/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/bytecodealliance/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://github.com/sunfishcode/cap-std/actions?query=workflow%3ACI"><img src="https://github.com/sunfishcode/cap-std/workflows/CI/badge.svg" alt="Github Actions CI Status" /></a>
<a href="https://crates.io/crates/cap-primitives"><img src="https://img.shields.io/crates/v/cap-primitives.svg" alt="crates.io page" /></a>
<a href="https://docs.rs/cap-primitives"><img src="https://docs.rs/cap-primitives/badge.svg" alt="docs.rs docs" /></a>
</p>
Expand All @@ -20,7 +20,7 @@ The filesystem module [`cap_primitives::fs`], the networking module
support Linux, macOS, FreeBSD, and Windows. WASI support is in development,
though not yet usable.

[`cap-std`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-std/README.md
[`cap-std`]: https://github.com/sunfishcode/cap-std/blob/main/cap-std/README.md
[`cap_primitives::fs`]: https://docs.rs/cap-primitives/latest/cap_primitives/fs/index.html
[`cap_primitives::net`]: https://docs.rs/cap-primitives/latest/cap_primitives/net/index.html
[`cap_primitives::time`]: https://docs.rs/cap-primitives/latest/cap_primitives/time/index.html
Loading
Loading