Skip to content

Commit 47ee9e9

Browse files
authored
Prevent github from analyzing examples. (#129)
1 parent a43d80f commit 47ee9e9

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ members = [
1919
"phper-doc",
2020

2121
# internal
22-
"examples/complex",
23-
"examples/hello",
24-
"examples/http-client",
25-
"examples/http-server",
26-
"examples/logging",
22+
"examples/*",
2723
"tests/integration",
2824
]
2925

examples/complex/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the Mulan PSL v2 for more details.
1010

1111
[package]
12-
name = "complex"
12+
name = "phper-example-complex"
1313
version = "0.0.0"
1414
authors = { workspace = true }
1515
edition = { workspace = true }
@@ -18,6 +18,7 @@ publish = false
1818
license = { workspace = true }
1919

2020
[lib]
21+
name = "complex"
2122
crate-type = ["lib", "cdylib"]
2223

2324
[dependencies]

examples/hello/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the Mulan PSL v2 for more details.
1010

1111
[package]
12-
name = "hello"
12+
name = "phper-example-hello"
1313
version = "0.0.0"
1414
publish = false
1515
authors = { workspace = true }
@@ -18,6 +18,7 @@ rust-version = { workspace = true }
1818
license = { workspace = true }
1919

2020
[lib]
21+
name = "hello"
2122
crate-type = ["lib", "cdylib"]
2223

2324
[dependencies]

examples/http-client/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the Mulan PSL v2 for more details.
1010

1111
[package]
12-
name = "http-client"
12+
name = "phper-example-http-client"
1313
version = "0.0.0"
1414
authors = { workspace = true }
1515
edition = { workspace = true }
@@ -18,6 +18,7 @@ publish = false
1818
license = { workspace = true }
1919

2020
[lib]
21+
name = "http_client"
2122
crate-type = ["lib", "cdylib"]
2223

2324
[dependencies]

examples/http-server/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the Mulan PSL v2 for more details.
1010

1111
[package]
12-
name = "http-server"
12+
name = "phper-example-http-server"
1313
version = "0.0.0"
1414
authors = { workspace = true }
1515
edition = { workspace = true }
@@ -18,6 +18,7 @@ publish = false
1818
license = { workspace = true }
1919

2020
[lib]
21+
name = "http_server"
2122
crate-type = ["lib", "cdylib"]
2223

2324
[dependencies]

examples/logging/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the Mulan PSL v2 for more details.
1010

1111
[package]
12-
name = "logging"
12+
name = "phper-example-logging"
1313
version = "0.0.0"
1414
authors = { workspace = true }
1515
edition = { workspace = true }
@@ -18,6 +18,7 @@ publish = false
1818
license = { workspace = true }
1919

2020
[lib]
21+
name = "logging"
2122
crate-type = ["lib", "cdylib"]
2223

2324
[dependencies]

0 commit comments

Comments
 (0)