@@ -32,6 +32,7 @@ dsa = { version = "0.7", optional = true, default-features = false, features = [
3232ed25519-dalek = { version = " 3" , optional = true , default-features = false }
3333hex = { version = " 0.4" , optional = true , default-features = false , features = [" alloc" ] }
3434hmac = { version = " 0.13" , optional = true }
35+ ml-dsa = { version = " 0.1" , optional = true , default-features = false , features = [" alloc" , " zeroize" ] }
3536p256 = { version = " 0.14" , optional = true , default-features = false , features = [" ecdsa" ] }
3637p384 = { version = " 0.14" , optional = true , default-features = false , features = [" ecdsa" ] }
3738p521 = { version = " 0.14" , optional = true , default-features = false , features = [" ecdsa" ] }
@@ -51,7 +52,7 @@ default = ["ecdsa", "rand_core", "std"]
5152alloc = [" encoding/alloc" , " signature/alloc" , " zeroize/alloc" , ]
5253std = [" alloc" ]
5354
54- crypto = [" ed25519" , " p256" , " p384" , " p521" , " rsa" ] # NOTE: `dsa` is obsolete/weak
55+ crypto = [" ed25519" , " mldsa " , " p256" , " p384" , " p521" , " rsa" ] # NOTE: `dsa` is obsolete/weak
5556dsa = [" dep:dsa" , " dep:sha1" , " alloc" , " encoding/bigint" , " signature/rand_core" ]
5657ecdsa = [" dep:sec1" ]
5758ed25519 = [" dep:ed25519-dalek" , " rand_core" ]
@@ -63,6 +64,8 @@ encryption = [
6364 " rand_core"
6465]
6566getrandom = [" cipher/getrandom" , " rand_core" ]
67+ # This is based on draft-sfluhrer-ssh-mldsa, which is still in draft and has not been adopted
68+ mldsa = [" dep:ml-dsa" , " alloc" , " rand_core" ]
6669p256 = [" dep:p256" , " ecdsa" ]
6770p384 = [" dep:p384" , " ecdsa" ]
6871p521 = [" dep:p521" , " ecdsa" ]
0 commit comments