Skip to content

Commit f1dd449

Browse files
committed
misc: document 3scale fork of proxy-wasm-rust-sdk
This explains why we are maintaining this fork for the time being. Signed-off-by: Alejandro Martinez Ruiz <[email protected]>
1 parent 2a83c60 commit f1dd449

File tree

3 files changed

+40
-35
lines changed

3 files changed

+40
-35
lines changed

CHANGELOG.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
# Changelog
22

3-
## [0.1.2] - 2020-08-05
3+
## [0.1.0] - 2020-11-05
44

5-
- Updated MapType values to match updated Proxy-Wasm ABI v0.1.0.
5+
- Initial fork (based off [d159da4]) + patches of upstream proxy-wasm-rust-sdk.
6+
Note that there are breaking changes so the API is not fully compatible with
7+
upstream, although it's still close enough.
68

7-
## [0.1.1] - 2020-08-05
89

9-
- Added support for building with Bazel.
10-
- Added support for setting HTTP bodies.
11-
12-
## [0.1.0] - 2020-02-29
13-
14-
- Initial release.
15-
16-
17-
[0.1.2]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/releases/tag/v0.1.2
18-
[0.1.1]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/releases/tag/v0.1.1
19-
[0.1.0]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/releases/tag/v0.1.0
10+
[d159da4]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/tree/d159da45dd67994db6d1f879283a4a968a8f4831
11+
[0.1.0]: https://github.com/3scale/proxy-wasm-rust-sdk/releases/tag/v0.1.0

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "proxy-wasm"
3-
version = "0.1.2"
4-
authors = ["Piotr Sikora <[email protected]>"]
5-
description = "WebAssembly for Proxies"
2+
name = "proxy-wasm-3scale"
3+
version = "0.1.0"
4+
authors = ["Piotr Sikora <[email protected]>", "Alex Martinez Ruiz <[email protected]>"]
5+
description = "WebAssembly for Proxies - 3scale version"
66
readme = "README.md"
77
license = "Apache-2.0"
8-
repository = "https://github.com/proxy-wasm/proxy-wasm-rust-sdk"
8+
repository = "https://github.com/3scale/proxy-wasm-rust-sdk"
99
edition = "2018"
1010

1111
[features]

README.md

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1-
# WebAssembly for Proxies (Rust SDK)
2-
3-
[![Build Status][build-badge]][build-link]
4-
[![Crate][crate-badge]][crate-link]
5-
[![Documentation][docs-badge]][docs-link]
6-
[![Apache 2.0 License][license-badge]][license-link]
7-
8-
9-
[build-badge]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/workflows/Rust/badge.svg?branch=master
10-
[build-link]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/actions?query=workflow%3ARust+branch%3Amaster
11-
[crate-badge]: https://img.shields.io/crates/v/proxy-wasm.svg
12-
[crate-link]: https://crates.io/crates/proxy-wasm
13-
[docs-badge]: https://docs.rs/proxy-wasm/badge.svg
14-
[docs-link]: https://docs.rs/proxy-wasm
15-
[license-badge]: https://img.shields.io/github/license/proxy-wasm/proxy-wasm-rust-sdk
16-
[license-link]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/blob/master/LICENSE
1+
# WebAssembly for Proxies (Rust SDK) - 3scale version
2+
3+
This is a fork of the upstream [proxy-wasm-rust-sdk](https://github.com/proxy-wasm/proxy-wasm-rust-sdk) repository intended to be used as the base proxy-wasm
4+
library to develop extensions in Rust at Red Hat.
5+
6+
Most patches you will find here have associated open pull requests or issues
7+
in the upstream project from various people.
8+
9+
3scale intends for this fork to closely follow upstream while addressing
10+
shortcomings we believe to be important for WASM module development. Hopefully
11+
we'll keep differences with upstream to a minimum as new upstream releases
12+
address these issues. This means we expect some such issues to be solved in
13+
potentially incompatible ways, for which we'll just break compatibility and
14+
ship new major versions. Over time and as the proxy-wasm ABI spec and
15+
development stabilizes, we expect the need for this fork to fade away.
16+
17+
If you want to use this proxy-wasm fork, make sure to pin your project to a
18+
specific tag or a `-stable` release. If you want to minimise diffs when you
19+
switch over to upstream at a later point, be sure to use package renaming in
20+
your cargo manifest's dependencies section:
21+
22+
> proxy-wasm = { git = "https://github.com/3scale/proxy-wasm-rust-sdk", branch = "v0.1-stable", package = "proxy-wasm-3scale" }
23+
24+
## Contributing
25+
26+
While the plan is to maintain this project as a lightweight fork on top of
27+
upstream, we welcome PRs, but we request contributors to make sure any new
28+
code is also PR'ed to the upstream project unless it touches something that
29+
upstream won't add or is undecided or unresponsive about.
1730

1831
## Examples
1932

0 commit comments

Comments
 (0)