From be6cef10c4f46c4b715703096440e544af0795cd Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 24 Sep 2024 12:02:31 +0300 Subject: [PATCH 1/3] Update URLs and maintenance status --- Cargo.toml | 7 +++---- README.md | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c2e2348..cd9ef7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,22 +3,21 @@ name = "harfbuzz_rs" version = "2.0.2-alpha.0" authors = ["Manuel Reinhardt "] description = "A high-level interface to HarfBuzz, exposing its most important functionality in a safe manner using Rust." -repository = "https://github.com/manuel-rhdt/harfbuzz_rs" +repository = "https://github.com/harfbuzz/harfbuzz_rs" readme = "README.md" keywords = ["text", "ffi", "textlayout", "shaping", "harfbuzz"] categories = [ "api-bindings", "external-ffi-bindings", "internationalization", - "text-processing" + "text-processing", ] license = "MIT" edition = "2018" links = "harfbuzz" [badges] -travis-ci = { repository = "manuel-rhdt/harfbuzz_rs", branch = "master" } -appveyor = { repository = "manuel-rhdt/harfbuzz_rs", branch = "master", service = "github" } +maintainence = { status = "passively-maintained" } [features] default = ["build-native-harfbuzz"] diff --git a/README.md b/README.md index 65c63bd..d202c03 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ [![Crates.io](https://img.shields.io/crates/v/harfbuzz_rs.svg)](https://crates.io/crates/harfbuzz_rs) [![Documentation](https://docs.rs/harfbuzz_rs/badge.svg)](https://docs.rs/harfbuzz_rs) -[![Build Status](https://travis-ci.org/manuel-rhdt/harfbuzz_rs.svg?branch=master)](https://travis-ci.org/manuel-rhdt/harfbuzz_rs) -[![Build status](https://ci.appveyor.com/api/projects/status/tg2xpx3am2iw7nxr?svg=true)](https://ci.appveyor.com/project/manuel-rhdt/harfbuzz-rs) +[![Build status](https://github.com/harfbuzz/harfbuzz_rs/actions/workflows/rust.yml/badge.svg)](https://github.com/harfbuzz/harfbuzz_rs/actions/workflows/rust.yml) `harfbuzz_rs` is a high-level interface to HarfBuzz, exposing its most important functionality in a safe manner using Rust. From 5678fc02c8445cf9b943d4c48edf0878e48ce2b7 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 24 Sep 2024 12:03:31 +0300 Subject: [PATCH 2/3] Drop unused CI configurations --- .travis.yml | 11 ------- appveyor.yml | 87 ---------------------------------------------------- 2 files changed, 98 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 677e065..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: rust -script: - - cargo test --verbose --all-features -rust: - - stable - - beta - - nightly -matrix: - allow_failures: - - rust: nightly -cache: cargo diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d9f4b99..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,87 +0,0 @@ -# Appveyor configuration template for Rust using rustup for Rust installation -# https://github.com/starkat99/appveyor-rust - -## Operating System (VM environment) ## - -# Rust needs at least Visual Studio 2013 Appveyor OS for MSVC targets. -os: Visual Studio 2015 - -## Build Matrix ## - -# This configuration will setup a build for each channel & target combination (12 windows -# combinations in all). -# -# There are 3 channels: stable, beta, and nightly. -# -# Alternatively, the full version may be specified for the channel to build using that specific -# version (e.g. channel: 1.5.0) -# -# The values for target are the set of windows Rust build targets. Each value is of the form -# -# ARCH-pc-windows-TOOLCHAIN -# -# Where ARCH is the target architecture, either x86_64 or i686, and TOOLCHAIN is the linker -# toolchain to use, either msvc or gnu. See https://www.rust-lang.org/downloads.html#win-foot for -# a description of the toolchain differences. -# See https://github.com/rust-lang-nursery/rustup.rs/#toolchain-specification for description of -# toolchains and host triples. -# -# Comment out channel/target combos you do not wish to build in CI. -# -# You may use the `cargoflags` and `RUSTFLAGS` variables to set additional flags for cargo commands -# and rustc, respectively. For instance, you can uncomment the cargoflags lines in the nightly -# channels to enable unstable features when building for nightly. Or you could add additional -# matrix entries to test different combinations of features. -environment: - matrix: - ### MSVC Toolchains ### - - # Stable 64-bit MSVC - - channel: stable - target: x86_64-pc-windows-msvc - # Beta 64-bit MSVC - - channel: beta - target: x86_64-pc-windows-msvc - # Nightly 64-bit MSVC - - channel: nightly - target: x86_64-pc-windows-msvc - #cargoflags: --features "unstable" - -### Allowed failures ### - -# See Appveyor documentation for specific details. In short, place any channel or targets you wish -# to allow build failures on (usually nightly at least is a wise choice). This will prevent a build -# or test failure in the matching channels/targets from failing the entire build. -matrix: - allow_failures: - - channel: nightly - -# If you only care about stable channel build failures, uncomment the following line: -#- channel: beta - -## Install Script ## - -# This is the most important part of the Appveyor configuration. This installs the version of Rust -# specified by the 'channel' and 'target' environment variables from the build matrix. This uses -# rustup to install Rust. -# -# For simple configurations, instead of using the build matrix, you can simply set the -# default-toolchain and default-host manually here. -install: - - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - - rustup-init -yv --default-toolchain %channel% --default-host %target% - - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - - rustc -vV - - cargo -vV - -## Build Script ## - -# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents -# the "directory does not contain a project or solution file" error. -build: false - -# Uses 'cargo test' to run tests and build. Alternatively, the project may call compiled programs -#directly or perform other testing commands. Rust will automatically be placed in the PATH -# environment variable. -test_script: - - cargo test --verbose --all-features %cargoflags% From 34fcd03d41a714825531bd9a08f68824154ed5a5 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 24 Sep 2024 12:07:39 +0300 Subject: [PATCH 3/3] =?UTF-8?q?We=20renamed=20master=20=E2=86=92=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c30a504..6b9b9a9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Rust on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] env: CARGO_TERM_COLOR: always