Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2cb7cd

Browse files
More CI checks
- Check formatting- Check clippy- Check docsAlso mass reformats to ensure everything passes.
1 parent2506b5b commitc2cb7cd

File tree

12 files changed

+243
-109
lines changed

12 files changed

+243
-109
lines changed

‎.github/workflows/rust.yml‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77
branches:[ master ]
88

99
env:
10+
CARGO_INCREMENTAL:0
1011
CARGO_TERM_COLOR:always
12+
RUST_BACKTRACE:1
13+
RUSTFLAGS:-D warnings
14+
RUSTDOCFLAGS:-D warnings --cfg docsrs
1115

1216
jobs:
1317
build:
@@ -20,23 +24,32 @@ jobs:
2024
-nightly
2125
steps:
2226
-uses:actions/checkout@v2
23-
-name:Installlatest nightly
27+
-name:Installtoolchain
2428
uses:actions-rs/toolchain@v1
2529
with:
2630
toolchain:${{ matrix.rust }}
2731
override:true
2832
-name:Build
2933
run:cargo build --verbose
30-
-name:Run tests
31-
run:cargo test --verbose
34+
-name:Run tests with all features
35+
run:cargo test --all-features --verbose
3236
-name:Run tests without features
33-
run:cargo test --verbose --no-default-features
37+
run:cargo test --no-default-features --verbose
3438
-name:Package
3539
run:cargo package
3640
-name:Test package
3741
run:cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test
3842
-name:Test package without features
3943
run:cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test --no-default-features
44+
-name:Build docs
45+
if:matrix.rust == 'nightly'
46+
run:cargo doc --all-features --verbose
47+
-name:Check formatting
48+
if:matrix.rust == 'stable'
49+
run:cargo fmt --all --check
50+
-name:Check clippy
51+
if:matrix.rust == 'stable'
52+
run:cargo clippy --all-features --all --verbose
4053
msrv:
4154
runs-on:ubuntu-latest
4255
steps:

‎Cargo.toml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,23 @@
22

33
name ="unicode-normalization"
44
version ="0.1.23"
5-
authors = ["kwantam <kwantam@gmail.com>","Manish Goregaokar <manishsmail@gmail.com>"]
5+
authors = [
6+
"kwantam <kwantam@gmail.com>",
7+
"Manish Goregaokar <manishsmail@gmail.com>",
8+
]
69

710
homepage ="https://github.com/unicode-rs/unicode-normalization"
811
repository ="https://github.com/unicode-rs/unicode-normalization"
912
documentation ="https://docs.rs/unicode-normalization/"
1013

1114
license ="MIT/Apache-2.0"
12-
keywords = ["text","unicode","normalization","decomposition","recomposition"]
15+
keywords = [
16+
"text",
17+
"unicode",
18+
"normalization",
19+
"decomposition",
20+
"recomposition",
21+
]
1322
readme ="README.md"
1423
description ="""
1524
This crate provides functions for normalization of
@@ -22,7 +31,7 @@ rust-version = "1.36"
2231

2332
edition ="2018"
2433

25-
exclude = ["target/*","Cargo.lock","scripts/tmp","*.txt","tests/*"]
34+
exclude = ["target/*","Cargo.lock","scripts/tmp","*.txt","tests/*"]
2635

2736
[dependencies.tinyvec]
2837
version ="1"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp