# 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" name = "mos-hardware" version = "0.4.0" authors = ["Mikael Lund "] description = "Hardware register tables and support functions for 8-bit retro computers like the Commodore 64, MEGA65 and others." homepage = "https://github.com/mlund/mos-hardware" documentation = "https://docs.rs/mos-hardware" readme = "README.md" keywords = [ "c64", "mega65", "8-bit", "llvm-mos", "6502", ] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mlund/mos-hardware" [package.metadata.docs.rs] features = ["docs-rs"] [profile.dev] opt-level = 2 lto = true codegen-units = 1 debug = 2 [profile.release] opt-level = "s" lto = true debug = 0 panic = "abort" strip = true [lib] doctest = false [dependencies.bitflags] version = "1" [dependencies.const-str] version = "0.5" [dependencies.genio] version = "0.2" default-features = false [dependencies.memoffset] version = "0.9" features = ["unstable_const"] [dependencies.rand_core] version = "0.6" [dependencies.static_assertions] version = "1.1" [dependencies.volatile-register] version = "0.2" [dev-dependencies.itertools] version = "0.12" default-features = false [dev-dependencies.mos-alloc] version = "0.2" [dev-dependencies.rand] version = "0.8" default-features = false [dev-dependencies.ufmt-stdio] version = "0.4" [build-dependencies.bindgen] version = "0.69" optional = true [build-dependencies.cc] version = "1.0" optional = true [features] c64 = [ "cc", "cia", "petscii", "sid", "vic2", ] cia = [] cx16 = [ "cia", "petscii", "vera", ] default = [ "c64", "cx16", "mega65", "petscii", "vera", "sid", "vic2", ] docs-rs = [] mega65 = [ "cc", "bindgen", "petscii", "sid", "vic2", ] petscii = [] sid = [] vera = [] vic2 = []