# 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.80" name = "roead" version = "1.0.0" authors = ["Caleb Smith "] build = "build.rs" exclude = [ "/test", "/lib/zlib-ng/infcover.dir", "/lib/zlib-ng/makecrct.dir", "/lib/zlib-ng/makefixed.dir", "/lib/zlib-ng/maketrees.dir", "/lib/zlib-ng/switchlevels.dir", "/lib/zlib-ng/x64", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust port of oead C++ library for common Nintendo formats" readme = "README.md" keywords = [ "Nintendo", "aamp", "byml", "sarc", "yaz0", ] categories = [ "game-development", "parsing", ] license = "GPL-3.0-or-later" repository = "https://github.com/NiceneNerd/roead" [lib] name = "roead" path = "src/lib.rs" [dependencies.almost] version = "0.2.0" optional = true [dependencies.base64] version = "0.22.0" optional = true [dependencies.binrw] version = "0.14" optional = true [dependencies.cxx] version = "1" optional = true [dependencies.indexmap] version = "2.2" optional = true [dependencies.join_str] version = "0.1.0" [dependencies.lexical] version = "^6.0" features = ["power-of-two"] optional = true [dependencies.lexical-core] version = "0.8.5" features = ["write-floats"] optional = true [dependencies.num-integer] version = "0.1.45" optional = true [dependencies.num-traits] version = "0.2.15" optional = true [dependencies.parking_lot] version = "0.12.1" optional = true [dependencies.rustc-hash] version = "2.0" [dependencies.ryml] version = "0.3.2" features = ["std"] optional = true [dependencies.scc] version = "2.1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.smartstring] version = "1" [dependencies.thiserror] version = "1" [dev-dependencies.jwalk] version = "0.8.1" [dev-dependencies.rayon] version = "1.10" [build-dependencies.cxx-build] version = "1.0.71" optional = true [build-dependencies.rustc_version] version = "0.4.0" [features] aamp = [ "almost", "binrw", "indexmap", "num-traits", ] aamp-names = ["scc"] byml = [ "binrw", "almost", "num-traits", ] default = [ "aamp", "byml", "sarc", "yaz0", ] sarc = [ "binrw", "num-integer", "serde", "serde_json", "indexmap", ] with-serde = [ "serde", "smartstring/serde", "indexmap/serde", ] yaml = [ "ryml", "lexical", "lexical-core", "base64", "parking_lot", "aamp-names", ] yaz0 = [ "cxx", "cxx-build", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(CHANNEL_NIGHTLY)"]