-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (64 loc) · 1.85 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
73
74
# SPDX-FileCopyrightText: 2024 Julia DeMille <[email protected]>
#
# SPDX-License-Identifier: Parity-7.0.0
[package]
name = "xputils"
version = "0.1.0-alpha.1"
description = "Utilities for X-Plane plugins written in Rust. It's like libacfutils, but Rust, and with 100% less HotStart."
license = "Parity-7.0.0"
readme = "README.md"
edition = "2021"
rust-version = "1.75"
repository = "https://github.com/judemille/xputils"
keywords = ["xplane", "x-plane", "flight sim", "acfutils"]
categories = [
"aerospace::simulation",
"data-structures",
"game-development",
"parser-implementations",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
byteorder = { version = "~1.5", optional = true }
const_format = { version = "~0.2", optional = true }
either = "~1.9"
heapless = "~0.8"
itertools = "~0.12"
num = "~0.4"
num_enum = "~0.7"
petgraph = { version = "~0.6", optional = true, default-features = false }
rust_decimal = "~1.33"
rust_decimal_macros = "~1.33"
sevenz-rust = { optional = true, version = "~0.5" }
snafu = "~0.8"
winnow = { version = "~0.5", optional = true, features = ["simd"] }
[build-dependencies]
rustc_version = "0.4"
[features]
dsf = ["dep:byteorder", "dep:sevenz-rust"]
navdata = ["dep:const_format", "dep:petgraph", "dep:winnow"]
parser_debug = ["winnow/debug"]
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
pedantic = "warn"
float_cmp_const = "deny"
mod_module_files = "deny"
semicolon_inside_block = "deny"
todo = "warn"
try_err = "deny"
lossy_float_literal = "deny"
cargo = "warn"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[[example]]
name = "fix"
required-features = ["backtraces", "navdata"]
[[example]]
name = "navaids"
required-features = ["backtraces", "navdata"]