-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (59 loc) · 2.39 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[workspace]
resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.65.0" # MSRV 1.65.0 so that we can use let-else pattern
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"Cargo.lock",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
[package]
name = "lazysort-no-alloc"
version = "0.0.1"
description = "Lazy (delayed) Quick Sort; all storage pre-allocated or slice-based; recursive; but later with non-recursive & no-alloc alternatives"
keywords = [
]
categories = [
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
repository = "https://github.com/scale-rs/lazysort-no-alloc"
authors = ["Peter Kehl <[email protected]>"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/scale-rs/lazysort-no-alloc/compare/{{tag_name}}...HEAD", exactly=1},
]
[features]
default = []
alloc = []
# Most of the (non-default) features are NOT implemented yet!
nightly_lazy_type_alias = []
# nightly_strict_provenance on its own doesn't do anything. Use it with nightly_guard_cross_alloc
# and/or nightly_guard_cross_cleanup and/or nightly_accept_custom_alloc.
#
# TODO for non-alloc?
nightly_strict_provenance = []
# Use (nightly) allocator API. That does NOT necessarily mean accepting custom allocators for
# `Vec`-s passed from the client - for that use `accept_custom_alloc`.
_internal_use_allocator_api = ["nightly_lazy_type_alias", "alloc"]
# TODO work these two out for alloc/non-alloc, or only for alloc, or incorporate all the time &
# remove the feature flags themselves
nightly_guard_cross_alloc = ["nightly_lazy_type_alias", "_internal_use_allocator_api"]
nightly_guard_cross_cleanup = ["nightly_lazy_type_alias", "nightly_guard_cross_alloc"]
nightly_accept_custom_alloc = ["nightly_lazy_type_alias", "nightly_guard_cross_cleanup"]