Skip to content

Commit

Permalink
chore: update repository links to nginx/ngx-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
bavshin-f5 committed Jan 13, 2025
1 parent 18fe0e1 commit 491d32a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ members = [
[workspace.package]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/nginxinc/ngx-rust"
repository = "https://github.com/nginxinc/ngx-rust"
homepage = "https://github.com/nginx/ngx-rust"
repository = "https://github.com/nginx/ngx-rust"
rust-version = "1.79.0"

[package]
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ DOCKER_BUILD_FLAGS ?= --load
COMMITSAR_DOCKER := $(DOCKER) run --tty --rm --workdir /src -v "$(CURDIR):/src" aevea/commitsar
COMMITSAR ?= $(shell command -v commitsar 2> /dev/null)
PROJECT_NAME ?= ngx-rust
GITHUB_REPOSITORY ?= nginxinc/$(PROJECT_NAME)
GITHUB_REPOSITORY ?= nginx/$(PROJECT_NAME)
SRC_REPO := https://github.com/$(GITHUB_REPOSITORY)

RELEASE_BUILD_FLAGS ?= --quiet --release
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Rust](https://github.com/nginxinc/ngx-rust/actions/workflows/ci.yaml/badge.svg)](https://github.com/nginxinc/ngx-rust/actions/workflows/ci.yaml)
[![Rust](https://github.com/nginx/ngx-rust/actions/workflows/ci.yaml/badge.svg)](https://github.com/nginx/ngx-rust/actions/workflows/ci.yaml)
[![crates.io](https://img.shields.io/crates/v/ngx.svg)](https://crates.io/crates/ngx)
[![Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept.](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)
[![Community Support](https://badgen.net/badge/support/community/cyan?icon=awesome)](https://github.com/nginxinc/ngx-rust/discussions)
[![Community Support](https://badgen.net/badge/support/community/cyan?icon=awesome)](https://github.com/nginx/ngx-rust/discussions)


## Project status
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The following embedded variables are provided:

1. Clone the git repository.
```
git clone [email protected]:nginxinc/ngx-rust.git
git clone [email protected]:nginx/ngx-rust.git
```

2. Compile the module from the cloned repo.
Expand Down Expand Up @@ -197,7 +197,7 @@ http {

1. Clone the git repository.
```
git clone [email protected]:nginxinc/ngx-rust.git
git clone [email protected]:nginx/ngx-rust.git
```

2. Compile the module from the cloned repo.
Expand Down
2 changes: 1 addition & 1 deletion examples/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ unsafe impl Send for EventData {}
unsafe impl Sync for EventData {}

// same as ngx_post_event
// source: https://github.com/nginxinc/ngx-rust/pull/31/files#diff-132330bb775bed17fb9990ec2b56e6c52e6a9e56d62f2114fade95e4decdba08R80-R90
// source: https://github.com/nginx/ngx-rust/pull/31/files#diff-132330bb775bed17fb9990ec2b56e6c52e6a9e56d62f2114fade95e4decdba08R80-R90
unsafe fn post_event(event: *mut ngx_event_t, queue: *mut ngx_queue_s) {
let event = &mut (*event);
if event.posted() == 0 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//! * `NGX_VERSION` (default 1.26.1) - NGINX OSS version
//! * `NGX_DEBUG` (default to false) - if set to true, then will compile NGINX `--with-debug` option
//!
//! For example, this is how you would compile the [examples](https://github.com/nginxinc/ngx-rust/tree/master/examples) using a specific version of NGINX and enabling
//! For example, this is how you would compile the [examples](https://github.com/nginx/ngx-rust/tree/master/examples) using a specific version of NGINX and enabling
//! debugging: `NGX_DEBUG=true NGX_VERSION=1.23.0 cargo build --package=examples --examples --release`
//!
//! To build Linux-only modules, use the "linux" feature: `cargo build --package=examples --examples --features=linux --release`
Expand Down

0 comments on commit 491d32a

Please sign in to comment.