| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.83.0" |
| 15 |
name = "referencing" |
| 16 |
version = "0.37.4" |
| 17 |
authors = ["Dmitry Dygalo <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "An implementation-agnostic JSON reference resolution library for Rust." |
| 25 |
readme = "README.md" |
| 26 |
license = "MIT" |
| 27 |
repository = "https://github.com/Stranger6667/jsonschema" |
| 28 |
|
| 29 |
[features] |
| 30 |
default = [] |
| 31 |
retrieve-async = [ |
| 32 |
"dep:async-trait", |
| 33 |
"dep:futures", |
| 34 |
] |
| 35 |
|
| 36 |
[lib] |
| 37 |
name = "referencing" |
| 38 |
path = "src/lib.rs" |
| 39 |
|
| 40 |
[[test]] |
| 41 |
name = "suite" |
| 42 |
path = "tests/suite.rs" |
| 43 |
|
| 44 |
[[bench]] |
| 45 |
name = "anchor" |
| 46 |
path = "benches/anchor.rs" |
| 47 |
harness = false |
| 48 |
|
| 49 |
[[bench]] |
| 50 |
name = "pointer" |
| 51 |
path = "benches/pointer.rs" |
| 52 |
harness = false |
| 53 |
|
| 54 |
[[bench]] |
| 55 |
name = "registry" |
| 56 |
path = "benches/registry.rs" |
| 57 |
harness = false |
| 58 |
|
| 59 |
[[bench]] |
| 60 |
name = "subresources" |
| 61 |
path = "benches/subresources.rs" |
| 62 |
harness = false |
| 63 |
|
| 64 |
[dependencies.ahash] |
| 65 |
version = "0.8" |
| 66 |
features = ["serde"] |
| 67 |
|
| 68 |
[dependencies.async-trait] |
| 69 |
version = "0.1.86" |
| 70 |
optional = true |
| 71 |
|
| 72 |
[dependencies.fluent-uri] |
| 73 |
version = "0.4.1" |
| 74 |
features = ["serde"] |
| 75 |
|
| 76 |
[dependencies.futures] |
| 77 |
version = "0.3.31" |
| 78 |
optional = true |
| 79 |
|
| 80 |
[dependencies.hashbrown] |
| 81 |
version = "0.16" |
| 82 |
|
| 83 |
[dependencies.parking_lot] |
| 84 |
version = "0.12.3" |
| 85 |
|
| 86 |
[dependencies.percent-encoding] |
| 87 |
version = "2.3.1" |
| 88 |
|
| 89 |
[dependencies.serde_json] |
| 90 |
version = "1" |
| 91 |
|
| 92 |
[dev-dependencies.codspeed-criterion-compat] |
| 93 |
version = "4.1" |
| 94 |
default-features = false |
| 95 |
|
| 96 |
[dev-dependencies.criterion] |
| 97 |
version = "0.7" |
| 98 |
default-features = false |
| 99 |
|
| 100 |
[dev-dependencies.getrandom] |
| 101 |
version = "0.2" |
| 102 |
features = ["js"] |
| 103 |
|
| 104 |
[dev-dependencies.test-case] |
| 105 |
version = "3.3.1" |
| 106 |
|
| 107 |
[dev-dependencies.tokio] |
| 108 |
version = "1" |
| 109 |
features = [ |
| 110 |
"macros", |
| 111 |
"rt", |
| 112 |
] |
| 113 |
|
| 114 |
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] |
| 115 |
version = "0.3.4" |
| 116 |
features = ["wasm_js"] |
| 117 |
|
| 118 |
[lints.clippy] |
| 119 |
dbg_macro = "warn" |
| 120 |
empty_drop = "warn" |
| 121 |
empty_structs_with_brackets = "warn" |
| 122 |
exit = "warn" |
| 123 |
get_unwrap = "warn" |
| 124 |
module_name_repetitions = "allow" |
| 125 |
print_stderr = "warn" |
| 126 |
print_stdout = "warn" |
| 127 |
rc_buffer = "warn" |
| 128 |
rc_mutex = "warn" |
| 129 |
rest_pat_in_fully_bound_structs = "warn" |
| 130 |
similar_names = "allow" |
| 131 |
too_many_arguments = "allow" |
| 132 |
too_many_lines = "allow" |
| 133 |
|
| 134 |
[lints.clippy.pedantic] |
| 135 |
level = "warn" |
| 136 |
priority = -2 |
| 137 |
|
| 138 |
[lints.rust] |
| 139 |
unreachable_pub = "warn" |
| 140 |
unsafe_code = "warn" |