David Tolnay
bfa5c91ffc
Opt out -Zrustdoc-scrape-examples on docs.rs
...
I'd like a chance to audit all the code that rustdoc is inserting into
the docs. Currently I am skeptical that showing unicode-ident's internal
usages of APIs is a net benefit to the public documentation. I am also
skeptical that quite so many examples are needed, and that they should
be featured so prominently in comparison to handwritten docs. Lastly I
wish there were a way to turn this behavior off on a more granular
basis.
2023-01-02 21:45:54 -08:00
David Tolnay
d23c2d64dd
Prevent actions duplication on noop merge commits
2022-12-31 12:45:33 -08:00
David Tolnay
600ff66352
Sync license text with rust-lang repos
2022-12-30 12:00:51 -08:00
David Tolnay
25ba0d2e7a
Release 1.0.6
2022-12-17 12:00:31 -08:00
David Tolnay
c740d925cf
Update build status badge
2022-12-15 17:52:43 -08:00
David Tolnay
30361cff0f
Time out workflows after 45 minutes
...
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
2022-11-25 03:51:41 -08:00
David Tolnay
94296cf1b6
Add a funding file
2022-11-25 03:44:02 -08:00
David Tolnay
a6337ab376
Fix renamed let_underscore_drop lint
...
warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
--> generate/src/main.rs:14:5
|
14 | clippy::let_underscore_drop,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
2022-11-22 22:24:47 -08:00
David Tolnay
9c116767e1
Resolve manual_let_else clippy lints
...
error: this could be rewritten as `let...else`
--> generate/src/main.rs:50:13
|
50 | / let new = match u8::try_from(chunkmap.len()) {
51 | | Ok(byte) => byte,
52 | | Err(_) => panic!("exceeded 256 unique chunks"),
53 | | };
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else
= note: `-D clippy::manual-let-else` implied by `-D clippy::pedantic`
help: consider writing
|
50 ~ let Ok(byte) = u8::try_from(chunkmap.len()) else {
51 + $crate::rt::begin_panic($msg)
52 + };
|
2022-11-22 22:24:18 -08:00
David Tolnay
726d043ecd
Minimalist error handling by exiting on error
2022-11-03 23:41:41 -07:00
David Tolnay
632e122166
Merge pull request #21 from dtolnay/parse
...
Replace ucd-parse dependency
2022-11-03 23:27:11 -07:00
David Tolnay
34c0dd1fe4
Replace ucd-parse dependency
2022-11-03 23:21:04 -07:00
David Tolnay
5d1a139c83
Merge pull request #20 from dtolnay/ucdparse
...
Replace ucd-generate dependency with ucd-parse
2022-11-03 22:47:00 -07:00
David Tolnay
834e16aba1
Replace ucd-generate dependency with ucd-parse
2022-11-03 22:39:42 -07:00
David Tolnay
c384237743
Bump version number in UCD zip URL
2022-11-03 22:24:39 -07:00
David Tolnay
556e01ba9b
Return i/o Result from main
2022-11-03 19:13:44 -07:00
David Tolnay
00a42eb9ff
Merge pull request #19 from dtolnay/output
...
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:40:31 -07:00
David Tolnay
4757c71dd8
Switch from set-output to $GITHUB_OUTPUT
2022-10-13 09:37:36 -07:00
David Tolnay
f72cdd4158
Release 1.0.5
2022-10-08 12:42:27 -07:00
David Tolnay
1e397a78e7
Link to cast_possible_truncation false positive
...
https://github.com/rust-lang/rust-clippy/issues/9613
2022-10-08 12:41:04 -07:00
David Tolnay
fed8ff26f4
Ignore pedantic clippy in ucd-generate generated code
2022-10-08 12:40:40 -07:00
David Tolnay
672c8b5f12
Resolve redundant_closure_for_method_calls pedantic clippy lint
2022-10-08 12:39:49 -07:00
David Tolnay
5465e7b606
Merge pull request #17 from dtolnay/clippy
...
Run clippy on all crates in workspace
2022-10-08 12:27:57 -07:00
David Tolnay
35ccb3f549
Run clippy on all crates in workspace
2022-10-08 12:24:29 -07:00
David Tolnay
38acd92a4b
Merge pull request #16 from dtolnay/write
...
Pull out static generated file heading into one string literal
2022-10-08 12:23:24 -07:00
David Tolnay
9150ce272e
Pull out static generated file heading into one string literal
2022-10-08 12:20:46 -07:00
David Tolnay
a04089507d
Merge pull request #15 from dtolnay/write
...
Move Output writing to separate module
2022-10-08 12:20:41 -07:00
David Tolnay
339634349b
Move Output writing to separate module
2022-10-08 12:16:58 -07:00
David Tolnay
f6f4235938
Merge pull request #14 from dtolnay/unicodexid
...
Pull in unicode 15.0.0 support in unicode-xid for test
2022-09-16 22:06:41 -07:00
David Tolnay
046ec50bf6
Pull in unicode 15.0.0 support in unicode-xid for test
2022-09-16 22:01:46 -07:00
David Tolnay
2580817601
Add xid keyword
2022-09-16 22:00:38 -07:00
David Tolnay
8b3c61c90d
Merge pull request #13 from dtolnay/unwrap
...
Improve table generator failure messages
2022-09-14 21:33:04 -07:00
David Tolnay
3f1a9570b5
Improve table generator failure messages
2022-09-14 21:28:53 -07:00
David Tolnay
d9fd2ffe77
Remove default package.readme metadata from Cargo.toml
...
Since cargo 1.46.0, README.md is recognized by default.
2022-09-14 09:16:02 -07:00
David Tolnay
0869852154
Release 1.0.4
2022-09-13 21:35:15 -07:00
David Tolnay
908bf4fb8b
Merge pull request #12 from dtolnay/unicode15
...
Update to Unicode 15.0.0
2022-09-13 21:34:17 -07:00
David Tolnay
b545a1d47e
Update static data sizes
2022-09-13 21:24:23 -07:00
David Tolnay
9c100b49ad
Disable unicode-xid comparison test
2022-09-13 21:21:35 -07:00
David Tolnay
d356f5843e
Update to Unicode 15.0.0
2022-09-13 21:19:57 -07:00
David Tolnay
b87da17196
Update criterion to 0.4
2022-09-10 20:18:15 -07:00
David Tolnay
fefe25a0b3
Update benchmark/test to roaring 0.10
2022-09-08 08:29:01 -07:00
David Tolnay
31a4be1913
GitHub Workflows security hardening
2022-09-02 15:09:32 -07:00
David Tolnay
e970dad20b
Release 1.0.3
2022-08-03 07:04:08 -07:00
David Tolnay
b131e4232d
Update keywords in crates.io metadata
2022-08-02 10:38:57 -07:00
David Tolnay
9751069f74
Add categories to crates.io metadata
2022-08-01 00:06:48 -07:00
David Tolnay
4280713c30
Add authors to Cargo.toml
2022-07-31 19:25:47 -07:00
David Tolnay
f4aa38bb02
Sort package entries in Cargo.toml
2022-07-31 19:19:06 -07:00
David Tolnay
43ab8d0ac0
Release 1.0.2
2022-07-15 18:52:10 -07:00
David Tolnay
98825d0a6a
Merge pull request #9 from dtolnay/license
...
Explain Unicode license agreement
2022-07-15 18:51:29 -07:00
David Tolnay
9d38245990
Attempt to describe the license situation in readme
2022-07-15 18:48:20 -07:00