-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
43 lines (38 loc) · 1.6 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[workspace]
resolver = "2"
members = [
# Production crates
"cycles-ledger",
# Crates used for testing only
"depositor",
"fake-cmc",
]
[workspace.package]
version = "1.0.0"
edition = "2021"
authors = ["DFINITY Stiftung <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/dfinity/cycles-ledger"
publish = false # don't publish to crates.io
[workspace.dependencies]
candid = "0.10"
candid_parser = "0.1"
ic-cdk = { version = "0.12.2" }
ic-cdk-macros = { version = "0.8.4" }
icrc-ledger-types = "0.1.5"
serde = "1"
[workspace.metadata.release] # cargo-release
# list of replacements to be made after issuing `cargo release SEMVER`
pre-release-replacements = [
# cargo release expects to find CHANGELOG.md file inside the package that's supposed to be released (e.g. cycles-ledger),
# therefore we need to go one directory level up, so it will search for the change log in the root of the repository
{ file = "../CHANGELOG.md", search = "Unreleased", replace = "{{version}}" },
{ file = "../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 },
{ file = "../CHANGELOG.md", search = "ReleaseDate", replace = "{{date}}" },
{ file = "../CHANGELOG.md", search = "<!-- next-header -->", replace = "<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly = 1 },
{ file = "../CHANGELOG.md", search = "<!-- next-url -->", replace = "<!-- next-url -->\n[Unreleased]: https://github.com/dfinity/cycles-ledger/compare/{{tag_name}}...HEAD", exactly = 1 },
]
[profile.release]
lto = true
opt-level = 'z'
panic = 'abort'