Skip to content

Commit 3ddbb77

Browse files
committed
[tech] Rename crate into 'relational_types'
1 parent becc13d commit 3ddbb77

File tree

15 files changed

+29
-29
lines changed

15 files changed

+29
-29
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
with:
2121
command: login
2222
args: -- ${{ secrets.CARGO_TOKEN }}
23-
- name: Publish relations_procmacro
23+
- name: Publish relational_types_procmacro
2424
uses: actions-rs/cargo@v1
2525
with:
2626
command: publish
27-
args: --manifest-path relations_procmacro/Cargo.toml
28-
- name: Publish relations
27+
args: --manifest-path relational_types_procmacro/Cargo.toml
28+
- name: Publish relational_types
2929
uses: actions-rs/cargo@v1
3030
with:
3131
command: publish

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
[package]
2-
name = "relations"
2+
name = "relational_types"
33
description = "Manage relations between objects"
44
version = "1.0.0"
55
authors = ["Kisio Digital <team.coretools@kisio.org>", "Guillaume Pinot <texitoi@texitoi.eu>"]
66
edition = "2018"
77
license = "MIT"
8-
homepage = "https://github.com/CanalTP/relations"
9-
repository = "https://github.com/CanalTP/relations"
10-
documentation = "https://docs.rs/relations"
8+
homepage = "https://github.com/CanalTP/relational_types"
9+
repository = "https://github.com/CanalTP/relational_types"
10+
documentation = "https://docs.rs/relational_types"
1111
readme = "README.md"
1212

1313
keywords = ["relation", "collection"]
1414

1515
[workspace]
1616
members = [
17-
"relations_procmacro",
18-
"relations_procmacro_tests",
17+
"relational_types_procmacro",
18+
"relational_types_procmacro_tests",
1919
]
2020

2121
[dependencies]
2222
derivative = "1"
23-
relations_procmacro = { version = "1", path = "./relations_procmacro/", optional = true }
23+
relational_types_procmacro = { version = "1", path = "./relational_types_procmacro/", optional = true }
2424
thiserror = "1"
2525
typed_index_collection = "1"
2626

2727
[features]
28-
default = ["relations_procmacro"]
28+
default = ["relational_types_procmacro"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# relations
1+
# relational_types
22
Modeling the relations between objects.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "relations_procmacro"
2+
name = "relational_types_procmacro"
33
description = "Procmacro to help create relations between objects"
44
version = "1.0.0"
55
authors = ["Kisio Digital <team.coretools@kisio.org>", "Guillaume Pinot <texitoi@texitoi.eu>"]
66
edition = "2018"
77
license = "MIT"
8-
repository = "https://github.com/CanalTP/relations"
8+
repository = "https://github.com/CanalTP/relational_types"
99
keywords = ["macro", "floyd_marshall"]
1010

1111
[lib]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Custom derive for GetCorresponding. See `relations` for the documentation.
1+
//! Custom derive for GetCorresponding. See `relational_types` for the documentation.
22
33
#![recursion_limit = "128"]
44

relations_procmacro_tests/Cargo.toml renamed to relational_types_procmacro_tests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "relations_procmacro_tests"
2+
name = "relational_types_procmacro_tests"
33
version = "0.0.0"
44
authors = ["Kisio Digital <team.coretools@kisio.org>", "Guillaume Pinot <texitoi@texitoi.eu>"]
55
edition = "2018"
@@ -10,7 +10,7 @@ autotests = false
1010
pretty_assertions = "0.6"
1111
trybuild = "1"
1212
typed_index_collection = "1"
13-
relations = { version = "1", path = "../" }
13+
relational_types = { version = "1", path = "../" }
1414

1515
[[test]]
1616
name = "tests"

relations_procmacro_tests/tests/01-get-corresponding.rs renamed to relational_types_procmacro_tests/tests/01-get-corresponding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mod test_utils;
22

3-
use relations::*;
3+
use relational_types::*;
44
use test_utils::*;
55
use typed_index_collection::*;
66

relations_procmacro_tests/tests/02-invalid-weight.rs renamed to relational_types_procmacro_tests/tests/02-invalid-weight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mod test_utils;
22

3-
use relations::*;
3+
use relational_types::*;
44
use test_utils::*;
55
use typed_index_collection::*;
66

relations_procmacro_tests/tests/02-invalid-weight.stderr renamed to relational_types_procmacro_tests/tests/02-invalid-weight.stderr

File renamed without changes.

relations_procmacro_tests/tests/03-non-supported-argument.rs renamed to relational_types_procmacro_tests/tests/03-non-supported-argument.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mod test_utils;
22

3-
use relations::*;
3+
use relational_types::*;
44
use test_utils::*;
55
use typed_index_collection::*;
66

0 commit comments

Comments
 (0)