# 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 = "rustlings" version = "6.4.0" authors = [ "Mo Bitar ", "Liv ", "Carol (Nichols || Goulding) ", ] build = false include = [ "/src/", "/exercises/", "/solutions/", "/dev-Cargo.toml", "/README.md", "/LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Small exercises to get you used to reading and writing Rust code!" readme = "README.md" keywords = [ "exercise", "learning", ] license = "MIT" repository = "https://github.com/rust-lang/rustlings" [package.metadata.release] pre-release-commit-message = "Release 🎉" pre-release-hook = ["./release-hook.sh"] [profile.dev] panic = "abort" [profile.release] panic = "abort" [[bin]] name = "rustlings" path = "src/main.rs" [dependencies.anyhow] version = "1.0.93" [dependencies.clap] version = "4.5.20" features = ["derive"] [dependencies.crossterm] version = "0.28.1" features = [ "windows", "events", ] default-features = false [dependencies.notify] version = "7.0.0" [dependencies.os_pipe] version = "1.2.1" [dependencies.rustlings-macros] version = "=6.4.0" [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.toml_edit] version = "0.22.22" features = [ "parse", "serde", ] default-features = false [dev-dependencies.tempfile] version = "3.14.0" [target."cfg(not(windows))".dependencies.rustix] version = "0.38.38" features = [ "std", "stdio", "termios", ] default-features = false [lints.clippy] dbg_macro = "warn" disallowed-methods = "deny" disallowed-types = "deny" empty_loop = "forbid" infinite_loop = "deny" mem_forget = "deny" needless_option_as_deref = "allow" todo = "warn" [lints.rust] unsafe_code = "forbid" unstable_features = "forbid"