Skip to content

Commit

Permalink
Move der/derive => der_derive
Browse files Browse the repository at this point in the history
Flattens the package namespace so the directory name matches the crate
name.

This avoids repackaging `der_derive` inside of the `der` crate
accidentally.
  • Loading branch information
tarcieri committed Jul 26, 2024
1 parent 1c23f2b commit 563ae9f
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 29 deletions.
50 changes: 25 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ members = [
"const-oid",
"crmf",
"der",
"der/derive",
"der_derive",
"gss-api",
"pem-rfc7468",
"pkcs1",
Expand All @@ -35,29 +35,29 @@ opt-level = 2
# A global patch crates-io block is used to avoid cyclic dependencies errors
# If we use other crates from the RustCrypto ecosystem, they may pull redundant
# versions of dependencies.
base16ct = { path = "./base16ct" }
base32ct = { path = "./base32ct" }
base64ct = { path = "./base64ct" }
cmpv2 = { path = "./cmpv2" }
cms = { path = "./cms" }
const-oid = { path = "./const-oid" }
crmf = { path = "./crmf" }
der = { path = "./der" }
der_derive = { path = "./der/derive" }
pem-rfc7468 = { path = "./pem-rfc7468" }
pkcs1 = { path = "./pkcs1" }
pkcs5 = { path = "./pkcs5" }
pkcs8 = { path = "./pkcs8" }
pkcs12 = { path = "./pkcs12" }
sec1 = { path = "./sec1" }
serdect = { path = "./serdect" }
spki = { path = "./spki" }
tai64 = { path = "./tai64" }
tls_codec = { path = "./tls_codec" }
tls_codec_derive = { path = "./tls_codec/derive" }
x509-tsp = { path = "./x509-tsp" }
x509-cert = { path = "./x509-cert" }
x509-ocsp = { path = "./x509-ocsp" }
base16ct = { path = "./base16ct" }
base32ct = { path = "./base32ct" }
base64ct = { path = "./base64ct" }
cmpv2 = { path = "./cmpv2" }
cms = { path = "./cms" }
const-oid = { path = "./const-oid" }
crmf = { path = "./crmf" }
der = { path = "./der" }
der_derive = { path = "./der_derive" }
pem-rfc7468 = { path = "./pem-rfc7468" }
pkcs1 = { path = "./pkcs1" }
pkcs5 = { path = "./pkcs5" }
pkcs8 = { path = "./pkcs8" }
pkcs12 = { path = "./pkcs12" }
sec1 = { path = "./sec1" }
serdect = { path = "./serdect" }
spki = { path = "./spki" }
tai64 = { path = "./tai64" }
tls_codec = { path = "./tls_codec" }
tls_codec_derive = { path = "./tls_codec/derive" }
x509-tsp = { path = "./x509-tsp" }
x509-cert = { path = "./x509-cert" }
x509-ocsp = { path = "./x509-ocsp" }


# Pending a release of 0.14.0-pre.1
Expand All @@ -67,7 +67,7 @@ whirlpool = { git = "https://github.com/RustCrypto/hashes.git" }
# Pending a release of 0.2.0-pre
cbc = { git = "https://github.com/RustCrypto/block-modes.git" }
# Pending a release of 0.11.0-pre
salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
# Pending a release of 0.11.0-pre
aes-gcm = { git = "https://github.com/RustCrypto/AEADs.git" }
aead = { git = "https://github.com/RustCrypto/traits.git" }
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion der/derive/Cargo.toml → der_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Custom derive support for the `der` crate's `Choice` and `Sequenc
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/der"
homepage = "https://github.com/RustCrypto/formats/tree/master/der/derive"
homepage = "https://github.com/RustCrypto/formats/tree/master/der_derive"
repository = "https://github.com/RustCrypto/formats"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
keywords = ["asn1", "der", "crypto", "itu", "pkcs"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions x509-cert/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ x509-cert = "*"
members = ["."]

[patch.crates-io]
der = { path = "../../der" }
der_derive = { path = "../../der/derive" }
der = { path = "../../der" }
der_derive = { path = "../../der_derive" }
pem-rfc7468 = { path = "../../pem-rfc7468" }
spki = { path = "../../spki" }
spki = { path = "../../spki" }

0 comments on commit 563ae9f

Please sign in to comment.