-
Notifications
You must be signed in to change notification settings - Fork 119
Use RFC-compliant HeaderValue type. #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 9 commits
9e1c348
0542a78
3e9b789
9bf47e6
17b8b75
21f1a97
ca5ea40
34b6eb7
ddef068
c9300d5
1155a99
a64ab45
c5ed28d
be9ea36
7c38daf
b110464
a847b32
b0e5d9b
25bcdf1
c1ddd0f
3384e48
204ebd3
a4d1e4a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,13 @@ | |
| [license-badge]: https://img.shields.io/github/license/proxy-wasm/proxy-wasm-rust-sdk | ||
| [license-link]: https://github.com/proxy-wasm/proxy-wasm-rust-sdk/blob/main/LICENSE | ||
|
|
||
| ## Crate features | ||
|
|
||
| This crate supports the following optional features: | ||
|
|
||
| - `strict-header-value` - uses RFC-compliant `HeaderValue` instead of UTF-8 `String` for HTTP header and trailer values. | ||
| This will become the default in future releases. | ||
|
||
|
|
||
| ## Examples | ||
|
|
||
| - [Hello World](./examples/hello_world/) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| ############################################################################### | ||
| # @generated | ||
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To | ||
| # regenerate this file, run the following: | ||
| # | ||
| # bazel run @//bazel/cargo:crates_vendor | ||
| ############################################################################### | ||
|
|
||
| load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars") | ||
| load("@rules_rust//rust:defs.bzl", "rust_library") | ||
|
|
||
| package(default_visibility = ["//visibility:public"]) | ||
|
|
||
| cargo_toml_env_vars( | ||
| name = "cargo_toml_env_vars", | ||
| src = "Cargo.toml", | ||
| ) | ||
|
|
||
| rust_library( | ||
| name = "bytes", | ||
| srcs = glob( | ||
| include = ["**/*.rs"], | ||
| allow_empty = True, | ||
| ), | ||
| compile_data = glob( | ||
| include = ["**"], | ||
| allow_empty = True, | ||
| exclude = [ | ||
| "**/* *", | ||
| ".tmp_git_root/**/*", | ||
| "BUILD", | ||
| "BUILD.bazel", | ||
| "WORKSPACE", | ||
| "WORKSPACE.bazel", | ||
| ], | ||
| ), | ||
| crate_features = [ | ||
| "default", | ||
| "std", | ||
| ], | ||
| crate_root = "src/lib.rs", | ||
| edition = "2018", | ||
| rustc_env_files = [ | ||
| ":cargo_toml_env_vars", | ||
| ], | ||
| rustc_flags = [ | ||
| "--cap-lints=allow", | ||
| ], | ||
| tags = [ | ||
| "cargo-bazel", | ||
| "crate-name=bytes", | ||
| "manual", | ||
| "noclippy", | ||
| "norustfmt", | ||
| ], | ||
| target_compatible_with = select({ | ||
| "@rules_rust//rust/platform:aarch64-apple-darwin": [], | ||
| "@rules_rust//rust/platform:aarch64-apple-ios": [], | ||
| "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], | ||
| "@rules_rust//rust/platform:aarch64-linux-android": [], | ||
| "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], | ||
| "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [], | ||
| "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], | ||
| "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [], | ||
| "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [], | ||
| "@rules_rust//rust/platform:aarch64-unknown-uefi": [], | ||
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], | ||
| "@rules_rust//rust/platform:armv7-linux-androideabi": [], | ||
| "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], | ||
| "@rules_rust//rust/platform:i686-apple-darwin": [], | ||
| "@rules_rust//rust/platform:i686-linux-android": [], | ||
| "@rules_rust//rust/platform:i686-pc-windows-msvc": [], | ||
| "@rules_rust//rust/platform:i686-unknown-freebsd": [], | ||
| "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], | ||
| "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], | ||
| "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], | ||
| "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], | ||
| "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], | ||
| "@rules_rust//rust/platform:thumbv7em-none-eabi": [], | ||
| "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], | ||
| "@rules_rust//rust/platform:wasm32-unknown-unknown": [], | ||
| "@rules_rust//rust/platform:wasm32-wasip1": [], | ||
| "@rules_rust//rust/platform:x86_64-apple-darwin": [], | ||
| "@rules_rust//rust/platform:x86_64-apple-ios": [], | ||
| "@rules_rust//rust/platform:x86_64-linux-android": [], | ||
| "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-none": [], | ||
| "@rules_rust//rust/platform:x86_64-unknown-uefi": [], | ||
| "//conditions:default": ["@platforms//:incompatible"], | ||
| }), | ||
| version = "1.10.1", | ||
| ) |
Uh oh!
There was an error while loading. Please reload this page.