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