-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
72 lines (64 loc) · 2.08 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
70
71
72
[package]
name = "xsd-parser"
version = "0.2.0"
authors = [
"Bergmann89 <[email protected]>",
]
edition = "2021"
license = "MIT"
description = "Rust code generator for XML schema files"
repository = "https://github.com/Bergmann89/xsd-parser"
homepage = "https://github.com/Bergmann89/xsd-parser"
[features]
# Enable support for async XML processing
async = [ "tokio" ]
# Enable support for web resolvers
web-resolver = [ "reqwest" ]
# Helper feature to automatically update all code expectations of the tests
update-expectations = [ ]
[dependencies]
anyhow = "1.0"
bitflags = "2.7"
futures = "0.3"
Inflector = "0.11"
proc-macro2 = "1.0"
quick-xml = { version = "0.37", features = ["serialize", "async-tokio"] }
quote = "1.0"
reqwest = { version = "0.12", features = ["blocking"], optional = true }
serde = { version = "1.0", features = ["derive"] }
smallvec = "1.13"
thiserror = "2.0.0"
tokio = { version = "1.41", optional = true }
tracing = "0.1"
url = "2.5"
[dev-dependencies]
clap = { version = "4.5", features = ["derive"] }
serde-xml-rs = "0.6"
text-diff = "0.4"
tracing-subscriber = { version = "0.3", features = ["std", "env-filter", "json", "tracing-log"] }
[build-dependencies]
regex = "1.11"
[lints.rust]
future_incompatible = { level = "warn", priority = -1}
incomplete_features = "allow"
missing_debug_implementations = { level = "warn", priority = -1}
missing_docs = { level = "warn", priority = -1}
nonstandard_style = { level = "warn", priority = -1}
rust_2018_idioms = { level = "warn", priority = -1}
rust_2021_compatibility = { level = "warn", priority = -1}
unreachable_pub = { level = "warn", priority = -1}
unused = { level = "warn", priority = -1}
[lints.clippy]
cast_possible_truncation = "warn"
default_trait_access = "allow"
explicit_iter_loop = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
no_effect_underscore_binding = "allow"
pedantic = { level = "warn", priority = -1}
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
uninlined_format_args = "allow"