Skip to content

Commit

Permalink
rust is kind of cool, actually
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Oct 21, 2022
1 parent 27b4fea commit 878bff5
Show file tree
Hide file tree
Showing 22 changed files with 421 additions and 120 deletions.
129 changes: 77 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 8 additions & 51 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,55 +1,12 @@
[package]
name = "auxmos"
version = "1.1.1"
authors = ["Putnam <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["auxcleanup_gas_deletion", "turf_processing"]
auxcleanup_gas_deletion = ["auxcleanup"]
zas_hooks = []
turf_processing = []
equalization = ["turf_processing"]
monstermos = ["equalization"]
putnamos = ["equalization"]
katmos = ["equalization"]
reaction_hooks = []
plasma_fire_hook = ["reaction_hooks"]
trit_fire_hook = ["reaction_hooks"]
fusion_hook = ["reaction_hooks"]
generic_fire_hook = ["reaction_hooks"]
all_reaction_hooks = ["fusion_hook", "trit_fire_hook", "plasma_fire_hook", "generic_fire_hook"]
explosive_decompression = ["monstermos"]
putnamos_decompression = ["putnamos"]

[lib]
crate-type = ["cdylib"]

[dependencies]
auxtools = { git = "https://github.com/willox/auxtools"}
auxcallback = { git = "https://github.com/Putnam3145/auxcallback" }
auxcleanup = { git = "https://github.com/Putnam3145/auxcleanup", optional = true}
itertools = "0.10.3"
rayon = "1.5.1"
float-ord = "0.3.2"
crossbeam = "0.8.1"
flume = "0.10.11"
parking_lot = "0.12.0"
fxhash = "0.2.1"
nonmax = "0.5.0"
ahash = "0.7.6"
lazy_static = "1.4.0"
indexmap = { version = "1.8.0", features = ["rayon"] }
dashmap = { version = "5.2.0", features = ["rayon"] }
atomic_float = "0.1.0"

[dependencies.tinyvec]
version = "1.5.1"
features = ["rustc_1_55", "alloc"]
[workspace]
members = [
"crates/auxmos",
"crates/auxcleanup",
"crates/auxcallback",
]

[profile.release]
lto = 'thin'
lto = 'fat'
debug = true
codegen-units = 1
panic = 'abort'
14 changes: 14 additions & 0 deletions crates/auxcallback/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "auxcallback"
version = "0.2.1"
authors = ["Putnam <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["lib"]

[dependencies]
auxtools = { git = "https://github.com/willox/auxtools" }
flume = "0.10.13"
Loading

0 comments on commit 878bff5

Please sign in to comment.