content: [package]
  name = "icy_term"
  version = "0.7.4"
  edition = "2021"
  authors = ["Mike Krüger <mkrueger@posteo.de>"]
  description = "A terminal program supporting CP437, PetScii and ViewData"
  license = "Apache-2.0"
  repository = "https://github.com/mkrueger/icy_term"
  
  [dependencies]
  egui = "0.27.2"
  eframe = { version = "0.27.2", default-features = false, features = [
      "accesskit",     # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
      "default_fonts", # Embed the default egui fonts.
      "glow",          # Use the glow rendering backend. Alternative: "wgpu".
      "persistence",   # Enable restoring app state when restarting the app.
  ] }
  egui_extras = { version="0.27.2", features = ["all_loaders"] }
  egui_glow = "0.27.2"
  egui-modal = "0.3.3"
  egui-bind = "0.12.0"
  egui_file = "0.17.0"
  glow = "0.13.0"
  dark-light = "1.0.0"
  serde = "1.0.185"
  versions = "6.1.0"
  regex = "1.5.4"
  github_release_check = "0.2.1"
  semver = "1.0.20"
  serial = "0.4.0"
  
  #sound
  rodio = { version = "0.17.1" , default-features = false, features = [] }
  icy_engine = { git ="https://github.com/mkrueger/icy_engine" }
  icy_engine_gui = { git ="https://github.com/mkrueger/icy_engine" }
  #icy_engine = { path = "../icy_engine" }
  #icy_engine_gui = { path = "../icy_engine" }
  
  walkdir = "2"
  toml = "0.8.1"
  
  lazy_static = "1.4.0"
  notify = "6.0.0"
  gabi = "0.2.6"
  arboard = { version = "3.2.1" }
  chrono = "0.4.26"  # Utc hanldung
  thiserror = "1.0"
  anyhow = "1.0.75"
  
  i18n-embed-fl = "0.8.0"
  # currently disabled because there needs to be a fix for wasm32:
  #rust-embed = "6.8.1"
  once_cell = "1.18.0"
  
  log = "0.4"
  log4rs = "1.2.0"
  web-time = "1.0.0"
  
  # WebSocket support
  tungstenite = { version = "0.21.0", features = [
      "rustls-tls-webpki-roots", # webpki root CAs
      "__rustls-tls",            # use Rustls
  ]}
  
  http = "1.0.0"
  url = "2.4.0"
  rustls = { version = "0.22.2", features = [
      "tls12",
   #   "dangerous_configuration"  # Allow invalid certs/etc.
  ]}
  webpki-roots = "0.26.0"
  getrandom =  { version = "0.2.10", features = ["js"] }
  
  [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  directories = "5.0.1"
  open = "5.0.0"
  i18n-embed = { version = "0.14.0", features = ["fluent-system", "desktop-requester"]}
  tracing-subscriber = "0.3"
  libssh-rs =  { version = "0.2.0", features = ["vendored", "vendored-openssl"] }
  
  # web:
  [target.'cfg(target_arch = "wasm32")'.dependencies]
  i18n-embed = { version = "0.14.0", features = ["fluent-system", "web-sys-requester"]}
  console_error_panic_hook = "0.1.7"
  tracing-wasm = "0.2"
  wasm-bindgen-futures = "0.4"
  wasm_thread = { version = "0.2.0", features = ["es_modules"]}
  
  [build-dependencies]
  winres = "0.1"
  
  [profile.release]
  opt-level = 'z'     # Optimize for size
  lto = true          # Enable link-time optimization
  codegen-units = 1   # Reduce number of codegen units to increase optimizations
  panic = 'abort'     # Abort on panic
  strip = true        # Strip symbols from binary*
  
  [package.metadata.bundle]
  name = "Icy Term"
  identifier = "com.github.icy_term"
  icon = [ "build/mac/128x128@2x.png" ]
  resources = []
  copyright = "Copyright (c) Mike Krüger 2022. All rights reserved."
  
  [package.metadata.deb]
  section="Network"
  copyright = "Copyright (c) Mike Krüger 2022. All rights reserved."
  revision=""
  license-file="build/license.rtf"
  depends = "libasound2"
  assets = [
      ["target/release/icy_term", "/usr/bin/", "755"],
      ["build/linux/icy_term.desktop", "/usr/share/applications/", "644"],
      ["build/linux/128x128.png", "/usr/share/icons/hicolor/128x128/apps/icy_term.png", "644"],
      ["build/linux/256x256.png", "/usr/share/icons/hicolor/256x256/apps/icy_term.png", "644"],
  ]
  
  