# 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.75" name = "insim" version = "2.1.0" authors = ["Karl Southern "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "LiveForSpeed Insim implementation that focuses on ergonomics and strong typing" homepage = "https://github.com/theangryangel/insim.rs" readme = "README.md" license = "MIT" [lib] name = "insim" path = "src/lib.rs" doctest = false bench = false [dependencies.async-trait] version = "0.1.68" optional = true [dependencies.bitflags] version = "2.4.0" [dependencies.bytes] version = "1.4.0" [dependencies.from_variants] version = "1.0.2" [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.if_chain] version = "1.0.2" [dependencies.indexmap] version = "2.1.0" [dependencies.insim_core] version = "2.1.0" [dependencies.insim_pth] version = "2.1.0" optional = true [dependencies.insim_smx] version = "2.1.0" optional = true [dependencies.serde] version = "1.0.188" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.40" [dependencies.tokio] version = "1.11.0" features = [ "rt", "time", "net", "macros", "sync", "tracing", ] optional = true [dependencies.tokio-tungstenite] version = "0.23.1" optional = true [dependencies.tracing] version = "0.1.37" [dev-dependencies.tokio-test] version = "0.4.0" [features] blocking = [] default = [ "tokio", "blocking", "websocket", ] pth = ["dep:insim_pth"] serde = [ "dep:serde", "insim_core/serde", "bitflags/serde", "indexmap/serde", ] smx = ["dep:insim_smx"] tokio = [ "dep:tokio", "dep:async-trait", ] websocket = [ "tokio", "dep:tokio-tungstenite", "futures-util", ] [lints.rust] missing_debug_implementations = "deny" missing_docs = "deny" unsafe_code = "deny" unused_crate_dependencies = "deny" unused_results = "deny" [lints.rustdoc] broken_intra_doc_links = "deny"