Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable publication at crates.io #98

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ license = "BSD"
description = "EDHOC crypto library dispatch crate"

[dependencies]
edhoc-consts = { path = "../consts", default-features = false }
edhoc-consts = { path = "../consts", version = "0.1.0", default-features = false }

# hacspec
edhoc-crypto-hacspec = { path = "./edhoc-crypto-hacspec", optional = true }
edhoc-crypto-hacspec = { path = "./edhoc-crypto-hacspec", version = "0.1.0", optional = true }

# cc2538 hardware accelerated
edhoc-crypto-cc2538 = { path = "./edhoc-crypto-cc2538", optional = true }
edhoc-crypto-cc2538 = { path = "./edhoc-crypto-cc2538", version = "0.1.0", optional = true }

# psa
edhoc-crypto-psa = { path = "./edhoc-crypto-psa", default-features = false, optional = true }
edhoc-crypto-psa = { path = "./edhoc-crypto-psa", version = "0.1.0", default-features = false, optional = true }

# cryptocell for nrf52840
edhoc-crypto-cryptocell310 = { path = "./edhoc-crypto-cryptocell310-sys", optional = true }
edhoc-crypto-cryptocell310 = { path = "./edhoc-crypto-cryptocell310-sys", version = "0.1.0", optional = true }

[features]
default = [ ]
Expand Down
2 changes: 1 addition & 1 deletion crypto/edhoc-crypto-cc2538/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "BSD"
description = "EDHOC crypto library cc2538 backend"

[dependencies]
edhoc-consts = { path = "../../consts" }
edhoc-consts = { path = "../../consts", version = "0.1.0" }
hacspec-lib = { version = "0.1.0-beta.1", default-features = false, features = [ "alloc" ] }
cortex-m = { version = "0.7.4" }
cortex-m-rt = { version = "0.7.1" }
Expand Down
2 changes: 1 addition & 1 deletion crypto/edhoc-crypto-hacspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "BSD"
description = "EDHOC crypto library hacspec backend"

[dependencies]
edhoc-consts = { path = "../../consts", default-features = false, features = ["hacspec"] }
edhoc-consts = { path = "../../consts", version = "0.1.0", default-features = false, features = ["hacspec"] }
hacspec-lib = { version = "0.1.0-beta.1", default-features = false }
hacspec-p256 = { version = "0.1.0" }
hacspec-hkdf = { version = "0.1.0" }
Expand Down
2 changes: 1 addition & 1 deletion crypto/edhoc-crypto-psa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "BSD"
description = "EDHOC crypto library PSA backend"

[dependencies]
edhoc-consts = { path = "../../consts" }
edhoc-consts = { path = "../../consts", version = "0.1.0" }
hacspec-lib = { version = "0.1.0-beta.1", default-features = false, features = [ "alloc" ], optional = true }
psa-crypto = { version = "0.9.2" }

Expand Down
6 changes: 3 additions & 3 deletions ead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ license = "BSD"
description = "EDHOC EAD library dispatch crate"

[dependencies]
edhoc-consts = { path = "../consts", default-features = false }
edhoc-consts = { path = "../consts", version = "0.1.0", default-features = false }

edhoc-ead-none = { path = "./edhoc-ead-none", optional = true }
edhoc-ead-zeroconf = { path = "./edhoc-ead-zeroconf", optional = true }
edhoc-ead-none = { path = "./edhoc-ead-none", version = "0.1.0", optional = true }
edhoc-ead-zeroconf = { path = "./edhoc-ead-zeroconf", version = "0.1.0", optional = true }

[features]
default = [ "ead-none" ]
Expand Down
2 changes: 1 addition & 1 deletion ead/edhoc-ead-none/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ license = "BSD"
description = "EDHOC EAD none (just a placeholder)"

[dependencies]
edhoc-consts = { path = "../../consts" }
edhoc-consts = { path = "../../consts", version = "0.1.0" }
2 changes: 1 addition & 1 deletion ead/edhoc-ead-zeroconf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ license = "BSD"
description = "EDHOC EAD zeroconf (draf-lake-authz)"

[dependencies]
edhoc-consts = { path = "../../consts" }
edhoc-consts = { path = "../../consts", version = "0.1.0" }
6 changes: 3 additions & 3 deletions hacspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description = "EDHOC implementation"

[dependencies]
hacspec-lib = { version = "0.1.0-beta.1", default-features = false, features = [ "alloc" ] }
edhoc-crypto = { path = "../crypto", default-features = false }
edhoc-ead = { path = "../ead", default-features = false }
edhoc-consts = { path = "../consts" }
edhoc-crypto = { path = "../crypto", version = "0.1.0", default-features = false }
edhoc-ead = { path = "../ead", version = "0.1.0", default-features = false }
edhoc-consts = { path = "../consts", version = "0.1.0" }

[features]
default = [ "edhoc-ead/edhoc-ead-none" ]
Expand Down
8 changes: 4 additions & 4 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ description = "EDHOC implementation in Rust"
hexlit = "0.5.3"
hex = { version = "0.4.3", default-features = false }

edhoc-hacspec = { path = "../hacspec", optional = true }
edhoc-hacspec = { path = "../hacspec", version = "0.1.0", optional = true }
hacspec-lib = { version = "0.1.0-beta.1", default-features = false, optional = true }
edhoc-crypto = { path = "../crypto", default-features = false }
edhoc-consts = { path = "../consts", default-features = false }
edhoc-ead = { path = "../ead", default-features = false }
edhoc-crypto = { path = "../crypto", version = "^0.1.0", default-features = false }
edhoc-consts = { path = "../consts", version = "0.1.0", default-features = false }
edhoc-ead = { path = "../ead", version = "0.1.0", default-features = false }
panic-semihosting = { version = "0.6.0", features = ["exit"], optional = true }

[build-dependencies]
Expand Down
Loading