Skip to content

Commit

Permalink
Merge pull request #43 from sentclose/crypto-rewrite
Browse files Browse the repository at this point in the history
Crypto rewrite
  • Loading branch information
joernheinemann authored Jun 17, 2024
2 parents 6be3506 + 4f1a6fa commit 10c7cea
Show file tree
Hide file tree
Showing 105 changed files with 5,720 additions and 5,992 deletions.
26 changes: 0 additions & 26 deletions Cargo.lock

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

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ resolver = "2"
members = [
"crypto",
"crypto_core",
"crypto_full",
"crypto_utils",
"crypto_light",
"crypto_light_full",
"implementation/js/sentc_wasm",
"implementation/js/sentc_wasm_light",
"implementation/dart/sentc_flutter_rust",
Expand All @@ -21,6 +19,7 @@ authors = ["Sentclose <[email protected]>", "Jörn Heinemann <j.heinemann@se
homepage = "https://sentc.com/"
documentation = "https://sentc.com/"
repository = "https://github.com/sentclose/sentc"
rust-version = "1.75.0"

[workspace.dependencies]
sentc-crypto-common = { version = "0.10.0", git = "https://github.com/sentclose/sentc-common.git", rev = "de513a82b0200b476d9592ba1de38c73c6a32354" }
Expand All @@ -29,9 +28,7 @@ sentc-crypto-common = { version = "0.10.0", git = "https://github.com/sentclose/
sentc-crypto-core = { version = "0.12.0", path = "crypto_core" }
sentc-crypto-utils = { version = "0.12.0", path = "crypto_utils" }
sentc-crypto = { version = "0.12.0", path = "crypto", default-features = false }
sentc-crypto-full = { version = "0.12.0", path = "crypto_full", default-features = false }
sentc-crypto-light = { version = "0.12.0", path = "crypto_light", default-features = false }
sentc-crypto-light-full = { version = "0.12.0", path = "crypto_light_full", default-features = false }

[profile.dev]
# Must always use panic = "abort" to avoid needing to define the unstable eh_personality lang item.
Expand Down
9 changes: 6 additions & 3 deletions crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ homepage.workspace = true
authors.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true

description = "The main implementation of the sentc sdk."

Expand All @@ -30,8 +31,10 @@ serde_json = { version = "1.0.81", default-features = false, features = ["alloc"
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }

[features]
default = []
rust = []
export = []

server = []
server_test = []
server_test = []

full_rustls = ["sentc-crypto-utils/crypto_full", "sentc-crypto-utils/rustls"]
full_wasm = ["sentc-crypto-utils/crypto_full", "sentc-crypto-utils/wasm"]
Loading

0 comments on commit 10c7cea

Please sign in to comment.