content: [package]
  name = "mz-license-keys"
  description = "Implementation of license keys for Materialize."
  version = "0.0.0"
  edition.workspace = true
  rust-version.workspace = true
  publish = false
  
  [[example]]
  name = "get-public-key"
  required-features = ["signing"]
  
  [[example]]
  name = "sign"
  required-features = ["signing"]
  
  [dependencies]
  anyhow = "1.0.100"
  jsonwebtoken = "9.3.1"
  serde = { version = "1.0.219", features = ["derive"] }
  
  aws-sdk-kms = { version = "1.38.0", default-features = false, features = ["rt-tokio"], optional = true }
  base64 = { version = "0.22.1", optional = true }
  pem = { version = "3.0.5", optional = true }
  serde_json = { version = "1.0.145", optional = true }
  sha2 = { version = "0.10.9", optional = true }
  uuid = { version = "1.18.1", features = ["v4"], optional = true }
  
  workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }
  
  [dev-dependencies]
  clap = { version = "4.5.23", features = ["derive"] }
  mz-aws-util = { path = "../aws-util" }
  tokio = { version = "1.44.1", features = ["macros", "rt-multi-thread"] }
  
  [features]
  default = ["workspace-hack"]
  signing = ["aws-sdk-kms", "base64", "pem", "serde_json", "sha2", "uuid"]
  
  [lints]
  workspace = true
  
  [package.metadata.cargo-udeps.ignore]
  normal = ["workspace-hack"]
  development = ["tokio", "mz-aws-util"]
  
  [package.metadata.cargo-gazelle.lib]
  compile_data = ["src/license_keys/*.pub"]
  