Skip to content

Commit

Permalink
x509-tsp: use a direct dependency on x509-cert
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
  • Loading branch information
baloo committed Aug 1, 2023
1 parent b476c2e commit d9caff5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions x509-tsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ rust-version = "1.65"
der = { version = "0.7.6", features = ["alloc", "derive", "oid", "pem"] }
cms = { version = "0.2.1", features = ["alloc", "std"] }
cmpv2 = { version = "0.2", features = ["alloc", "std"] }
x509-cert = { version = "0.2.4", default-features = false }

[dev-dependencies]
hex-literal = "0.4.1"
12 changes: 5 additions & 7 deletions x509-tsp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
use cmpv2::status::PkiStatusInfo;
use cms::{
cert::x509::{
ext::{pkix::name::GeneralName, Extensions},
spki::AlgorithmIdentifier,
},
content_info::ContentInfo,
};
use cms::content_info::ContentInfo;
use der::{
asn1::{GeneralizedTime, Int, OctetString},
oid::ObjectIdentifier,
Any, Enumerated, Sequence,
};
use x509_cert::{
ext::{pkix::name::GeneralName, Extensions},
spki::AlgorithmIdentifier,
};

#[derive(Clone, Copy, Debug, Enumerated, Eq, PartialEq, PartialOrd, Ord)]
#[asn1(type = "INTEGER")]
Expand Down

0 comments on commit d9caff5

Please sign in to comment.