Skip to content

Commit f4aeed9

Browse files
authored
Merge pull request #3 from sers-dev/rename_crate
rename crate to tyra
2 parents 2878ec1 + 3692353 commit f4aeed9

File tree

20 files changed

+85
-78
lines changed

20 files changed

+85
-78
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 0.3.0
2+
3+
- renamed to `tyra`
4+
- equal to `tyractorsaur` release `0.2.0`
5+
- all releases before `0.2.0` will still be available as `tyractorsaur`, but will not be migrated to `tyra`
6+
- all releases after this one will only be available as `tyra`
7+
18
# 0.2.0
29

310
- add documentation link to metadata
@@ -112,7 +119,7 @@ Although a lot of work went into Refactoring of the public facing API, please do
112119

113120
# 0.0.1
114121

115-
- initial release. Each published release on https://crates.io/crates/tyractorsaur will be tracked in GitHub releases
122+
- initial release. Each published release on https://crates.io/crates/tyra will be tracked in GitHub releases
116123
- core functionality is working
117124
- create system and spawn pools
118125
- create actors and add them into pools of the existing system

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
2-
name = "tyractorsaur"
3-
version = "0.2.0"
2+
name = "tyra"
3+
version = "0.3.0"
44
authors = ["sers.dev <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/sers-dev/tyractorsaur"
8-
homepage = "https://github.com/sers-dev/tyractorsaur"
9-
documentation = "https://docs.rs/tyractorsaur"
7+
repository = "https://github.com/sers-dev/tyra"
8+
homepage = "https://github.com/sers-dev/tyra"
9+
documentation = "https://docs.rs/tyra"
1010
description = "Typed Actor System"
11-
keywords = ["typed", "actor", "scaling", "concurrency", "tyractorsaur"]
11+
keywords = ["typed", "actor", "scaling", "concurrency", "tyra"]
1212
categories = ["network-programming", "asynchronous", "concurrency"]
1313
exclude = ["/.github", ".gitignore"]
1414

1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1616
[lib]
17-
name = "tyractorsaur"
17+
name = "tyra"
1818
path = "src/lib.rs"
1919

2020
[dependencies]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Tyractorsaur (TYped Rust ACTOR "SAUR")
1+
# Tyra (TYped Rust Actor)
22

3-
`Tyractorsaur` is a cross platform Typed Actor System Written in Rust.
3+
`Tyra` is a cross platform Typed Actor System Written in Rust.
44

55

66
## Current State
77

88
It is `NOT` production ready.
9-
`Tyractorsaur` is in very early development steps.
9+
`Tyra` is in very early development steps.
1010
The current development status can be tracked in the [CHANGELOG.md](CHANGELOG.md)
1111

1212

1313
## Documentation
1414

15-
[docs.rs](https://docs.rs/tyractorsaur/) or generate your own with `cargo doc`
15+
[docs.rs](https://docs.rs/tyra/) or generate your own with `cargo doc`
1616

1717

1818
## License

examples/actor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::process::exit;
22
use std::time::Duration;
3-
use tyractorsaur::prelude::{
4-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
3+
use tyra::prelude::{
4+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
55
};
66

77
struct MessageA {
@@ -57,7 +57,7 @@ impl Handler<MessageB> for HelloWorld {
5757
}
5858

5959
fn main() {
60-
let actor_config = TyractorsaurConfig::new().unwrap();
60+
let actor_config = TyraConfig::new().unwrap();
6161
let actor_system = ActorSystem::new(actor_config);
6262

6363
actor_system.add_pool("aye");

examples/benchmark.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::process::exit;
22
use std::thread::sleep;
33
use std::time::{Duration, Instant};
4-
use tyractorsaur::prelude::{
5-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
4+
use tyra::prelude::{
5+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
66
};
77

88
struct MessageA {}
@@ -73,7 +73,7 @@ impl Handler<MessageA> for Benchmark {
7373
}
7474

7575
fn main() {
76-
let actor_config = TyractorsaurConfig::new().unwrap();
76+
let actor_config = TyraConfig::new().unwrap();
7777
let actor_system = ActorSystem::new(actor_config);
7878

7979
let message_count = 10000000;

examples/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::process::exit;
22
use std::time::Duration;
3-
use tyractorsaur::prelude::{
4-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
3+
use tyra::prelude::{
4+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
55
};
66

77
#[derive(Clone)]
@@ -44,7 +44,7 @@ impl ActorFactory<ErrActor> for ErrActorFactory {
4444
}
4545

4646
fn main() {
47-
let actor_config = TyractorsaurConfig::new().unwrap();
47+
let actor_config = TyraConfig::new().unwrap();
4848
let actor_system = ActorSystem::new(actor_config);
4949

5050
let hw = ErrActorFactory {

examples/router.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use std::process::exit;
22
use std::thread::sleep;
33
use std::time::Duration;
4-
use tyractorsaur::prelude::{
5-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
4+
use tyra::prelude::{
5+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
66
};
7-
use tyractorsaur::router::{
7+
use tyra::router::{
88
AddActorMessage, RemoveActorMessage, RoundRobinRouterFactory, RouterMessage,
99
};
1010

@@ -32,7 +32,7 @@ impl Handler<MessageA> for HelloWorld {
3232
}
3333

3434
fn main() {
35-
let actor_config = TyractorsaurConfig::new().unwrap();
35+
let actor_config = TyraConfig::new().unwrap();
3636
let actor_system = ActorSystem::new(actor_config);
3737

3838
let hw = HelloWorldFactory {};

examples/sleep.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::process::exit;
22
use std::thread::sleep;
33
use std::time::Duration;
4-
use tyractorsaur::prelude::{
5-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
4+
use tyra::prelude::{
5+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
66
};
77

88
#[derive(Clone)]
@@ -47,7 +47,7 @@ impl ActorFactory<SleepActor> for SleepActorFactory {
4747
}
4848

4949
fn main() {
50-
let actor_config = TyractorsaurConfig::new().unwrap();
50+
let actor_config = TyraConfig::new().unwrap();
5151
let actor_system = ActorSystem::new(actor_config);
5252

5353
let hw = SleepActorFactory {

examples/stop.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::process::exit;
22
use std::thread::sleep;
33
use std::time::Duration;
4-
use tyractorsaur::prelude::{
5-
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyractorsaurConfig,
4+
use tyra::prelude::{
5+
Actor, ActorFactory, ActorMessage, ActorSystem, ActorContext, Handler, TyraConfig,
66
};
77

88
#[derive(Clone)]
@@ -42,7 +42,7 @@ impl ActorFactory<StopActor> for StopActorFactory {
4242
}
4343

4444
fn main() {
45-
let actor_config = TyractorsaurConfig::new().unwrap();
45+
let actor_config = TyraConfig::new().unwrap();
4646
let actor_system = ActorSystem::new(actor_config);
4747

4848
let hw = StopActorFactory {};

src/actor/actor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use std::panic::UnwindSafe;
1818
/// Basic usage:
1919
///
2020
/// ```rust
21-
/// use tyractorsaur::prelude::{TyractorsaurConfig, ActorSystem, Actor, ActorFactory, ActorContext, SerializedMessage};
21+
/// use tyra::prelude::{TyraConfig, ActorSystem, Actor, ActorFactory, ActorContext, SerializedMessage};
2222
///
2323
/// struct TestActor {}
2424
///

0 commit comments

Comments
 (0)