# 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 = "spcasm" version = "1.2.0" authors = ["kleines Filmröllchen "] build = "build.rs" exclude = [ "tests", "doc", ".github", ".vscode", "include", ] autobins = false autoexamples = false autotests = false autobenches = false default-run = "spcasm" description = "A modern, user-friendly SPC700 assembler." homepage = "https://spcasm.filmroellchen.eu/" readme = "README.md" keywords = [ "spc-700", "s-smp", "snes", ] categories = [ "compilers", "command-line-utilities", "development-tools", "multimedia::audio", ] license-file = "LICENSE" repository = "https://github.com/kleinesfilmroellchen/spcasm" [package.metadata.cross.target.x86_64-unknown-linux-gnu] pre-build = ["apt-get update && apt-get install -y openssl clang"] [profile.bench] opt-level = 3 lto = "thin" debug = 2 debug-assertions = true incremental = true [profile.release] opt-level = "s" lto = true debug = 0 debug-assertions = false [profile.spcasm-fastrelease] opt-level = 3 lto = "thin" incremental = true inherits = "release" [profile.spcasm-release] lto = "fat" incremental = false inherits = "spcasm-fastrelease" [lib] name = "spcasm" path = "src/lib.rs" required-features = [] [[bin]] name = "brr" path = "src/brr/cli.rs" test = false bench = false required-features = ["binaries"] [[bin]] name = "spcasm" path = "src/lib.rs" test = false bench = false required-features = ["binaries"] [dependencies.arrcat] version = "0.1" [dependencies.clap] version = "4" features = [ "derive", "wrap_help", "string", ] optional = true [dependencies.flexstr] version = "0.9.2" features = [ "int_convert", "serde", ] [dependencies.hound] version = "3.5.1" [dependencies.human-panic] version = "2" optional = true [dependencies.lalrpop-util] version = "0.22" [dependencies.miette] version = "7" features = ["fancy-no-syscall"] [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.object] version = "0.36" features = [ "write_core", "write_std", "elf", ] optional = true default-features = false [dependencies.parking_lot] version = "0.12" [dependencies.proc-macro2] version = "^1.0.86" [dependencies.shadow-rs] version = "0.35" features = ["metadata"] optional = true default-features = false [dependencies.spcasm_derive] version = "1.2.0" [dependencies.thiserror] version = "1" [dev-dependencies.reqwest] version = "0.12" features = ["blocking"] [dev-dependencies.trycmd] version = "0.15" features = ["filesystem"] default-features = false [build-dependencies.lalrpop] version = "0.22" default-features = false [build-dependencies.shadow-rs] version = "0.35" optional = true default-features = false [features] binaries = [ "dep:clap", "dep:object", "dep:shadow-rs", ] default = ["binaries"] [lints.clippy] all = "deny" nursery = "deny" pedantic = "deny" [lints.rust] incomplete_features = "allow" non_upper_case_globals = "allow" [lints.rust.missing_docs] level = "deny" priority = -10 [lints.rust.unused] level = "deny" priority = -10 [lints.rustdoc] all = "deny"