1 | [package] |
2 | name = "adler" |
3 | version = "1.0.2" |
4 | authors = ["Jonas Schievink <jonasschievink@gmail.com>" ] |
5 | description = "A simple clean-room implementation of the Adler-32 checksum" |
6 | documentation = "https://docs.rs/adler/" |
7 | repository = "https://github.com/jonas-schievink/adler.git" |
8 | keywords = ["checksum" , "integrity" , "hash" , "adler32" , "zlib" ] |
9 | categories = ["algorithms" ] |
10 | readme = "README.md" |
11 | license = "0BSD OR MIT OR Apache-2.0" |
12 | |
13 | [[bench]] |
14 | name = "bench" |
15 | harness = false |
16 | |
17 | [dependencies] |
18 | # Internal features, only used when building as part of libstd, not part of the |
19 | # stable interface of this crate. |
20 | core = { version = '1.0.0' , optional = true, package = 'rustc-std-workspace-core' } |
21 | compiler_builtins = { version = '0.1.2' , optional = true } |
22 | |
23 | [dev-dependencies] |
24 | criterion = "0.3.2" |
25 | |
26 | [features] |
27 | # Disable default features to enable `#![no_std]` support. |
28 | default = ["std" ] |
29 | std = [] |
30 | |
31 | # Internal feature, only used when building as part of libstd, not part of the |
32 | # stable interface of this crate. |
33 | rustc-dep-of-std = ['core' , 'compiler_builtins' ] |
34 | |
35 | |
36 | [package.metadata.docs.rs] |
37 | rustdoc-args = [ "--cfg=docsrs" ] |
38 | |
39 | # cargo-release configuration |
40 | [package.metadata.release] |
41 | tag-message = "{{version}}" |
42 | no-dev-version = true |
43 | pre-release-commit-message = "Release {{version}}" |
44 | |
45 | # Change the changelog's `Unreleased` section to refer to this release and |
46 | # prepend a new `Unreleased` section |
47 | [[package.metadata.release.pre-release-replacements]] |
48 | file = "CHANGELOG.md" |
49 | search = "## Unreleased\n" |
50 | replace = "" " |
51 | ## Unreleased |
52 | |
53 | No changes. |
54 | |
55 | ## [{{version}} - {{date}}](https://github.com/jonas-schievink/adler/releases/tag/v{{version}}) |
56 | " "" |
57 | |
58 | # Bump the version inside the example manifest in `README.md` |
59 | [[package.metadata.release.pre-release-replacements]] |
60 | file = "README.md" |
61 | search = 'adler = "[a-z0-9\\.-]+"' |
62 | replace = 'adler = "{{version}}"' |
63 | |
64 | # Bump the version referenced by the `html_root_url` attribute in `lib.rs` |
65 | [[package.metadata.release.pre-release-replacements]] |
66 | file = "src/lib.rs" |
67 | search = "https://docs.rs/adler/[a-z0-9\\.-]+" |
68 | replace = "https://docs.rs/adler/{{version}}" |
69 | |