content: [package]
  name = "socks-hub"
  version = "0.2.3"
  license = "MIT"
  repository = "https://github.com/ssrlive/socks-hub"
  homepage = "https://github.com/ssrlive/socks-hub"
  authors = ["ssrlive", "cssivision <cssivision@gmail.com>"]
  description = "Convert http proxy or socks5 proxy to socks5 proxy."
  readme = "README.md"
  edition = "2024"
  rust-version = "1.85"
  
  [package.metadata.docs.rs]
  all-features = true
  
  [lib]
  name = "socks_hub_core"
  crate-type = ["staticlib", "cdylib", "lib"]
  
  [[bin]]
  name = "socks-hub"
  required-features = ["sockshub", "acl"]
  
  [features]
  default = ["sockshub", "acl"]
  acl = ["idna", "ipnet", "iprange", "regex", "socks5-impl", "tokio", "log"]
  sockshub = [
      "base64easy",
      "socks5-impl",
      "tokio",
      "tokio-util",
      "ctrlc2",
      "env_logger",
      "serde",
      "serde_derive",
      "serde_json",
      "clap",
      "chrono",
      "http-body-util",
      "hyper",
      "dotenvy",
      "bytes",
      "pin-project-lite",
      "log",
      "percent-encoding",
      "url",
  ]
  
  [dependencies]
  base64easy = { version = "0.1", optional = true }
  bytes = { version = "1.6", optional = true }
  cfg-if = "1.0"
  chrono = { version = "0.4", optional = true }
  clap = { version = "4", features = ["derive", "wrap_help"], optional = true }
  ctrlc2 = { version = "3.5", features = [
      "termination",
      "async",
  ], optional = true }
  dotenvy = { version = "0.15", optional = true }
  env_logger = { version = "0.11", optional = true }
  http-body-util = { version = "0.1", optional = true }
  hyper = { version = "1.2", features = ["full"], optional = true }
  idna = { version = "1.0", optional = true }
  ipnet = { version = "2.9", optional = true }
  iprange = { version = "0.6", optional = true }
  log = { version = "0.4", optional = true }
  percent-encoding = { version = "2", optional = true }
  pin-project-lite = { version = "0.2", optional = true }
  regex = { version = "1.10", optional = true }
  serde = { version = "1.0", optional = true }
  serde_derive = { version = "1.0", optional = true }
  serde_json = { version = "1.0", optional = true }
  socks5-impl = { version = "0.7", default-features = false, features = [
      "client",
      "server",
  ], optional = true }
  tokio = { version = "1", features = ["full"], optional = true }
  tokio-util = { version = "0.7", optional = true }
  url = { version = "2", optional = true }
  