# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "xplane" version = "0.1.0-alpha.1" authors = [ "Julia DeMille ", "Sam Crow ", ] description = "High-level interfaces to the X-Plane plugin SDK" readme = "README.md" keywords = [ "X-Plane", "plugin", ] categories = [ "api-bindings", "game-development", ] license = "MPL-2.0" repository = "https://git.sr.ht/~jdemille/xplane.rs" [package.metadata.docs.rs] features = ["XPLM400"] targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-pc-windows-msvc", ] [profile.release] lto = true [[example]] name = "minimal" crate-type = ["cdylib"] [[example]] name = "dataref" crate-type = ["cdylib"] [[example]] name = "menus" crate-type = ["cdylib"] [dependencies.libfmod] version = "~2.206" optional = true [dependencies.num_enum] version = "~0.7" [dependencies.snafu] version = "~0.7" [dependencies.tailcall] version = "~0.1" [dependencies.xplane-sys] version = ">= 4.0.109, < 4.1.0" [dev-dependencies.mockall] version = "~0.12" [dev-dependencies.xplane-sys] version = ">= 4.0.109, < 4.1.0" features = ["mockall"] [features] XPLM210 = ["xplane-sys/XPLM210"] XPLM300 = [ "XPLM210", "xplane-sys/XPLM300", ] XPLM301 = [ "XPLM300", "xplane-sys/XPLM301", ] XPLM302 = [ "XPLM301", "xplane-sys/XPLM301", ] XPLM303 = [ "XPLM302", "xplane-sys/XPLM303", ] XPLM400 = [ "XPLM303", "xplane-sys/XPLM400", ] fmod = [ "dep:libfmod", "XPLM400", "xplane-sys/fmod", ] stub-linux = ["xplane-sys/stub-linux"] [lints.clippy] all = "warn" cargo = "warn" float_cmp_const = "deny" lossy_float_literal = "deny" module_name_repetitions = "allow" multiple_crate_versions = "allow" pedantic = "warn" self_named_module_files = "deny" semicolon_inside_block = "deny" todo = "warn" try_err = "deny" [lints.rust] missing_docs = "warn" unsafe_op_in_unsafe_fn = "deny"