-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Cargo workspaces to directly include vecmap dependency
- Loading branch information
Showing
47 changed files
with
26,619 additions
and
66 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,69 +1,10 @@ | ||
[package] | ||
name = "reactor_rt" | ||
version = "0.1.0" | ||
authors = ["Clément Fournier <clement.fournier76@gmail.com>"] | ||
edition = "2021" | ||
[workspace] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
log = "0.4" | ||
index_vec = "0.1" | ||
#itertools = "0.10.1" | ||
#bit-set = "0.5" | ||
smallvec = { version = "1.6", features = ["const_generics"] } | ||
petgraph = "0.6" | ||
array-macro = "2.1" | ||
atomic_refcell = "0.1" | ||
crossbeam-utils = "0.8" | ||
crossbeam-channel = { git = "https://github.com/oowekyala/crossbeam.git", rev = "9eed66904f969156dedad4eef61ce91d23b9cccb" } | ||
static_assertions = "1.1.0" | ||
rayon = { version = "1.5", optional = true } | ||
vecmap = { git = "https://github.com/jhaye/vecmap", rev = "94a2709665620ed7847529cd90a44c19ebd8a195" } | ||
cfg-if = "1.0.0" | ||
|
||
[dev-dependencies] | ||
criterion = "0.3" | ||
env_logger = "0.9" | ||
assert_matches = "1.5" | ||
dmsort = "1.0.1" | ||
|
||
[features] | ||
default=["vec-id-sets"] | ||
# Enable the parallel runtime implementation todo make default | ||
parallel-runtime=["rayon"] | ||
# Enables 64-bit wide reaction ids on 64 bit architectures. | ||
# This may reduce performance, but allows for 2^32 reactor | ||
# instances compared to the default of 2^16, which may feel | ||
# a bit tight for some applications. | ||
wide-ids=[] | ||
vec-id-sets=[] | ||
no-unsafe=[] | ||
# used internally for benchmarking, to access private APIs | ||
public-internals=[] | ||
|
||
[[bench]] | ||
name = "savina_pong" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "global_id" | ||
path = "benches/micro/global_id.rs" | ||
required-features = ["public-internals"] | ||
harness = false | ||
|
||
[[bench]] | ||
name = "dmsort" | ||
path = "benches/micro/dmsort.rs" | ||
required-features = ["public-internals"] | ||
harness = false | ||
|
||
[[bench]] | ||
name = "exec_reactions" | ||
path = "benches/micro/exec_reactions.rs" | ||
required-features = ["public-internals"] | ||
harness = false | ||
members = [ | ||
"runtime", | ||
"vecmap", | ||
] | ||
exclude = [ "vecmap/creusot" ] | ||
|
||
[profile.bench] | ||
debug = true | ||
|
||
debug = true |
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[package] | ||
name = "reactor_rt" | ||
version = "0.1.0" | ||
authors = ["Clément Fournier <clement.fournier76@gmail.com>"] | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
log = "0.4" | ||
index_vec = "0.1" | ||
#itertools = "0.10.1" | ||
#bit-set = "0.5" | ||
smallvec = { version = "1.6", features = ["const_generics"] } | ||
petgraph = "0.6" | ||
array-macro = "2.1" | ||
atomic_refcell = "0.1" | ||
crossbeam-utils = "0.8" | ||
crossbeam-channel = { git = "https://github.com/oowekyala/crossbeam.git", rev = "9eed66904f969156dedad4eef61ce91d23b9cccb" } | ||
static_assertions = "1.1.0" | ||
rayon = { version = "1.5", optional = true } | ||
vecmap = { path = "../vecmap" } | ||
cfg-if = "1.0.0" | ||
|
||
[dev-dependencies] | ||
criterion = "0.3" | ||
env_logger = "0.9" | ||
assert_matches = "1.5" | ||
dmsort = "1.0.1" | ||
|
||
[features] | ||
default=["vec-id-sets"] | ||
# Enable the parallel runtime implementation todo make default | ||
parallel-runtime=["rayon"] | ||
# Enables 64-bit wide reaction ids on 64 bit architectures. | ||
# This may reduce performance, but allows for 2^32 reactor | ||
# instances compared to the default of 2^16, which may feel | ||
# a bit tight for some applications. | ||
wide-ids=[] | ||
vec-id-sets=[] | ||
no-unsafe=[] | ||
# used internally for benchmarking, to access private APIs | ||
public-internals=[] | ||
|
||
[[bench]] | ||
name = "savina_pong" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "global_id" | ||
path = "benches/micro/global_id.rs" | ||
required-features = ["public-internals"] | ||
harness = false | ||
|
||
[[bench]] | ||
name = "dmsort" | ||
path = "benches/micro/dmsort.rs" | ||
required-features = ["public-internals"] | ||
harness = false | ||
|
||
[[bench]] | ||
name = "exec_reactions" | ||
path = "benches/micro/exec_reactions.rs" | ||
required-features = ["public-internals"] | ||
harness = false |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
/Cargo.lock |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
name = "vecmap" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] |
Oops, something went wrong.