content: [package]
  name = "wallet_account"
  version.workspace = true
  edition.workspace = true
  rust-version.workspace = true
  
  [lints]
  workspace = true
  
  [lib]
  doctest = false
  
  [[test]]
  name = "registration"
  path = "tests/registration.rs"
  required-features = ["integration_test"]
  
  [features]
  client = ["dep:futures", "dep:p256", "dep:thiserror", "dep:platform_support", "dep:error_category"]
  server = ["dep:p256", "dep:thiserror", "dep:apple_app_attest"]
  integration_test = ["client", "server", "dep:rustls-pki-types", "dep:android_attest"]
  
  [dependencies]
  chrono = { workspace = true, features = ["std", "serde"] }
  derive_more = { workspace = true, features = ["constructor"] }
  semver = { workspace = true, features = ["serde"] }
  serde = { workspace = true, features = ["derive"] }
  serde_json = { workspace = true, features = ["std", "raw_value"] }
  serde_with = { workspace = true, features = ["base64"] }
  strum = { workspace = true, features = ["derive"] }
  uuid = { workspace = true, features = ["v4", "serde"] }
  
  crypto.path = "../../lib/crypto"
  jwt.path = "../../lib/jwt"
  sd_jwt.path = "../../lib/sd_jwt"
  utils.path = "../../lib/utils"
  wscd.path = "../../lib/wscd"
  
  futures = { workspace = true, optional = true, features = ["std"] }
  p256 = { workspace = true, optional = true, features = ["ecdsa", "pem", "std"] }
  thiserror = { workspace = true, optional = true }
  rustls-pki-types = { workspace = true, optional = true }
  
  android_attest = { path = "../../lib/android_attest", optional = true, features = ["mock"] }
  apple_app_attest = { path = "../../lib/apple_app_attest", optional = true }
  platform_support = { path = "../../wallet/platform_support", optional = true }
  error_category = { path = "../../lib/error_category", optional = true }
  
  [dev-dependencies]
  assert_matches.workspace = true
  futures = { workspace = true, features = ["std"] }
  rand_core.workspace = true
  rstest.workspace = true
  
  apple_app_attest = { path = "../../lib/apple_app_attest", features = ["mock"] }
  crypto = { path = "../../lib/crypto", features = ["mock_secure_keys"] }
  platform_support = { path = "../../wallet/platform_support", features = ["mock_attested_key_apple"] }
  