Skip to content

Commit

Permalink
build: format and improve Cargo.toml syntax
Browse files Browse the repository at this point in the history
- Add missing `publish = false`.
- Correct exclude syntax.
  • Loading branch information
Taowyoo committed Apr 20, 2024
1 parent 126d7ce commit 73d7e6a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ members = [
"em-app",
"em-app/examples/get-certificate/",
]
exclude = ["examples"]
exclude = ["examples/*"]
resolver = "2"

[patch.crates-io]
libc = { git = "https://github.com/fortanix/libc.git", branch = "fortanixvme" }
nix = { git = "https://github.com/fortanix/nix.git", branch = "raoul/fortanixvme_r0.20.2" }
libc = { git = "https://github.com/fortanix/libc.git", branch = "fortanixvme" }
nix = { git = "https://github.com/fortanix/nix.git", branch = "raoul/fortanixvme_r0.20.2" }
serde = { git = "https://github.com/fortanix/serde.git", branch = "master" }
vsock = { git = "https://github.com/fortanix/vsock-rs.git", branch = "fortanixvme" }
rustc-serialize = { git = "https://github.com/fortanix/rustc-serialize.git", branch = "portability" }
1 change: 1 addition & 0 deletions examples/backtrace_panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ name = "backtrace_panic"
version = "0.1.0"
authors = ["Fortanix, Inc."]
edition = "2018"
publish = false

[dependencies]
1 change: 1 addition & 0 deletions examples/mem-alloc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "mem-alloc-test"
version = "1.0.0"
edition = "2021"
authors = ["Fortanix, Inc."]
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions examples/mem-correctness-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "mem-correctness-test"
version = "0.1.0"
edition = "2021"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
1 change: 1 addition & 0 deletions examples/mpsc-crypto-mining/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "mpsc-crypto-mining"
version = "0.1.0"
authors = ["belfz <[email protected]>"]
publish = false

[dependencies]
easy-hash = "0.1.0"
Expand Down
1 change: 1 addition & 0 deletions examples/unit_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rust-sgx-ut"
version = "0.1.0"
authors = ["Fortanix, Inc."]
publish = false

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand Down
1 change: 1 addition & 0 deletions examples/usercall-extension-bind/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ name = "app"
version = "0.1.0"
authors = ["Vardhan Thigle <[email protected]>"]
edition = "2018"
publish = false

[dependencies]
1 change: 1 addition & 0 deletions examples/usercall-extension-bind/runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["Fortanix, Inc."]
license = "MPL-2.0"
edition = "2018"
publish = false

[dependencies]
aesm-client = { version = "0.5.0", features = ["sgxs"], path="../../../intel-sgx/aesm-client"}
Expand Down
1 change: 1 addition & 0 deletions examples/usercall-extension/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ name = "app"
version = "0.1.0"
authors = ["Vardhan Thigle <[email protected]>"]
edition = "2018"
publish = false

[dependencies]
1 change: 1 addition & 0 deletions examples/usercall-extension/runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["Fortanix, Inc."]
license = "MPL-2.0"
edition = "2018"
publish = false

[dependencies]
aesm-client = { version = "0.5.0", features = ["sgxs"], path="../../../intel-sgx/aesm-client"}
Expand Down

0 comments on commit 73d7e6a

Please sign in to comment.