diff --git a/Cargo.lock b/Cargo.lock index fac1d3938..f02540e4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1615,7 +1615,7 @@ dependencies = [ [[package]] name = "logproof" -version = "0.1.0" +version = "0.8.0" dependencies = [ "ark-ff", "ark-poly", @@ -2486,7 +2486,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "seal_fhe" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bindgen", "cmake", @@ -2705,7 +2705,7 @@ dependencies = [ [[package]] name = "sunscreen" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bincode", "bumpalo", @@ -2737,7 +2737,7 @@ dependencies = [ [[package]] name = "sunscreen_backend" -version = "0.7.0" +version = "0.8.0" dependencies = [ "crossbeam", "env_logger", @@ -2752,7 +2752,7 @@ dependencies = [ [[package]] name = "sunscreen_bulletproofs" -version = "4.0.0" +version = "0.8.0" dependencies = [ "bincode", "byteorder", @@ -2774,7 +2774,7 @@ dependencies = [ [[package]] name = "sunscreen_compiler_common" -version = "0.7.0" +version = "0.8.0" dependencies = [ "petgraph", "proc-macro2", @@ -2788,7 +2788,7 @@ dependencies = [ [[package]] name = "sunscreen_compiler_macros" -version = "0.7.0" +version = "0.8.0" dependencies = [ "proc-macro2", "quote", @@ -2800,7 +2800,7 @@ dependencies = [ [[package]] name = "sunscreen_curve25519" -version = "4.1.1" +version = "0.8.0" dependencies = [ "bincode", "byteorder", @@ -2817,7 +2817,7 @@ dependencies = [ [[package]] name = "sunscreen_fhe_program" -version = "0.7.0" +version = "0.8.0" dependencies = [ "petgraph", "seal_fhe", @@ -2830,7 +2830,7 @@ dependencies = [ [[package]] name = "sunscreen_math" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bytemuck", "criterion 0.5.1", @@ -2856,7 +2856,7 @@ dependencies = [ [[package]] name = "sunscreen_math_macros" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bytemuck", "darling", @@ -2868,7 +2868,7 @@ dependencies = [ [[package]] name = "sunscreen_runtime" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bincode", "crossbeam", @@ -2890,7 +2890,7 @@ dependencies = [ [[package]] name = "sunscreen_zkp_backend" -version = "0.1.0" +version = "0.8.0" dependencies = [ "bumpalo", "crypto-bigint", diff --git a/Cargo.toml b/Cargo.toml index 24b5a17f7..56d4782e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ num = "0.4.1" crypto-bigint = "0.5.2" paste = "1.0.14" thiserror = "1.0.44" -naga = { version = "0.13.0", features = ["wgsl-in"]} +naga = { version = "0.13.0", features = ["wgsl-in"] } wgpu-core = { version = "0.17.0", features = ["vulkan", "wgsl"] } find_cuda_helper = "0.2.0" criterion = "0.5.1" @@ -78,17 +78,24 @@ fs_extra = "1.2.0" reqwest = { version = "0.11.10", features = ["blocking"] } rand_distr = "0.4.3" -curve25519-dalek = { package = "sunscreen_curve25519", path = "./sunscreen_curve25519", features = ["serde", "u64_backend", "alloc"], default-features = false } -bulletproofs = { path = "./sunscreen_bulletproofs", package = "sunscreen_bulletproofs", features = ["yoloproofs"] } - +curve25519-dalek = { package = "sunscreen_curve25519", path = "./sunscreen_curve25519", features = [ + "serde", + "u64_backend", + "alloc", +], default-features = false } +bulletproofs = { path = "./sunscreen_bulletproofs", package = "sunscreen_bulletproofs", features = [ + "yoloproofs", +] } emsdk = { version = "^0.1", path = "./emsdk" } -sunscreen = { version = "0.7", path = "./sunscreen", features = ["bulletproofs"] } -sunscreen_compiler_macros = { version = "0.7", path = "./sunscreen_compiler_macros" } -sunscreen_backend = { version = "0.7", path = "./sunscreen_backend" } -sunscreen_zkp_backend = { path = "./sunscreen_zkp_backend" } -sunscreen_fhe_program = { version = "0.7", path = "./sunscreen_fhe_program" } -sunscreen_runtime = { version = "0.7", path = "./sunscreen_runtime" } -sunscreen_compiler_common = { version = "0.7.0", path = "./sunscreen_compiler_common" } -sunscreen_math = { version = "0.7.0", path = "./sunscreen_math" } -sunscreen_math_macros = { version = "0.7.0", path = "./sunscreen_math_macros" } -seal_fhe = { version = "0.7.0", path = "./seal_fhe" } +sunscreen = { version = "0.8.0", path = "./sunscreen", features = [ + "bulletproofs", +] } +sunscreen_compiler_macros = { version = "0.8.0", path = "./sunscreen_compiler_macros" } +sunscreen_backend = { version = "0.8.0", path = "./sunscreen_backend" } +sunscreen_zkp_backend = { version = "0.8.0", path = "./sunscreen_zkp_backend" } +sunscreen_fhe_program = { version = "0.8.0", path = "./sunscreen_fhe_program" } +sunscreen_runtime = { version = "0.8.0", path = "./sunscreen_runtime" } +sunscreen_compiler_common = { version = "0.8.0", path = "./sunscreen_compiler_common" } +sunscreen_math = { version = "0.8.0", path = "./sunscreen_math" } +sunscreen_math_macros = { version = "0.8.0", path = "./sunscreen_math_macros" } +seal_fhe = { version = "0.8.0", path = "./seal_fhe" } diff --git a/emsdk/crates-io.md b/emsdk/crates-io.md index 30404ce4c..cd0897a78 100644 --- a/emsdk/crates-io.md +++ b/emsdk/crates-io.md @@ -1 +1 @@ -TODO \ No newline at end of file +This crate is a component of the [Sunscreen compiler](https://crates.io/crates/sunscreen). diff --git a/logproof/Cargo.toml b/logproof/Cargo.toml index 0f3e57637..f833e56a2 100644 --- a/logproof/Cargo.toml +++ b/logproof/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logproof" -version = "0.1.0" +version = "0.8.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/seal_fhe/Cargo.toml b/seal_fhe/Cargo.toml index c6f0e6d9f..209f0859d 100644 --- a/seal_fhe/Cargo.toml +++ b/seal_fhe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "seal_fhe" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen LLC"] @@ -23,7 +23,7 @@ thiserror = { workspace = true } static_assertions = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -link-cplusplus= { workspace = true } +link-cplusplus = { workspace = true } [build-dependencies] cmake = { workspace = true } diff --git a/sunscreen/Cargo.toml b/sunscreen/Cargo.toml index cb103f237..d95d8121e 100644 --- a/sunscreen/Cargo.toml +++ b/sunscreen/Cargo.toml @@ -3,7 +3,7 @@ name = "sunscreen" # Read and understand # https://doc.rust-lang.org/cargo/reference/semver.html # before bumping the version. -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen"] diff --git a/sunscreen_backend/Cargo.toml b/sunscreen_backend/Cargo.toml index 454aa5c45..db2e33365 100644 --- a/sunscreen_backend/Cargo.toml +++ b/sunscreen_backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_backend" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen LLC"] diff --git a/sunscreen_bulletproofs b/sunscreen_bulletproofs index baadb622f..ee8a47543 160000 --- a/sunscreen_bulletproofs +++ b/sunscreen_bulletproofs @@ -1 +1 @@ -Subproject commit baadb622f4e6928ef91bea3ef764e7f0275a421e +Subproject commit ee8a47543cb3f71f682fa7a754ef688e99b028fc diff --git a/sunscreen_compiler_common/Cargo.toml b/sunscreen_compiler_common/Cargo.toml index 7dbfe88f2..8a8a66d60 100644 --- a/sunscreen_compiler_common/Cargo.toml +++ b/sunscreen_compiler_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_compiler_common" -version = "0.7.0" +version = "0.8.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -13,4 +13,5 @@ semver = { workspace = true } serde = { workspace = true } syn = { workspace = true } thiserror = { workspace = true } -static_assertions = { workspace = true } \ No newline at end of file +static_assertions = { workspace = true } + diff --git a/sunscreen_compiler_common/crates-io.md b/sunscreen_compiler_common/crates-io.md new file mode 100644 index 000000000..ed939905f --- /dev/null +++ b/sunscreen_compiler_common/crates-io.md @@ -0,0 +1 @@ +This crate is a component of the [Sunscreen compiler](https://crates.io/crates/sunscreen). \ No newline at end of file diff --git a/sunscreen_compiler_macros/Cargo.toml b/sunscreen_compiler_macros/Cargo.toml index 941ccd25c..85994b4e3 100644 --- a/sunscreen_compiler_macros/Cargo.toml +++ b/sunscreen_compiler_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_compiler_macros" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen LLC"] diff --git a/sunscreen_curve25519 b/sunscreen_curve25519 index 8ac8e4343..5d0d87d61 160000 --- a/sunscreen_curve25519 +++ b/sunscreen_curve25519 @@ -1 +1 @@ -Subproject commit 8ac8e434301b88ee9b910b764e50198e6b46ce25 +Subproject commit 5d0d87d6195487db3880f40f30ba8a9dd90f5957 diff --git a/sunscreen_fhe_program/Cargo.toml b/sunscreen_fhe_program/Cargo.toml index 89c76d245..9dd8f9a15 100644 --- a/sunscreen_fhe_program/Cargo.toml +++ b/sunscreen_fhe_program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_fhe_program" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen"] @@ -25,4 +25,5 @@ sunscreen_compiler_common = { workspace = true } thiserror = { workspace = true } [dev-dependencies] -serde_json = { workspace = true } \ No newline at end of file +serde_json = { workspace = true } + diff --git a/sunscreen_math/Cargo.toml b/sunscreen_math/Cargo.toml index 9de17eb38..d894378ea 100644 --- a/sunscreen_math/Cargo.toml +++ b/sunscreen_math/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_math" -version = "0.7.0" +version = "0.8.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -20,7 +20,7 @@ cust = { workspace = true, optional = true } num = { workspace = true } crypto-bigint = { workspace = true } paste = { workspace = true } -thiserror = {workspace = true } +thiserror = { workspace = true } sunscreen_math_macros = { workspace = true } [build-dependencies] @@ -38,7 +38,15 @@ default = [] nightly-features = [] cuda = ["dep:find_cuda_helper", "dep:cust", "gpu"] metal = ["dep:metal", "gpu"] -webgpu = ["dep:wgpu", "dep:tokio", "dep:futures", "dep:naga", "dep:wgpu-core", "dep:bytemuck", "gpu"] +webgpu = [ + "dep:wgpu", + "dep:tokio", + "dep:futures", + "dep:naga", + "dep:wgpu-core", + "dep:bytemuck", + "gpu", +] opencl = ["dep:ocl", "gpu"] gpu = [] pina = [] diff --git a/sunscreen_math/crates-io.md b/sunscreen_math/crates-io.md new file mode 100644 index 000000000..ed939905f --- /dev/null +++ b/sunscreen_math/crates-io.md @@ -0,0 +1 @@ +This crate is a component of the [Sunscreen compiler](https://crates.io/crates/sunscreen). \ No newline at end of file diff --git a/sunscreen_math_macros/Cargo.toml b/sunscreen_math_macros/Cargo.toml index 83bc3d50f..29266a469 100644 --- a/sunscreen_math_macros/Cargo.toml +++ b/sunscreen_math_macros/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "sunscreen_math_macros" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen LLC"] rust-version = "1.56.0" license = "AGPL-3.0-only" -description = "This crate contains macros that support the Sunscreen compiler.." +description = "This crate contains macros that support the Sunscreen compiler." homepage = "https://sunscreen.tech" repository = "https://github.com/Sunscreen-tech/Sunscreen" documentation = "https://docs.sunscreen.tech" diff --git a/sunscreen_runtime/Cargo.toml b/sunscreen_runtime/Cargo.toml index 49146c92a..e45a3dcea 100644 --- a/sunscreen_runtime/Cargo.toml +++ b/sunscreen_runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_runtime" -version = "0.7.0" +version = "0.8.0" edition = "2021" authors = ["Sunscreen LLC"] diff --git a/sunscreen_zkp_backend/Cargo.toml b/sunscreen_zkp_backend/Cargo.toml index 2032f6116..434ff4386 100644 --- a/sunscreen_zkp_backend/Cargo.toml +++ b/sunscreen_zkp_backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sunscreen_zkp_backend" -version = "0.1.0" +version = "0.8.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -8,8 +8,8 @@ edition = "2021" [dependencies] curve25519-dalek = { workspace = true } bulletproofs = { workspace = true, optional = true } -crypto-bigint = { workspace = true} -merlin = { workspace = true, optional = true} +crypto-bigint = { workspace = true } +merlin = { workspace = true, optional = true } bumpalo = { workspace = true } petgraph = { workspace = true } sunscreen_compiler_common = { workspace = true } @@ -20,7 +20,4 @@ log = { workspace = true } [features] default = ["bulletproofs"] -bulletproofs = [ - "dep:bulletproofs", - "dep:merlin" -] +bulletproofs = ["dep:bulletproofs", "dep:merlin"] diff --git a/sunscreen_zkp_backend/crates-io.md b/sunscreen_zkp_backend/crates-io.md new file mode 100644 index 000000000..ed939905f --- /dev/null +++ b/sunscreen_zkp_backend/crates-io.md @@ -0,0 +1 @@ +This crate is a component of the [Sunscreen compiler](https://crates.io/crates/sunscreen). \ No newline at end of file