File: Cargo.toml.orig

package info (click to toggle)
rust-indexmap 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: makefile: 2
file content (76 lines) | stat: -rw-r--r-- 2,241 bytes parent folder | download
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
70
71
72
73
74
75
76
[package]
name = "indexmap"
edition = "2021"
version = "2.13.0"
documentation = "https://docs.rs/indexmap/"
repository = "https://github.com/indexmap-rs/indexmap"
license = "Apache-2.0 OR MIT"
description = "A hash table with consistent order and fast iteration."
keywords = ["hashmap", "no_std"]
categories = ["data-structures", "no-std"]
rust-version = "1.82"

[lib]
bench = false

[dependencies]
equivalent = { version = "1.0", default-features = false }
hashbrown = { version = "0.16.1", default-features = false }

arbitrary = { version = "1.0", optional = true, default-features = false }
quickcheck = { version = "1.0", optional = true, default-features = false }
serde_core = { version = "1.0.220", optional = true, default-features = false }
rayon = { version = "1.9", optional = true }
sval = { version = "2", optional = true, default-features = false }

# deprecated: use borsh's "indexmap" feature instead.
borsh = { version = "1.2", optional = true, default-features = false }

# serde v1.0.220 is the first version that released with `serde_core`.
# This is required to avoid conflict with other `serde` users which may require an older version.
[target.'cfg(any())'.dependencies]
serde = { version = "1.0.220", default-features = false, optional = true }

[dev-dependencies]
itertools = "0.14"
fastrand = { version = "2", default-features = false }
quickcheck = { version = "1.0", default-features = false }
fnv = "1.0"
serde = { version = "1.0", default-features = false, features = ["derive"] }

[features]
default = ["std"]
std = []
serde = ["dep:serde_core", "dep:serde"]

# for testing only, of course
test_debug = []

[profile.bench]
debug = true

[package.metadata.release]
allow-branch = ["main"]
sign-tag = true
tag-name = "{{version}}"

[package.metadata.docs.rs]
features = ["arbitrary", "quickcheck", "serde", "borsh", "rayon", "sval"]
rustdoc-args = ["--cfg", "docsrs"]

[workspace]
members = ["test-nostd", "test-serde", "test-sval"]

[lints.rust]
private-bounds = "deny"
private-interfaces = "deny"
unnameable-types = "deny"
unreachable-pub = "deny"

# We *mostly* avoid unsafe code, but there are a few fine-grained cases allowed
unsafe-code = "deny"

rust-2018-idioms = "warn"

[lints.clippy]
style = "allow"