lib.rs 991 B

1234567891011121314151617181920212223242526
  1. mod error;
  2. mod mint;
  3. mod types;
  4. mod wallet;
  5. mod ffi {
  6. pub use cashu_ffi::{
  7. Amount, BlindedMessage, BlindedSignature, Bolt11Invoice, CashuError, CheckSpendableRequest,
  8. CheckSpendableResponse, CurrencyUnit, Id, InvoiceStatus, KeyPair, KeySet, KeySetInfo,
  9. KeySetResponse, Keys, KeysResponse, MeltBolt11Request, MeltBolt11Response,
  10. MeltQuoteBolt11Request, MeltQuoteBolt11Response, MintBolt11Request, MintBolt11Response,
  11. MintInfo, MintKeySet, MintProof, MintProofs, MintQuoteBolt11Request,
  12. MintQuoteBolt11Response, MintVersion, Nut05MeltBolt11Request, Nut05MeltBolt11Response,
  13. PreMintSecrets, Proof, PublicKey, Secret, SecretKey, SwapRequest, SwapResponse, Token,
  14. };
  15. pub use crate::error::CashuSdkError;
  16. pub use crate::mint::Mint;
  17. pub use crate::types::{Melted, MintKeySetInfo, ProofsStatus, SendProofs};
  18. pub use crate::wallet::Wallet;
  19. // UDL
  20. uniffi::include_scaffolding!("cashu_sdk");
  21. }
  22. pub use ffi::*;