mirror of https://github.com/fafhrd91/actix-net
				
				
				
			
		
			
				
	
	
	
		
			4.9 KiB
		
	
	
	
	
	
			
		
		
	
	
			4.9 KiB
		
	
	
	
	
	
Changes
Unreleased
- Minimum supported Rust version (MSRV) is now 1.76.
 
2.11.0
- Implement 
ActixStreamfortokio::io::BufReader<IO>. - Deprecate the 
pinre-export. - Minimum supported Rust version (MSRV) is now 1.75.
 
2.10.0
- Relax 
F's bound (Fn => FnOnce) on{Arbiter, System}::with_tokio_rt()functions. - Update 
tokio-uringdependency to0.5. - Minimum supported Rust version (MSRV) is now 1.70.
 
2.9.0
- Add 
actix_rt::System::runtime()method to retrieve the underlyingactix_rt::Runtimeruntime. - Add 
actix_rt::Runtime::tokio_runtime()method to retrieve the underlying Tokio runtime. - Minimum supported Rust version (MSRV) is now 1.65.
 
2.8.0
- Add 
#[track_caller]attribute tospawnfunctions and methods. - Update 
tokio-uringdependency to0.4. - Minimum supported Rust version (MSRV) is now 1.59.
 
2.7.0
- Update 
tokio-uringdependency to0.3. - Minimum supported Rust version (MSRV) is now 1.49.
 
2.6.0
- Update 
tokio-uringdependency to0.2. 
2.5.1
- Expose 
System::with_tokio_rtandArbiter::with_tokio_rt. 
2.5.0
- Add 
System::run_with_codeto allow retrieving the exit code on stop. 
2.4.0
- Add 
Arbiter::try_currentfor situations where thread may or may not have Arbiter context. - Start io-uring with 
System::newwhen feature is enabled. 
2.3.0
- The 
spawnmethod can now resolve with non-unit outputs. - Add experimental (semver-exempt) 
io-uringfeature for enabling async file I/O on linux. 
2.2.0
- BREAKING 
ActixStream::{poll_read_ready, poll_write_ready}methods now returnReadyobject in ok variant.- Breakage is acceptable since 
ActixStreamwas not intended to be public. 
 - Breakage is acceptable since 
 
2.1.0
- Add 
ActixStreamextension trait to include readiness methods. - Re-export 
tokio::net::TcpSocketinnetmodule 
2.0.2
- Add 
Arbiter::handleto get a handle of an owned Arbiter. - Add 
System::try_currentfor situations where actix may or may not be running a System. 
2.0.1
- Expose 
JoinErrorfrom Tokio. 
2.0.0
- Remove all Arbiter-local storage methods.
 - Re-export 
tokio::pin. 
2.0.0-beta.3
- Remove 
run_in_tokio,attach_to_tokioandAsyncSystemRunner. - Return 
JoinHandlefromactix_rt::spawn. - Remove old 
Arbiter::spawn. Implementation is now inlined intoactix_rt::spawn. - Rename 
Arbiter::{send => spawn}andArbiter::{exec_fn => spawn_fn}. - Remove 
Arbiter::exec. - Remove deprecated 
Arbiter::local_joinandArbiter::is_running. Arbiter::spawnnow accepts !Unpin futures.System::newno longer takes arguments.- Remove 
System::with_current. - Remove 
Builder. - Add 
System::with_initas replacement forBuilder::run. - Rename 
System::{is_set => is_registered}. - Add 
ArbiterHandlefor sending messages to non-current-thread arbiters. System::arbiternow returns an&ArbiterHandle.Arbiter::currentnow returns anArbiterHandleinstead.Arbiter::joinnow takes self by value.
2.0.0-beta.2
- Add 
taskmod with re-export oftokio::task::{spawn_blocking, yield_now, JoinHandle} - Add default "macros" feature to allow faster compile times when using 
default-features=false. 
2.0.0-beta.1
- Add 
System::attach_to_tokiomethod. - Update 
tokiodependency to1.0. - Rename 
timemoduledelay_fortosleep,delay_untiltosleep_until,DelaytoSleepto stay aligned with Tokio's naming. - Remove 
'staticlifetime requirement forRuntime::block_onandSystemRunner::block_on.- These methods now accept 
&selfwhen calling. 
 - These methods now accept 
 - Remove 
'staticlifetime requirement forSystem::runandBuilder::run. Arbiter::spawnnow panics whenSystemis not in scope.- Fix work load issue by removing 
PENDINGthread local. 
1.1.1
- Fix memory leak due to
 
1.1.0 (YANKED)
- Expose 
System::is_setto check if current system has ben started - Add 
Arbiter::is_runningto check if event loop is running - Add 
Arbiter::local_joinassociated function to get be able toawaitfor spawned futures 
1.0.0
- Update dependencies
 
1.0.0-alpha.3
- Migrate to tokio 0.2
 - Fix compilation on non-unix platforms
 
1.0.0-alpha.2
- Export 
mainandtestattribute macros - Export 
timemodule (re-export of tokio-timer) - Export 
netmodule (re-export of tokio-net) 
1.0.0-alpha.1
- Migrate to std::future and tokio 0.2
 
0.2.6
- Allow to join arbiter's thread. #60
 - Fix arbiter's thread panic message.
 
0.2.5
- Add arbiter specific storage
 
0.2.4
- Avoid a copy of the Future when initializing the Box. #29
 
0.2.3
- Allow to start System using existing CurrentThread Handle #22
 
0.2.2
- Moved 
blockingmodule toactix-threadpoolcrate 
0.2.1
- Added 
blockingmodule - Added 
Arbiter::exec_fn- execute fn on the arbiter's thread - Added 
Arbiter::exec- execute fn on the arbiter's thread and wait result 
0.2.0
runmethod returnsio::Result<()>- Removed 
Handle 
0.1.0
- Initial release