# 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 = "2024"
rust-version = "1.95"
name = "o2-rs"
version = "0.2.5"
authors = ["René Coignard <contact@renecoignard.com>"]
build = false
exclude = [".github/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of the ORCΛ esoteric programming language and terminal livecoding environment"
homepage = "https://coignard.org/o2"
readme = "README.md"
keywords = [
    "midi",
    "sequencer",
    "livecoding",
    "tui",
    "orca",
]
categories = [
    "command-line-utilities",
    "multimedia::audio",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/coignard/o2"

[lib]
name = "o2_rs"
path = "src/lib.rs"

[[bin]]
name = "o2"
path = "src/main.rs"

[[bench]]
name = "engine_bench"
path = "benches/engine_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0.102"

[dependencies.arboard]
version = "3.6.1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.crossterm]
version = "0.29.0"

[dependencies.midir]
version = "0.11.0"

[dependencies.ratatui]
version = "0.30.0"

[dependencies.rosc]
version = "0.11.4"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.proptest]
version = "1.11.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
