mirror of
				https://github.com/BitskiCo/jwk-rs
				synced 2025-10-31 01:04:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| name = "jsonwebkey"
 | |
| version = "0.3.1"
 | |
| authors = ["Nick Hynes <nhynes@nhynes.com>"]
 | |
| description = "JSON Web Key (JWK) (de)serialization, generation, and conversion."
 | |
| readme = "README.md"
 | |
| repository = "https://github.com/nhynes/jwk-rs"
 | |
| license = "MIT"
 | |
| edition = "2018"
 | |
| 
 | |
| [dependencies]
 | |
| base64        = "0.12"
 | |
| bitflags      = "1.2"
 | |
| generic-array = "0.14"
 | |
| jsonwebtoken  = { version = "7.2", optional = true }
 | |
| num-bigint    = { version = "0.2", optional = true }
 | |
| p256          = { version = "0.3", optional = true }
 | |
| rand          = { version = "0.7", optional = true }
 | |
| serde         = { version = "1.0", features = ["derive"] }
 | |
| serde_json    = "1.0"
 | |
| thiserror     = "1.0"
 | |
| yasna         = { version = "0.3", optional = true, features = ["num-bigint"] }
 | |
| zeroize       = { version = "1.1", features = ["zeroize_derive"] }
 | |
| 
 | |
| [features]
 | |
| pkcs-convert = ["num-bigint", "yasna"]
 | |
| jwt-convert  = ["pkcs-convert", "jsonwebtoken"]
 | |
| generate     = ["p256", "rand"]
 | |
| 
 | |
| [dev-dependencies]
 | |
| jsonwebtoken = "7.2"
 | |
| 
 | |
| [package.metadata.docs.rs]
 | |
| all-features = true
 | 
