-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
577 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
|
||
fn version() -> String { | ||
env!("CARGO_PKG_VERSION").to_string() | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
|
||
#[tokio::main] | ||
async fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
mod utils; | ||
mod workspace; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
pub mod env; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
use std::collections::HashMap; | ||
use std::fs::File; | ||
use std::io::Write; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
mod admin_agent; | ||
mod agent; | ||
mod message; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
use std::collections::HashMap; | ||
|
||
use std::sync::Arc; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
use std::fmt::Debug; | ||
|
||
use serde::{Deserialize, Serialize}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
// In message.rs | ||
use serde::{Deserialize, Serialize}; | ||
use sangedama::peer::message::data::NodeMessage; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
use crate::workspace::agent::{ | ||
AgentDetail, ENV_WORKSPACE_ID, ENV_WORKSPACE_IP, ENV_WORKSPACE_PEER, ENV_WORKSPACE_PORT, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
// pub fn setup_env() { | ||
// dotenvy::from_filename(".env").expect("Failed to load .env file"); | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
mod common; | ||
pub mod peer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
mod peer; | ||
|
||
use std::net::Ipv4Addr; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023-2025 SYIGEN LTD. | ||
* Author: Dewmal - [email protected] | ||
* Created: 2025-01-19 | ||
* Ceylon Project - https://github.com/ceylonai/ceylon | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* This file is part of Ceylon Project. | ||
* Original authors: Dewmal - [email protected] | ||
* For questions and support: https://github.com/ceylonai/ceylon/issues | ||
*/ | ||
|
||
mod behaviour; | ||
pub mod message; | ||
pub mod node; | ||
|
Oops, something went wrong.