Skip to content

Commit

Permalink
Prevent github from analyzing examples. (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjoy committed Jun 22, 2023
1 parent a43d80f commit 47ee9e9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ members = [
"phper-doc",

# internal
"examples/complex",
"examples/hello",
"examples/http-client",
"examples/http-server",
"examples/logging",
"examples/*",
"tests/integration",
]

Expand Down
3 changes: 2 additions & 1 deletion examples/complex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the Mulan PSL v2 for more details.

[package]
name = "complex"
name = "phper-example-complex"
version = "0.0.0"
authors = { workspace = true }
edition = { workspace = true }
Expand All @@ -18,6 +18,7 @@ publish = false
license = { workspace = true }

[lib]
name = "complex"
crate-type = ["lib", "cdylib"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion examples/hello/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the Mulan PSL v2 for more details.

[package]
name = "hello"
name = "phper-example-hello"
version = "0.0.0"
publish = false
authors = { workspace = true }
Expand All @@ -18,6 +18,7 @@ rust-version = { workspace = true }
license = { workspace = true }

[lib]
name = "hello"
crate-type = ["lib", "cdylib"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion examples/http-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the Mulan PSL v2 for more details.

[package]
name = "http-client"
name = "phper-example-http-client"
version = "0.0.0"
authors = { workspace = true }
edition = { workspace = true }
Expand All @@ -18,6 +18,7 @@ publish = false
license = { workspace = true }

[lib]
name = "http_client"
crate-type = ["lib", "cdylib"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion examples/http-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the Mulan PSL v2 for more details.

[package]
name = "http-server"
name = "phper-example-http-server"
version = "0.0.0"
authors = { workspace = true }
edition = { workspace = true }
Expand All @@ -18,6 +18,7 @@ publish = false
license = { workspace = true }

[lib]
name = "http_server"
crate-type = ["lib", "cdylib"]

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion examples/logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# See the Mulan PSL v2 for more details.

[package]
name = "logging"
name = "phper-example-logging"
version = "0.0.0"
authors = { workspace = true }
edition = { workspace = true }
Expand All @@ -18,6 +18,7 @@ publish = false
license = { workspace = true }

[lib]
name = "logging"
crate-type = ["lib", "cdylib"]

[dependencies]
Expand Down

0 comments on commit 47ee9e9

Please sign in to comment.